[PATCH v2 00/30] KVM: arm64: Combined user_mem_abort() rework

Marc Zyngier maz at kernel.org
Wed Apr 1 08:34:53 PDT 2026


On Fri, 27 Mar 2026 11:35:48 +0000, Marc Zyngier wrote:
> Fuad and I have been working on this "put a stick of dynamite in
> user_mem_abort() and watch the resulting firework" project, and it
> looks surprisingly OK so far. Disappointingly so, I'd even say.
> 
> This v2 is has very few changes from the original posting (cleaning up
> the comments in Fuad's series [1], and some minor restructuring in
> mine [2]), but I wanted to post the combined series for people's
> awareness and for the sake of running it through sashiko.
> 
> [...]

Applied to next, thanks!

[01/30] KVM: arm64: Extract VMA size resolution in user_mem_abort()
        commit: 66fcf492008db407e8d600ceaefd2c8a8070c5ae
[02/30] KVM: arm64: Introduce struct kvm_s2_fault to user_mem_abort()
        commit: 0b236c72c02df36992b7d6ff29cbe5abef973250
[03/30] KVM: arm64: Extract PFN resolution in user_mem_abort()
        commit: bae99813c6a9ce474cbb7b6553dc6e379b2f4375
[04/30] KVM: arm64: Isolate mmap_read_lock inside new kvm_s2_fault_get_vma_info() helper
        commit: f5a5bb8de11863bd92f4188b7e823e3fca4d68e6
[05/30] KVM: arm64: Extract stage-2 permission logic in user_mem_abort()
        commit: a6e11bd6e1bd9ea9a42738c5a6ac12881b5fcb36
[06/30] KVM: arm64: Extract page table mapping in user_mem_abort()
        commit: 5557a3f843bcef3de9a1237020348b2859812170
[07/30] KVM: arm64: Simplify nested VMA shift calculation
        commit: 2175ca5384ba9f3d1f45745522cdeb5865488400
[08/30] KVM: arm64: Remove redundant state variables from struct kvm_s2_fault
        commit: 9a57bc1b3c6b1f583f43acf7719d66e6b30ef2a9
[09/30] KVM: arm64: Simplify return logic in user_mem_abort()
        commit: 3825373b91b0fbedc65205a59f95379aaf596aad
[10/30] KVM: arm64: Initialize struct kvm_s2_fault completely at declaration
        commit: 975bad4bb21e4eea7ecc0f32f4cbbb91a9c8d48f
[11/30] KVM: arm64: Optimize early exit checks in kvm_s2_fault_pin_pfn()
        commit: 3456943e8786d56aa2bd3f99e9ad2d735a9879c8
[12/30] KVM: arm64: Hoist MTE validation check out of MMU lock path
        commit: 84699747aa554197f6d5b4f4c9d1bcb6cb28e21f
[13/30] KVM: arm64: Clean up control flow in kvm_s2_fault_map()
        commit: 11f8f1b8a97b63b180f7aa021ec9abdead283025
[14/30] KVM: arm64: Kill fault->ipa
        commit: 5729560e2c3cb67a22a1d72688e0bb8e96798313
[15/30] KVM: arm64: Make fault_ipa immutable
        commit: f583a53c2b8a4bd77f090bb76512eb87bc80f2c4
[16/30] KVM: arm64: Move fault context to const structure
        commit: c6f4d84643498bc855e2f6719a3233ded0e2dc63
[17/30] KVM: arm64: Replace fault_is_perm with a helper
        commit: fe4b6f824f267739ef2c5f2f047c317eceb587c3
[18/30] KVM: arm64: Constrain fault_granule to kvm_s2_fault_map()
        commit: 31571929e8a894d06291a9501b2be22cffe14443
[19/30] KVM: arm64: Kill write_fault from kvm_s2_fault
        commit: 49902d7e010614888253a90252f4704edb2fe3e3
[20/30] KVM: arm64: Kill exec_fault from kvm_s2_fault
        commit: c0d699915a835364b1c8d1eca11e11e7b82f0705
[21/30] KVM: arm64: Kill topup_memcache from kvm_s2_fault
        commit: 1a3cd7cb5547979f96ec2a0920b8e39939c58db3
[22/30] KVM: arm64: Move VMA-related information to kvm_s2_fault_vma_info
        commit: 4ff2ce512063ae79976c23b6fe2130611bcbae62
[23/30] KVM: arm64: Kill logging_active from kvm_s2_fault
        commit: 18e1312879db0af5bfd1b1a8b6771d314ccd3ca9
[24/30] KVM: arm64: Restrict the scope of the 'writable' attribute
        commit: 08abf09f4d763565ee9ed084401b7ac92f8b4952
[25/30] KVM: arm64: Move kvm_s2_fault.{pfn,page} to kvm_s2_vma_info
        commit: f8dad9602ff305b879fa23688becd578102ba547
[26/30] KVM: arm64: Replace force_pte with a max_map_size attribute
        commit: 29a5681843a52570ca9597bf355be33fe8753eb0
[27/30] KVM: arm64: Move device mapping management into kvm_s2_fault_pin_pfn()
        commit: e314a4dbdb8b29b7e9a69afb8831a15a6d15c1ed
[28/30] KVM: arm64: Directly expose mapping prot and kill kvm_s2_fault
        commit: adb70b3a8b31e9eb05f2ec3c76d85f9a7a8c8cbc
[29/30] KVM: arm64: Simplify integration of adjust_nested_*_perms()
        commit: fb9888fdfada0b5ad977f08f7550432a08aacbb1
[30/30] KVM: arm64: Convert gmem_abort() to struct kvm_s2_fault_desc
        commit: e9550374d13a4bfd0b8a711733f5d423c2e56b96

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list