Skip to content

riscv: sbi: Improve DBCN and BASE

Andrew Jones kvm kvm-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: sbi: Highmem isn't always supportedriscv/sbi.c+15 -80 replies
2/2riscv: sbi: Improve spec version testlib/riscv/sbi.c riscv/sbi.c+12 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [kvm-unit-tests PATCH 0/2] riscv: sbi: Improve DBCN and BASE

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(-)
Signature · 1 line
2.46.0