Skip to content

riscv: Improve on-cpu and IPI support

Andrew Jones kvm kvm-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/cpumask: Fix and simplify a few functionslib/cpumask.h+18 -290 replies
2/3lib/on-cpus: Introduce on_cpumask and on_cpumask_asynclib/on-cpus.c lib/on-cpus.h+30 -80 replies
3/3riscv: Introduce SBI IPI convenience functionslib/riscv/asm/sbi.h lib/riscv/sbi.c+46 -00 replies

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/3] riscv: Improve on-cpu and IPI support

The first two patches improve general library support for cpumasks and the on-cpus API. on-cpus can now take cpumasks for input. The last patch improves support for sending IPIs on riscv using the SBI IPI extension by supporting a nicer interface of cpuids and cpumasks.

Andrew Jones (3):
lib/cpumask: Fix and simplify a few functions lib/on-cpus: Introduce on_cpumask and on_cpumask_async
riscv: Introduce SBI IPI convenience functions

 lib/cpumask.h       | 47 +++++++++++++++++----------------------------
 lib/on-cpus.c       | 35 +++++++++++++++++++++++++--------
 lib/on-cpus.h       |  3 +++
 lib/riscv/asm/sbi.h |  3 +++
 lib/riscv/sbi.c     | 43 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 94 insertions(+), 37 deletions(-)
Signature · 1 line
2.45.2