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)
Sun, Dec 28, 8:36 AM
Unknown Object (File)
Fri, Dec 19, 10:09 PM
Unknown Object (File)
Mon, Dec 15, 10:19 AM
Unknown Object (File)
Sat, Dec 13, 2:30 AM
Unknown Object (File)
Nov 25 2025, 8:20 PM
Unknown Object (File)
Nov 20 2025, 1:28 AM
Unknown Object (File)
Nov 20 2025, 12:10 AM
Unknown Object (File)
Nov 20 2025, 12:10 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 Not Applicable
Unit
Tests Not Applicable