[kvm-unit-tests PATCH 2/2] riscv: sbi: Improve spec version test
Andrew Jones
andrew.jones at linux.dev
Wed Nov 6 00:34:40 PST 2024
On Wed, Sep 11, 2024 at 01:33:41PM +0200, Andrew Jones wrote:
> SBI spec version states that bit 31 must be zero and doesn't say
> anything about bits greater than 31 (for rv64). Check that bit
> 31 is zero and assume all other bits are UNKNOWN, so mask them
> off before testing.
The spec has changed for the 3.0 release to also require bits 32 and up to
be zero for rv64. I'll send another version of this patch.
Thanks,
drew
More information about the kvm-riscv
mailing list