diff options
| author | 2026-03-06 14:02:25 +0000 | |
|---|---|---|
| committer | 2026-03-28 11:29:40 +0000 | |
| commit | 5557a3f843bcef3de9a1237020348b2859812170 (patch) | |
| tree | 5c2de9e9703608354bc3def4260b3845c22fde66 /scripts/Makefile.thinlto | |
| parent | KVM: arm64: Extract stage-2 permission logic in user_mem_abort() (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
