diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-07-21 18:07:54 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-07-21 10:46:41 -0700 |
| commit | 36d32222fcab099cf07b032aa5f022136bfa91be (patch) | |
| tree | ac5525b2ba364f5162b0ea4f00eff6565277b502 /include/kvm | |
| parent | bea608299d28ee4e10db3468985dde440adb09b7 (diff) | |
| download | linux-stable-36d32222fcab099cf07b032aa5f022136bfa91be.tar.gz linux-stable-36d32222fcab099cf07b032aa5f022136bfa91be.zip | |
KVM: arm64: vgic-v3: Kill kvm_vgic_global_state.ich_vtr_el2
kvm_vgic_global_state.ich_vtr_el2 is the last bit of caching that
we can get rid of. Not as bad as a sysreg access, but still worse
than a constant.
Move over to the inlined stuff and remove the cached value.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260721170754.3150521-7-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'include/kvm')
| -rw-r--r-- | include/kvm/arm_vgic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index fe49fb56dc3c..bd1bb03500b3 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -176,8 +176,6 @@ struct vgic_global { /* GICv3 compat mode on a GICv5 host */ bool has_gcie_v3_compat; - u32 ich_vtr_el2; - /* GICv5 PPI capabilities */ struct { DECLARE_BITMAP(impl_ppi_mask, VGIC_V5_NR_PRIVATE_IRQS); |
