freebsd-dev/sys/powerpc
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
..
aim ppc64: handle exception 0x1500 (soft patch) 2018-12-10 14:54:28 +00:00
booke powerpcspe: Fix GPR handling in SPE exception handler 2018-12-13 04:48:28 +00:00
conf Remove the mps driver from powerpc 32bit GENERIC, and don't build it and 2018-12-09 06:06:06 +00:00
cpufreq pmcr: Fix pstate setting on Power8 2018-12-01 21:37:47 +00:00
fpu powerpc: Sync icache on SIGILL, in case of cache issues 2018-11-19 23:54:49 +00:00
include powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx powerpc/booke: Replace a logical equivalent of pmap_kextract() with a real call 2018-12-10 04:16:40 +00:00
ofw Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
powermac powerpc/powermac: Fix macgpio(4) child interrupt resource handling 2018-12-06 04:25:12 +00:00
powernv powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
powerpc powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
ps3 powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
pseries powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
psim add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00