Commit 4f46ea1
amd_iommu: remap the device table of IOMMU with the memory encryption mask for kdump
Orabug: 28796835
In kdump kernel, it will copy the device table of IOMMU from the old device
table, which is encrypted when SME is enabled in the first kernel. So we
have to remap the old device table with the memory encryption mask.
Signed-off-by: Lianbo Jiang <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Signed-off-by: Dan Duval <[email protected]>
Reviewed-by: Henry Willard <[email protected]>1 parent aac4849 commit 4f46ea1
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
906 | 912 | | |
907 | 913 | | |
908 | 914 | | |
909 | 915 | | |
910 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
911 | 921 | | |
912 | 922 | | |
913 | 923 | | |
| |||
0 commit comments