Message ID | 20240830101221.2202707-5-andrew.jones@linux.dev (mailing list archive) |
---|---|
Headers | show |
Series | riscv: Improve on-cpu and IPI support | expand |
On Fri, Aug 30, 2024 at 12:12:22PM GMT, Andrew Jones wrote: > 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(-) > > -- > 2.45.2 Queued on riscv/sbi, https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv%2Fsbi