diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-09-18 08:25:55 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-09-21 12:34:05 +0300 |
commit | 071ef070ca77e6dfe33fd78afa293e83422f0411 (patch) | |
tree | 8dbdfd4b7a7a9552d35a9f5a14f9f622b6c8a543 /include/linux/instruction_pointer.h | |
parent | ba1af6e2e0f0e814c0f6be6ef64917c212f9fa96 (diff) | |
download | linux-071ef070ca77e6dfe33fd78afa293e83422f0411.tar.xz |
KVM: riscv: selftests: Selectively filter-out AIA registers
Currently the AIA ONE_REG registers are reported by get-reg-list
as new registers for various vcpu_reg_list configs whenever Ssaia
is available on the host because Ssaia extension can only be
disabled by Smstateen extension which is not always available.
To tackle this, we should filter-out AIA ONE_REG registers only
when Ssaia can't be disabled for a VCPU.
Fixes: 477069398ed6 ("KVM: riscv: selftests: Add get-reg-list test")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/linux/instruction_pointer.h')
0 files changed, 0 insertions, 0 deletions