Re: [PATCH 04/12] arch_topology: Reset all cpus in reset_cpu_topology
Sudeep Holla <[email protected]> Thu, 9 Apr 2020 11:19:43 +0100
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.mips,gmane.linux.oprofile |
|---|---|
| Message-ID | <20200409101943.GC25948@bogus> |
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