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, Aug 23, 3:25 AM
Unknown Object (File)
Fri, Aug 21, 7:42 AM
Unknown Object (File)
Aug 18 2026, 7:21 AM
Unknown Object (File)
Aug 9 2026, 3:17 AM
Unknown Object (File)
Aug 8 2026, 4:47 PM
Unknown Object (File)
Aug 7 2026, 7:34 AM
Unknown Object (File)
Aug 4 2026, 9:06 AM
Unknown Object (File)
Aug 4 2026, 5:36 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