Re: [PATCH 04/12] arch_topology: Reset all cpus in reset_cpu_topology

From: Sudeep Holla
Date: Thu Apr 09 2020 - 06:19:59 EST


On Wed, Apr 08, 2020 at 07:34:14PM +0800, Jiaxun Yang wrote:
> For MIPS platform, when topology isn't probed by DeviceTree,
> possible_cpu might be empty when calling init_cpu_topology,
> that may result cpu_topology not fully reseted for all CPUs.
> So here we can reset all cpus instead of possible cpus.
>

Why not set all CPUs upto NR_CPUS in possible cpus_mask as
default to begin with ?

--
Regards,
Sudeep