]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Do not use IOMMUv2 functionality when SME is active
authorJoerg Roedel <jroedel@suse.de>
Mon, 24 Aug 2020 10:54:15 +0000 (12:54 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 4 Sep 2020 10:07:08 +0000 (12:07 +0200)
commitb83ba817f495d2838e265fb1582c4936ae76ae3c
treebd28e8837fcb61baed583a7b4486aa57121965c3
parent2b266b47223f923dc0c4ea819b684a34f4eaff77
iommu/amd: Do not use IOMMUv2 functionality when SME is active

When memory encryption is active the device is likely not in a direct
mapped domain. Forbid using IOMMUv2 functionality for now until finer
grained checks for this have been implemented.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200824105415.21000-3-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu_v2.c