Page MenuHomeFreeBSD

arm64: Move intr_pic_init_secondary earlier
ClosedPublic

Authored by andrew on Nov 11 2025, 11:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 9, 3:07 AM
Unknown Object (File)
Tue, Apr 7, 9:43 AM
Unknown Object (File)
Sun, Apr 5, 12:53 PM
Unknown Object (File)
Wed, Apr 1, 6:28 AM
Unknown Object (File)
Wed, Mar 25, 4:44 PM
Unknown Object (File)
Wed, Mar 25, 7:33 AM
Unknown Object (File)
Sat, Mar 21, 11:25 PM
Unknown Object (File)
Wed, Mar 18, 10:31 AM
Subscribers

Details

Summary

This may have been called after intr_irq_shuffle. For most interrupt
controllers this appears to be safe, however for the GICv5 we need to
read a per-CPU ID register before we can assign interrupts to a given
CPU.

Fix the race by moving intr_pic_init_secondary earlier in the boot,
after devices have been enumerated and before the interrupts are moved
to their assigned CPUs.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68536
Build 65419: arc lint + arc unit