Re: [PATCH 1/1] irqchip/gicv3: iterate over possible CPUs by for_each_possible_cpu()

From: Marc Zyngier
Date: Thu Sep 14 2017 - 15:20:52 EST


On Thu, Sep 14 2017 at 1:15:14 pm BST, zijun_hu <zijun_hu@xxxxxxxx> wrote:
> From: zijun_hu <zijun_hu@xxxxxxx>
>
> get_cpu_number() doesn't use existing helper to iterate over possible
> CPUs, so error happens in case of discontinuous @cpu_possible_mask
> such as 0b11110001.

Do you have an example of such a situation? Your patch is definitely an
improvement, but I'd like to understand how you get there...

Thanks,

M.
--
Jazz is not dead. It just smells funny.