]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Kill fault->ipa
authorMarc Zyngier <maz@kernel.org>
Sat, 7 Mar 2026 11:39:49 +0000 (11:39 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 28 Mar 2026 11:29:41 +0000 (11:29 +0000)
commit5729560e2c3cb67a22a1d72688e0bb8e96798313
treef5753f67ecea20bf65949d57b9fc07479ca358a1
parent11f8f1b8a97b63b180f7aa021ec9abdead283025
KVM: arm64: Kill fault->ipa

fault->ipa, in a nested contest, represents the output of the guest's
S2 translation for the fault->fault_ipa input, and is equal to
fault->fault_ipa otherwise,

Given that this is readily available from kvm_s2_trans_output(),
drop fault->ipa and directly compute fault->gfn instead, which
is really what we want.

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