diff options
| author | Fuad Tabba <tabba@google.com> | 2026-03-06 14:02:24 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-28 11:29:40 +0000 |
| commit | a6e11bd6e1bd9ea9a42738c5a6ac12881b5fcb36 (patch) | |
| tree | b5d172217c8756384095424558029a4fc6606bf3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f5a5bb8de11863bd92f4188b7e823e3fca4d68e6 (diff) | |
KVM: arm64: Extract stage-2 permission logic in user_mem_abort()
Extract the logic that computes the stage-2 protections and checks for
various permission faults (e.g., execution faults on non-cacheable
memory) into a new helper function, kvm_s2_fault_compute_prot(). This
helper also handles injecting atomic/exclusive faults back into the
guest when necessary.
This refactoring step separates the permission computation from the
mapping logic, making the main fault handler flow clearer.
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
