bba9cbe374
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 |
||
---|---|---|
.. | ||
ehci_ps3.c | ||
if_glc.c | ||
if_glcreg.h | ||
mmu_ps3.c | ||
ohci_ps3.c | ||
platform_ps3.c | ||
ps3_syscons.c | ||
ps3-hv-asm.awk | ||
ps3-hv-header.awk | ||
ps3-hvcall.h | ||
ps3-hvcall.master | ||
ps3-hvcall.S | ||
ps3bus.c | ||
ps3bus.h | ||
ps3cdrom.c | ||
ps3disk.c | ||
ps3pic.c |