]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Directly expose mapping prot and kill kvm_s2_fault
authorMarc Zyngier <maz@kernel.org>
Sun, 15 Mar 2026 14:26:27 +0000 (14:26 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 28 Mar 2026 11:29:41 +0000 (11:29 +0000)
commitadb70b3a8b31e9eb05f2ec3c76d85f9a7a8c8cbc
tree5c76bf705b4702a3a2cb7b8260ad51d8b15791d1
parente314a4dbdb8b29b7e9a69afb8831a15a6d15c1ed
KVM: arm64: Directly expose mapping prot and kill kvm_s2_fault

The 'prot' field is the only one left in kvm_s2_fault. Expose it
directly to the functions needing it, and get rid of kvm_s2_fault.

It has served us well during this refactoring, but it is now no
longer needed.

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