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]>

Looks like this is independent of earlier patches in the series, and hence
could go in right away? Please confirm.

Jan

Reply via email to