diff options
author | Lianbo Jiang <[email protected]> | 2019-04-30 15:44:20 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-06-20 10:07:12 +0200 |
commit | 85784d16c2cf172cf1ebaf2390d6b7c4045d659c (patch) | |
tree | a7b8c64ae08e42e470c2bec23b8a9916b760f629 /arch/parisc/kernel/patch.c | |
parent | 1a79c1b8a04153c4c387518967ce851f89e22733 (diff) |
x86/kexec: Set the C-bit in the identity map page table when SEV is active
When SEV is active, the second kernel image is loaded into encrypted
memory. For that, make sure that when kexec builds the identity mapping
page table, the memory is encrypted (i.e., _PAGE_ENC is set).
[ bp: Sort local args and OR in _PAGE_ENC for more clarity. ]
Co-developed-by: Brijesh Singh <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Lianbo Jiang <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/parisc/kernel/patch.c')
0 files changed, 0 insertions, 0 deletions