diff options
| author | Anup Patel <[email protected]> | 2020-04-24 04:59:27 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-05-04 21:08:59 +0000 |
| commit | 6bcff51539ccae5431a01f60293419dbae21100f (patch) | |
| tree | 1caad57d91a4df9f439b568d69c062baf300640f /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | RISC-V: Export riscv_cpuid_to_hartid_mask() API (diff) | |
| download | kernel-6bcff51539ccae5431a01f60293419dbae21100f.tar.gz kernel-6bcff51539ccae5431a01f60293419dbae21100f.zip | |
RISC-V: Add bitmap reprensenting ISA features common across CPUs
This patch adds riscv_isa bitmap which represents Host ISA features
common across all Host CPUs. The riscv_isa is not same as elf_hwcap
because elf_hwcap will only have ISA features relevant for user-space
apps whereas riscv_isa will have ISA features relevant to both kernel
and user-space apps.
One of the use-case for riscv_isa bitmap is in KVM hypervisor where
we will use it to do following operations:
1. Check whether hypervisor extension is available
2. Find ISA features that need to be virtualized (e.g. floating
point support, vector extension, etc.)
Signed-off-by: Anup Patel <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Alexander Graf <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
