freebsd-dev/sys/powerpc/powernv
Conrad Meyer bba9cbe374 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.

Reported by:	luporl via jhibbits
Reviewed by:	luporl
X-MFC-With:	r342771
Differential Revision:	https://reviews.freebsd.org/D18777
2019-01-07 19:39:31 +00:00
..
opal_console.c Support multiple OPAL consoles, and don't crash if uart is not stdout 2018-06-29 19:35:25 +00:00
opal_dev.c powerpc64/powernv: Add pnpinfo strings to opal device children 2018-10-21 02:30:34 +00:00
opal_i2c.c powerpc/powernv: Make opal_i2c driver work with attached i2c drivers 2018-07-09 20:33:48 +00:00
opal_i2cm.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
opal_pci.c powerpc/powernv: Restrict the busdma tag to only POWER8 2018-11-08 20:31:12 +00:00
opal_sensor.c Fix a typo missed in r334232 2018-05-26 04:24:25 +00:00
opal.c
opal.h Add an IPMI attachment for PowerNV systems 2018-05-22 03:57:32 +00:00
opalcall.S
platform_powernv.c powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
powernv_centaur.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
powernv_xscom.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00