]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Constrain fault_granule to kvm_s2_fault_map()
authorMarc Zyngier <maz@kernel.org>
Mon, 9 Mar 2026 10:57:04 +0000 (10:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 28 Mar 2026 11:29:41 +0000 (11:29 +0000)
commit31571929e8a894d06291a9501b2be22cffe14443
tree4bf586c8a37da5cee31bbc60da2c2bd0db11c037
parentfe4b6f824f267739ef2c5f2f047c317eceb587c3
KVM: arm64: Constrain fault_granule to kvm_s2_fault_map()

The notion of fault_granule is specific to kvm_s2_fault_map(), and
is unused anywhere else.

Move this variable locally, removing it from kvm_s2_fault.

Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/mmu.c