diff options
| author | Fuad Tabba <tabba@google.com> | 2026-03-06 14:02:25 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-28 11:29:40 +0000 |
| commit | 5557a3f843bcef3de9a1237020348b2859812170 (patch) | |
| tree | 5c2de9e9703608354bc3def4260b3845c22fde66 /tools/perf/scripts/python | |
| parent | a6e11bd6e1bd9ea9a42738c5a6ac12881b5fcb36 (diff) | |
KVM: arm64: Extract page table mapping in user_mem_abort()
Extract the code responsible for locking the KVM MMU and mapping the PFN
into the stage-2 page tables into a new helper, kvm_s2_fault_map().
This helper manages the kvm_fault_lock, checks for MMU invalidation
retries, attempts to adjust for transparent huge pages (THP), handles
MTE sanitization if needed, and finally maps or relaxes permissions on
the stage-2 entries.
With this change, the main user_mem_abort() function is now a sequential
dispatcher that delegates to specialized helper functions.
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
