On 1/29/26 5:32 PM, Jan Beulich wrote:
On 22.01.2026 17:47, Oleksii Kurochko wrote:
RISC-V SMP support is not yet implemented, but smp_send_event_check_mask()
is required by common code and vcpu_kick(), which is introduced later.
Provide a temporary stub implementation that asserts the mask only targets
CPU0.
cpumask_subset() is used instead of cpumask_equal() because some callers
(e.g. cpumask_raise_softirq() or cpu_raise_softirq_batch_finish()) may
legitimately pass an empty mask, which would otherwise cause false
failures.
The BUG_ON() ensures that attempts to use this function with multiple CPUs
are caught early once SMP support is introduced.
Signed-off-by: Oleksii Kurochko <[email protected]>
Acked-by: Jan Beulich <[email protected]>
Thanks.
Looks like this is independent of earlier patches in the series, and hence
could go in right away? Please confirm.
I confirm that it is independent and could go right away. I, also, checked
locally compilation of this patch on top of current staging and it is fine.
~ Oleksii