summaryrefslogtreecommitdiff
path: root/scripts/ld-version.sh
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2017-10-06 16:35:40 -0500
committerJoerg Roedel <jroedel@suse.de>2017-10-10 19:49:30 +0200
commitaba2d9a6385a5cc4f7a7e8eb5788e1ddbc213fc0 (patch)
tree6cfb500a8efede70d0f23bfa6de5364547afd41d /scripts/ld-version.sh
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff)
iommu/amd: Do not disable SWIOTLB if SME is active
When SME memory encryption is active it will rely on SWIOTLB to handle DMA for devices that cannot support the addressing requirements of having the encryption mask set in the physical address. The IOMMU currently disables SWIOTLB if it is not running in passthrough mode. This is not desired as non-PCI devices attempting DMA may fail. Update the code to check if SME is active and not disable SWIOTLB. Fixes: 2543a786aa25 ("iommu/amd: Allow the AMD IOMMU to work with memory encryption") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/ld-version.sh')
0 files changed, 0 insertions, 0 deletions