[SRU][N:intel][PATCH 0/8] Support Kexec/Kdump
Thibault Ferrante
thibault.ferrante at canonical.com
Wed Jun 26 13:52:24 UTC 2024
BugLink: https://bugs.launchpad.net/bugs/2070356
[ Impact ]
Kexec is currently disabled on linux-intel as it was incompatible with tdx.
These patch make it possible to use it at the same time than TDX
[ Fix ]
A backport of the kexec enablement for tdx on 6.8 has been done by intel.
[ Test Plan ]
Use kexec to do a kdump on hardware support tdx.
It was tested by Intel and me on dedicated hardware.
[ Where problems could occur ]
Regression on TDX/Kexec related features.
Gerd Hoffmann (2):
UBUNTU: SAUCE: KVM: x86: Don't advertise guest.MAXPHYADDR as
host.MAXPHYADDR in CPUID
UBUNTU: SAUCE: KVM: x86: Advertise max mappable GPA in
CPUID.0x80000008.GuestPhysBits
Kai Huang (5):
UBUNTU: SAUCE: x86/kexec: do unconditional WBINVD for bare-metal in
stop_this_cpu()
UBUNTU: SAUCE: x86/kexec: do unconditional WBINVD for bare-metal in
relocate_kernel()
UBUNTU: SAUCE: x86/kexec: Reset TDX private memory on platforms with
TDX erratum
UBUNTU: SAUCE: x86/virt/tdx: Remove the !KEXEC_CORE dependency
UBUNTU: SAUCE: x86/virt/tdx: Add TDX memory reset notifier to reset
other private pages
Thibault Ferrante (1):
UBUNTU: [Config] intel: Enable KEXEC/KDUMP related config
arch/x86/Kconfig | 1 -
arch/x86/include/asm/kexec.h | 2 +-
arch/x86/include/asm/tdx.h | 16 +++++
arch/x86/kernel/machine_kexec_64.c | 29 ++++++--
arch/x86/kernel/process.c | 19 +++--
arch/x86/kernel/relocate_kernel_64.S | 19 +++--
arch/x86/kvm/cpuid.c | 41 ++++++++---
arch/x86/kvm/mmu.h | 2 +
arch/x86/kvm/mmu/mmu.c | 5 ++
arch/x86/virt/vmx/tdx/tdx.c | 100 +++++++++++++++++++++++++++
debian.intel/config/annotations | 30 --------
11 files changed, 203 insertions(+), 61 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list