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

Fuad Tabba tabba at google.com
Sun Mar 22 08:57:05 PDT 2026


On Sat, 21 Mar 2026 at 21:24, Marc Zyngier <maz at kernel.org> wrote:
>
> 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,

With the copy-pasta fix to patch 4:

Tested-by: Fuad Tabba <tabba at google.com>
Reviewed-by: Fuad Tabba <tabba at google.com>

Cheers,
/fuad

>
> 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