/[base]
ViewVC logotype

Revision 365632


Jump to revision: Previous Next
Author: mav
Date: Fri Sep 11 14:00:10 2020 UTC (3 years, 9 months ago)
Changed paths: 8
Log Message:
MFC r342852 (by cem): powerpc: Fix regression introduced in r342771

In r342771, I introduced a regression in Power by abusing the platform
smp_topo() method as a shortcut for providing the MI information needed for
the stated sysctls.  The smp_topo() method was already called later by
sched_ule (under the name cpu_topo()), and initializes a static array of
scheduler topology information.  I had skimmed the smp_topo_foo() functions
and assumed they were idempotent; empirically, they are not (or at least,
detect re-initialization and panic).

Do the cleaner thing I should have done in the first place and add a
platform method specifically for core- and thread-count probing.

PR:		249250


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/sys/powerpc/include/platform.h modified , text changed
Directorystable/12/sys/powerpc/powernv/platform_powernv.c modified , text changed
Directorystable/12/sys/powerpc/powerpc/mp_machdep.c modified , text changed
Directorystable/12/sys/powerpc/powerpc/platform.c modified , text changed
Directorystable/12/sys/powerpc/powerpc/platform_if.m modified , text changed
Directorystable/12/sys/powerpc/ps3/platform_ps3.c modified , text changed
Directorystable/12/sys/powerpc/pseries/platform_chrp.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27