[kvm-unit-tests PATCH 0/2] riscv: sbi: Improve DBCN and BASE
Andrew Jones
andrew.jones at linux.dev
Wed Sep 11 04:33:39 PDT 2024
Improve the tests for DBCN and BASE. For DBCN, use xfail when for failed
highmem tests when we know the SBI implementation doesn't support
highmem (such as 32-bit OpenSBI). For BASE, per the spec, ensure the bit
31 is zero and ensure we always treat bits 63:32 as UNKNOWN.
Andrew Jones (2):
riscv: sbi: Highmem isn't always supported
riscv: sbi: Improve spec version test
lib/riscv/sbi.c | 2 +-
riscv/sbi.c | 38 ++++++++++++++++++++++++++------------
2 files changed, 27 insertions(+), 13 deletions(-)
--
2.46.0
More information about the kvm-riscv
mailing list