summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-10-12 17:15:20 +0100
committerMarc Zyngier <maz@kernel.org>2026-10-17 17:12:01 +0100
commitecb6b43cd22245296d910cb392594c9e33691b87 (patch)
tree387d7cfa28f1db040a0e6400eac646d4920c742d /scripts/basic/split-include.c
parent09d5e940500c2e51b697a0522c54132c1ef078ef (diff)
downloadlinux-ecb6b43cd22245296d910cb392594c9e33691b87.tar.gz
linux-ecb6b43cd22245296d910cb392594c9e33691b87.zip
KVM: arm64: Reject the GICv5 CPU interface hypercalls under pKVM
__vgic_v5_save_apr() and __vgic_v5_restore_vmcr_apr() remain callable once pKVM has finalised. pKVM never registers a GICv5 vgic, so neither has a valid caller in protected mode, and on a GICv3 machine both reach a register that is UNDEFINED at EL2 and panic the hypervisor. Move both into the band the dispatcher rejects once pKVM has finalised. [maz: Dropped hyp-main.c changes] Fixes: af325e87af5da ("KVM: arm64: gic-v5: Add vgic-v5 save/restore hyp interface") Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261012161524.4016464-2-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions