Re: [PATCH v4 5/5] irqchip: sifive-plic: Implement irq_set_affinity() for SMP host

From: Christoph Hellwig
Date: Tue Jan 15 2019 - 10:57:34 EST


> + if (!force)
> + cpu = cpumask_any_and(mask_val, cpu_online_mask);
> + else
> + cpu = cpumask_first(mask_val);

Any reason for the inverted test?

Otherwise this looks fine to me:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>