[Bug 249250] 12.2-BETA1 panics at boot on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 11 15:31:46 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249250

--- Comment #7 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: mav
Date: Fri Sep 11 15:30:48 UTC 2020
New revision: 365634
URL: https://svnweb.freebsd.org/changeset/base/365634

Log:
  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
  Approved by:  re (gjb)

Changes:
_U  releng/12.2/
  releng/12.2/sys/powerpc/include/platform.h
  releng/12.2/sys/powerpc/powernv/platform_powernv.c
  releng/12.2/sys/powerpc/powerpc/mp_machdep.c
  releng/12.2/sys/powerpc/powerpc/platform.c
  releng/12.2/sys/powerpc/powerpc/platform_if.m
  releng/12.2/sys/powerpc/ps3/platform_ps3.c
  releng/12.2/sys/powerpc/pseries/platform_chrp.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list