Re: [PATCH v4] cpu-topology: Don't error on more than CONFIG_NR_CPUS CPUs in device tree

From: Sudeep Holla
Date: Fri Jan 17 2020 - 05:20:08 EST


On Fri, Jan 17, 2020 at 09:52:52AM +0800, Zeng Tao wrote:
> When the kernel is configured with CONFIG_NR_CPUS smaller than the
> number of CPU nodes in the device tree(DT), all the CPU nodes parsing
> done to fetch topology information will fail. This is not reasonable
> as it is legal to have all the physical CPUs in the system in the DT.
>
> Let us just skip such CPU DT nodes that are not used in the kernel
> rather than returning an error.
>
> Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> Signed-off-by: Zeng Tao <prime.zeng@xxxxxxxxxxxxx>

Hi Greg,

Can you pick this patch for v5.6 ?

--
Regards,
Sudeep