Skip to content

Commit f87ab68

Browse files
author
Marc Zyngier
committed
KVM: arm64: vgic-v3: Don't advertise ICC_CTLR_EL1.SEIS
Since we are trapping all sysreg accesses when ICH_VTR_EL2.SEIS is set, and that we never deliver an SError when emulating any of the GICv3 sysregs, don't advertise ICC_CTLR_EL1.SEIS. Reviewed-by: Alexandru Elisei <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0924729 commit f87ab68

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/kvm/hyp/vgic-v3-sr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,8 +987,6 @@ static void __vgic_v3_read_ctlr(struct kvm_vcpu *vcpu, u32 vmcr, int rt)
987987
val = ((vtr >> 29) & 7) << ICC_CTLR_EL1_PRI_BITS_SHIFT;
988988
/* IDbits */
989989
val |= ((vtr >> 23) & 7) << ICC_CTLR_EL1_ID_BITS_SHIFT;
990-
/* SEIS */
991-
val |= ((vtr >> 22) & 1) << ICC_CTLR_EL1_SEIS_SHIFT;
992990
/* A3V */
993991
val |= ((vtr >> 21) & 1) << ICC_CTLR_EL1_A3V_SHIFT;
994992
/* EOImode */

0 commit comments

Comments
 (0)