diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-08-24 12:54:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-17 13:47:49 +0200 |
commit | 104bc6027b27ddde516167df7add650789b06968 (patch) | |
tree | 093d08d374573ad3478eea3d5ebf03f466ce082f /kernel/cred.c | |
parent | cab731c6c873aac2a478659c0880674b44a0e5cb (diff) | |
download | linux-stable-104bc6027b27ddde516167df7add650789b06968.tar.gz linux-stable-104bc6027b27ddde516167df7add650789b06968.tar.bz2 linux-stable-104bc6027b27ddde516167df7add650789b06968.zip |
iommu/amd: Do not use IOMMUv2 functionality when SME is active
[ Upstream commit 2822e582501b65707089b097e773e6fd70774841 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions