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 - 09:23:43 EST


On Fri, Jan 17, 2020 at 03:21:35PM +0100, Greg Kroah-Hartman wrote:
> On Fri, Jan 17, 2020 at 10:19:57AM +0000, Sudeep Holla wrote:
> > 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 ?
>
> oops, didn't realize this was for me, sorry, will go do so now.
>

No worries, it just got baked this morning :). I just dropped you a note
before I could forget.

--
Regards,
Sudeep