diff options
author | Lianbo Jiang <lijiang@redhat.com> | 2018-09-30 11:10:32 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-10-06 12:08:24 +0200 |
commit | 8780158cf977ea5f9912931a30b3d575b36dba22 (patch) | |
tree | f1ec4f6d18241336803ed720f22ee80cbdf6bd19 /fs/proc | |
parent | 9cf38d5559e813cccdba8b44c82cc46ba48d0896 (diff) | |
download | linux-8780158cf977ea5f9912931a30b3d575b36dba22.tar.gz linux-8780158cf977ea5f9912931a30b3d575b36dba22.tar.bz2 linux-8780158cf977ea5f9912931a30b3d575b36dba22.zip |
iommu/amd: Remap the IOMMU device table with the memory encryption mask for kdump
The kdump kernel copies the IOMMU device table from the old device table
which is encrypted when SME is enabled in the first kernel. So remap the
old device table with the memory encryption mask in the kdump kernel.
[ bp: Massage commit message. ]
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
Cc: kexec@lists.infradead.org
Cc: tglx@linutronix.de
Cc: mingo@redhat.com
Cc: hpa@zytor.com
Cc: akpm@linux-foundation.org
Cc: dan.j.williams@intel.com
Cc: bhelgaas@google.com
Cc: baiyaowei@cmss.chinamobile.com
Cc: tiwai@suse.de
Cc: brijesh.singh@amd.com
Cc: dyoung@redhat.com
Cc: bhe@redhat.com
Link: https://lkml.kernel.org/r/20180930031033.22110-4-lijiang@redhat.com
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions