Home
last modified time | relevance | path

Searched refs:untrusted (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_validate.c53 void *untrusted
135 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
137 /* Note that the untrusted pointer passed to these functions is in validate_bin_pos()
140 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
216 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) { in validate_flush()
245 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) { in validate_increment_semaphore()
259 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_indexed_prim_list()
260 uint32_t offset = *(uint32_t *)(untrusted + 5); in validate_indexed_prim_list()
261 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list()
262 uint32_t index_size = (*(uint8_t *)(untrusted in validate_indexed_prim_list()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_validate.c53 void *untrusted
139 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
141 /* Note that the untrusted pointer passed to these functions is in validate_bin_pos()
144 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
224 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) { in validate_flush()
253 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) { in validate_increment_semaphore()
267 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_indexed_prim_list()
268 uint32_t offset = *(uint32_t *)(untrusted + 5); in validate_indexed_prim_list()
269 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list()
270 uint32_t index_size = (*(uint8_t *)(untrusted in validate_indexed_prim_list()
[all...]
/kernel/linux/common_modules/code_sign/
H A Dverify_cert_chain.c139 goto untrusted; in code_sign_verify_certchain()
180 goto untrusted; in code_sign_verify_certchain()
182 goto untrusted; in code_sign_verify_certchain()
217 untrusted: in code_sign_verify_certchain()
/kernel/linux/linux-5.10/drivers/pci/
H A Dats.c45 return (dev->untrusted == 0); in pci_ats_supported()
H A Dprobe.c1575 * If the upstream bridge is untrusted we treat this device in set_pcie_untrusted()
1576 * untrusted as well. in set_pcie_untrusted()
1579 if (parent && (parent->untrusted || parent->external_facing)) in set_pcie_untrusted()
1580 dev->untrusted = true; in set_pcie_untrusted()
H A Dpci.c886 if (dev->external_facing || dev->untrusted) in pci_std_enable_acs()
H A Dquirks.c5164 * if dev->external_facing || dev->untrusted
5205 if (dev->external_facing || dev->untrusted) in pci_quirk_enable_intel_spt_pch_acs()
/kernel/linux/linux-6.6/drivers/pci/
H A Dats.c45 return (dev->untrusted == 0); in pci_ats_supported()
H A Dprobe.c1608 * If the upstream bridge is untrusted we treat this device in set_pcie_untrusted()
1609 * untrusted as well. in set_pcie_untrusted()
1612 if (parent && (parent->untrusted || parent->external_facing)) in set_pcie_untrusted()
1613 dev->untrusted = true; in set_pcie_untrusted()
H A Dquirks.c5267 * if dev->external_facing || dev->untrusted
5308 if (pci_ats_disabled() || dev->external_facing || dev->untrusted) in pci_quirk_enable_intel_spt_pch_acs()
H A Dpci.c979 if (pci_ats_disabled() || dev->external_facing || dev->untrusted) in pci_std_enable_acs()
/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Diommu.c386 to_pci_dev(d)->untrusted)
3009 * Prevent any device marked as untrusted from getting in device_def_domain_type()
3012 if (pdev->untrusted) in device_def_domain_type()
3670 if (intel_iommu_strict || (pdev && pdev->untrusted) || in intel_unmap()
4914 * map for all devices except those marked as being untrusted. in platform_optin_force_iommu()
6166 * marked as untrusted. Such devices should not be able to apply quirks and
6171 if (pdev->untrusted) { in risky_device()
6173 "Skipping IOMMU quirk for dev [%04X:%04X] on untrusted PCI link\n", in risky_device()
/kernel/linux/linux-5.10/include/linux/
H A Dpci.h431 * Devices marked being untrusted are the ones that can potentially
437 unsigned int untrusted:1; member
/kernel/linux/linux-6.6/drivers/iommu/
H A Ddma-iommu.c521 return dev_is_pci(dev) && to_pci_dev(dev)->untrusted; in dev_is_untrusted()
H A Diommu.c1722 if (dev_is_pci(dev) && to_pci_dev(dev)->untrusted) in iommu_get_def_domain_type()
2261 * members, but we wish to group them at a higher level (ex. untrusted
/kernel/linux/linux-6.6/include/linux/
H A Dpci.h445 * Devices marked being untrusted are the ones that can potentially
451 unsigned int untrusted:1; member
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Diommu.c3717 * map for all devices except those marked as being untrusted. in platform_optin_force_iommu()
4654 * marked as untrusted. Such devices should not be able to apply quirks and
4659 if (pdev->untrusted) { in risky_device()
4661 "Skipping IOMMU quirk for dev [%04X:%04X] on untrusted PCI link\n", in risky_device()

Completed in 119 milliseconds