]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Move VMA-related information to kvm_s2_fault_vma_info
authorMarc Zyngier <maz@kernel.org>
Mon, 9 Mar 2026 14:31:06 +0000 (14:31 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 28 Mar 2026 11:29:41 +0000 (11:29 +0000)
commit4ff2ce512063ae79976c23b6fe2130611bcbae62
tree0a594b7a13b5b1c8dc4206b823715dfc1b765d7d
parent1a3cd7cb5547979f96ec2a0920b8e39939c58db3
KVM: arm64: Move VMA-related information to kvm_s2_fault_vma_info

Mecanically extract a bunch of VMA-related fields from kvm_s2_fault
and move them to a new kvm_s2_fault_vma_info structure.

This is not much, but it already allows us to define which functions
can update this structure, and which ones are pure consumers of the
data. Those in the latter camp are updated to take a const pointer
to that structure.

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