Page MenuHomeFreeBSD

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

Authored by jhibbits on Thu, Apr 16, 3:24 AM.
Tags
None
Referenced Files
F153364608: D56421.diff
Mon, Apr 20, 5:49 PM
Unknown Object (File)
Sat, Apr 18, 7:47 AM
Unknown Object (File)
Sat, Apr 18, 7:47 AM
Unknown Object (File)
Sat, Apr 18, 6:11 AM
Unknown Object (File)
Sat, Apr 18, 3:15 AM
Unknown Object (File)
Fri, Apr 17, 8:04 AM
Subscribers

Details

Reviewers
adrian
Group Reviewers
PowerPC
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 72247
Build 69130: arc lint + arc unit