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)
Fri, Jun 26, 10:38 AM
Unknown Object (File)
Sun, Jun 21, 7:01 PM
Unknown Object (File)
Sun, Jun 21, 11:11 AM
Unknown Object (File)
Jun 1 2026, 6:27 AM
Unknown Object (File)
Jun 1 2026, 2:08 AM
Unknown Object (File)
May 31 2026, 12:10 AM
Unknown Object (File)
May 29 2026, 8:51 AM
Unknown Object (File)
May 26 2026, 11:04 AM
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