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

From: Anup Patel
Date: Sat Jan 19 2019 - 00:34:02 EST


On Tue, Jan 15, 2019 at 9:27 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> > + if (!force)
> > + cpu = cpumask_any_and(mask_val, cpu_online_mask);
> > + else
> > + cpu = cpumask_first(mask_val);
>
> Any reason for the inverted test?

Okay, I will not use inverted test here.

>
> Otherwise this looks fine to me:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thanks,
Anup