diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-04-25 15:42:03 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-04-28 11:30:25 +0300 |
commit | d0be55fbeb6ac694d15af5d1aad19cdec8cd64e5 (patch) | |
tree | 24b64d583945f54de090dc464a7e8ac23a23ce1b /drivers/thunderbolt | |
parent | ed36d04e8f8d7b00db451b0fa56a54e8e02ec43e (diff) | |
download | linux-d0be55fbeb6ac694d15af5d1aad19cdec8cd64e5.tar.xz |
iommu: Add capability for pre-boot DMA protection
VT-d's dmar_platform_optin() actually represents a combination of
properties fairly well standardised by Microsoft as "Pre-boot DMA
Protection" and "Kernel DMA Protection"[1]. As such, we can provide
interested consumers with an abstracted capability rather than
driver-specific interfaces that won't scale. We name it for the former
aspect since that's what external callers are most likely to be
interested in; the latter is for the IOMMU layer to handle itself.
[1] https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-kernel-dma-protection
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/d6218dff2702472da80db6aec2c9589010684551.1650878781.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions