summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-02-14 16:18:03 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-02-19 20:12:59 +0300
commitc62d7a23b9479b946f00d58046e0bdf7f233a2b9 (patch)
treec53edfe0c30158f0825863eed45f1930a99492eb /scripts/gdb/linux/interrupts.py
parentaeddd5b214c8ce7271d7da7aa64ff20fb9032966 (diff)
downloadlinux-c62d7a23b9479b946f00d58046e0bdf7f233a2b9.tar.xz
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 <suzuki.poulose@arm.com> Co-developed--by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240214131827.2856277-3-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions