[PATCH 0/2] KVM: arm64: PSCI relay fixes
Mark Rutland
mark.rutland at arm.com
Thu Feb 27 10:05:24 PST 2025
These patches fix some missing initialization in the PSCI relay code
which can result in host kernel crashes shortly after entering the cold
entry points used by PSCI CPU_ON, CPU_SUSPEND, and SYSTEM_SUSPEND.
The SCTLR_EL1 issue was originally reported by Leo Yan and debugged by
Ahmed Genidi. While looking at Ahmed's patch I spotted a more general
issue with E2H, so I've fixed that up with patch 1, and I've tweaked his
patch accordingly. Any errors there are my fault.
The series is based on v6.14-rc3.
Mark.
Ahmed Genidi (1):
KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()
Mark Rutland (1):
KVM: arm64: Initialize HCR_EL2.E2H early
arch/arm64/include/asm/el2_setup.h | 31 +++++++++++++++++++++++-----
arch/arm64/kernel/head.S | 22 +++-----------------
arch/arm64/kvm/hyp/nvhe/hyp-init.S | 10 ++++++---
arch/arm64/kvm/hyp/nvhe/psci-relay.c | 3 +++
4 files changed, 39 insertions(+), 27 deletions(-)
--
2.30.2
More information about the linux-arm-kernel
mailing list