diff options
author | Marc Zyngier <[email protected]> | 2024-02-14 13:18:03 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-02-19 17:12:59 +0000 |
commit | c62d7a23b9479b946f00d58046e0bdf7f233a2b9 (patch) | |
tree | c53edfe0c30158f0825863eed45f1930a99492eb /scripts/gdb/linux/interrupts.py | |
parent | aeddd5b214c8ce7271d7da7aa64ff20fb9032966 (diff) |
KVM: arm64: Add feature checking helpers
In order to make it easier to check whether a particular feature
is exposed to a guest, add a new set of helpers, with kvm_has_feat()
being the most useful.
Let's start making use of them in the PMU code (courtesy of Oliver).
Follow-up changes will introduce additional use patterns.
Reviewed-by: Suzuki K Poulose <[email protected]>
Co-developed--by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions