freebsd-dev/sys/powerpc/pseries
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
..
mmu_phyp.c Add support for powernv POWER9 MMU initialization 2018-05-05 16:00:02 +00:00
phyp_console.c
phyp_llan.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
phyp_vscsi.c
phyp-hvcall.h
phyp-hvcall.S
platform_chrp.c powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
plpar_iommu.c
plpar_iommu.h
plpar_pcibus.c
rtas_dev.c
rtas_pci.c
vdevice.c
xics.c powerpc64/xics: Fix comment typo 2018-10-21 02:25:56 +00:00