diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-10-25 18:23:49 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-10-31 19:00:40 +0000 |
commit | 9d15f8290a228ccd74a6ca8c082df350009e9e06 (patch) | |
tree | a6dddc1c6c8d2924210fbb8ba011ccbdc53337f2 /scripts/generate_rust_analyzer.py | |
parent | 9a1c58cfefb06974a804174f127de3fedc779394 (diff) |
KVM: arm64: Add helpers to determine if PMC counts at a given EL
Checking the exception level filters for a PMC is a minor annoyance to
open code. Add helpers to check if an event counts at EL0 and EL1, which
will prove useful in a subsequent change.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025182354.3364124-15-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions