[PATCH 0/2] x86/snp: Add kexec support

Ashish Kalra posted 2 patches 1 year, 11 months ago
There is a newer version of this series
arch/x86/include/asm/probe_roms.h |   1 +
arch/x86/include/asm/sev.h        |   8 ++
arch/x86/kernel/probe_roms.c      |  16 +++
arch/x86/kernel/sev.c             | 211 ++++++++++++++++++++++++++++++
arch/x86/mm/init_64.c             |   4 +-
arch/x86/mm/mem_encrypt_amd.c     |  18 ++-
6 files changed, 256 insertions(+), 2 deletions(-)
[PATCH 0/2] x86/snp: Add kexec support
Posted by Ashish Kalra 1 year, 11 months ago
From: Ashish Kalra <ashish.kalra@amd.com>

The patchset adds bits and pieces to get kexec (and crashkernel) work on
SNP guest.

This patchset requires [1] for chained guest kexec to work correctly.

[1]: https://lore.kernel.org/lkml/20240219225451.787816-1-Ashish.Kalra@amd.com/

Ashish Kalra (2):
  x86/mm: Do not zap PMD entry mapping unaccepted memory table during
    kdump.
  x86/snp: Convert shared memory back to private on kexec

 arch/x86/include/asm/probe_roms.h |   1 +
 arch/x86/include/asm/sev.h        |   8 ++
 arch/x86/kernel/probe_roms.c      |  16 +++
 arch/x86/kernel/sev.c             | 211 ++++++++++++++++++++++++++++++
 arch/x86/mm/init_64.c             |   4 +-
 arch/x86/mm/mem_encrypt_amd.c     |  18 ++-
 6 files changed, 256 insertions(+), 2 deletions(-)

-- 
2.34.1