Page MenuHomeFreeBSD

powerpc/pic: Add a PIC_AP_INIT() to set up AP PIC info
ClosedPublic

Authored by jhibbits on Apr 16 2026, 3:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 8:08 AM
Unknown Object (File)
Mon, May 18, 8:03 AM
Unknown Object (File)
Sun, May 17, 9:28 AM
Unknown Object (File)
Fri, May 15, 2:26 PM
Unknown Object (File)
Thu, May 14, 2:05 PM
Unknown Object (File)
Thu, May 14, 12:52 PM
Unknown Object (File)
Wed, May 13, 10:09 PM
Unknown Object (File)
Wed, May 13, 5:28 PM
Subscribers

Details

Summary

pc_cpuid may not match the PIC's idea of a given CPU. Since openpic
has a WHOAMI register, we can use that to get the PIC's idea of the CPU.
This needs to be done on each AP, so add a PIC_AP_INIT device method so
the PIC can perform any AP-specific initialization at AP bootstrap time.

This fixes SMP on e6500, which is still lacking SMT support.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable