[PATCH 0/5] KVM: arm64: pkvm; Rework aspects of the PSCI relay

Marc Zyngier maz at kernel.org
Sat Mar 21 14:24:14 PDT 2026


Having recently spent some quality time debugging [1], I ended up
reading too much of the PSCI relay code and felt that it could do with
a bit of spring cleaning.

To be clear, this series doesn't really fix anything. It simply adjust
things to my own taste, which may or may not be everyone's.

Comments appreciated,

Marc Zyngier (5):
  KVM: arm64: pkvm: Move error handling to the end of kvm_hyp_cpu_entry
  KVM: arm64: pkvm: Simplify BTI handling on CPU boot
  KVM: arm64: pkvm: Turn __kvm_hyp_init_cpu into an inner label
  KVM: arm64: pkvm: Use direct function pointers for cpu_{on,resume}
  KVM: arm64: Remove extra ISBs when using msr_hcr_el2

 arch/arm64/include/asm/el2_setup.h   |  2 --
 arch/arm64/include/asm/kvm_asm.h     |  3 +-
 arch/arm64/include/asm/sysreg.h      |  6 ++--
 arch/arm64/kernel/hyp-stub.S         |  1 -
 arch/arm64/kvm/hyp/nvhe/host.S       | 11 --------
 arch/arm64/kvm/hyp/nvhe/hyp-init.S   | 41 ++++++++++------------------
 arch/arm64/kvm/hyp/nvhe/psci-relay.c | 39 ++++++++++++++++----------
 7 files changed, 43 insertions(+), 60 deletions(-)

-- 
2.47.3




More information about the linux-arm-kernel mailing list