diff options
author | Marc Zyngier <maz@kernel.org> | 2024-02-14 13:18:03 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-19 17:12:59 +0000 |
commit | c62d7a23b9479b946f00d58046e0bdf7f233a2b9 (patch) | |
tree | c53edfe0c30158f0825863eed45f1930a99492eb /tools/net/sunrpc/xdrgen/templates/C/pointer | |
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 <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 'tools/net/sunrpc/xdrgen/templates/C/pointer')
0 files changed, 0 insertions, 0 deletions