diff options
author | Atish Patra <[email protected]> | 2024-04-20 08:17:34 -0700 |
---|---|---|
committer | Anup Patel <[email protected]> | 2024-04-26 13:14:00 +0530 |
commit | 97be675bfdb5086a6ad1aeeaa43df78b1afd5a0d (patch) | |
tree | c6472812adce5533136604279461568d11ac379d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9408a23fac62d31de067bd2b0099eb9151395345 (diff) |
KVM: riscv: selftests: Add helper functions for extension checks
__vcpu_has_ext can check both SBI and ISA extensions when the first
argument is properly converted to SBI/ISA extension IDs. Introduce
two helper functions to make life easier for developers so they
don't have to worry about the conversions.
Replace the current usages as well with new helpers.
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions