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