diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-03-09 09:59:38 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-28 11:29:41 +0000 |
| commit | fe4b6f824f267739ef2c5f2f047c317eceb587c3 (patch) | |
| tree | 52354037cc048e705fddecb3ec44c72d576177c6 /tools/perf/scripts/python | |
| parent | c6f4d84643498bc855e2f6719a3233ded0e2dc63 (diff) | |
KVM: arm64: Replace fault_is_perm with a helper
Carrying a boolean to indicate that a given fault is a permission fault
is slightly odd, as this is a property of the fault itself, and we'd
better avoid duplicating state.
For this purpose, introduce a kvm_s2_fault_is_perm() predicate that
can take a fault descriptor as a parameter. fault_is_perm is therefore
dropped from kvm_s2_fault.
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
