Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KVM: arm64: gic-v5: Set ICH_VCTLR_EL2.En on boot

This control enables virtual HPPI selection, i.e., selection and
delivery of interrupts for a guest (assuming that the guest itself has
opted to receive interrupts). This is set to enabled on boot as there
is no reason for disabling it in normal operation as virtual interrupt
signalling itself is still controlled via the HCR_EL2.

Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://patch.msgid.link/20260319154937.3619520-37-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>

authored by

Sascha Bischoff and committed by
Marc Zyngier
a8946fde 37a25294

+2
+2
arch/arm64/include/asm/el2_setup.h
··· 248 248 ICH_HFGWTR_EL2_ICC_CR0_EL1 | \ 249 249 ICH_HFGWTR_EL2_ICC_APR_EL1) 250 250 msr_s SYS_ICH_HFGWTR_EL2, x0 // Disable reg write traps 251 + mov x0, #(ICH_VCTLR_EL2_En) 252 + msr_s SYS_ICH_VCTLR_EL2, x0 // Enable vHPPI selection 251 253 .Lskip_gicv5_\@: 252 254 .endm 253 255