Skip to content

riscv: sbi: Add IPI tests

Andrew Jones kvm kvm-riscv 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on latest riscv/sbi
- Improved ipi done checking by introducing cpumask_equal
- Added a patch for another IPI test case

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Add sbi_send_ipi_broadcastlib/riscv/asm/sbi.h lib/riscv/sbi.c+7 -10 replies
2/3riscv: sbi: Add IPI extension testslib/cpumask.h riscv/sbi.c riscv/unittests.cfg+159 -20 replies
3/3riscv: sbi: Add two in hart_mask IPI testriscv/sbi.c+38 -11 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/3] riscv: sbi: Add IPI tests

Repost Cade's IPI test patch[1] with all the changes pointed out in the last review and more.

Based-on: https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv/sbi

[1] https://lore.kernel.org/all/20240826065106.20281-1-cade.richard at berkeley.edu/

v2:
- Rebased on latest riscv/sbi
- Improved ipi done checking by introducing cpumask_equal
- Added a patch for another IPI test case

Andrew Jones (2):
riscv: Add sbi_send_ipi_broadcast
riscv: sbi: Add two in hart_mask IPI test

Cade Richard (1):
riscv: sbi: Add IPI extension tests

 lib/cpumask.h       |  13 ++++
 lib/riscv/asm/sbi.h |   1 +
 lib/riscv/sbi.c     |   7 +-
 riscv/sbi.c         | 184 +++++++++++++++++++++++++++++++++++++++++++-
 riscv/unittests.cfg |   1 +
 5 files changed, 203 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.0