Page MenuHomeFreeBSD

arm64: Move intr_pic_init_secondary earlier
ClosedPublic

Authored by andrew on Tue, Nov 11, 11:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 8:20 PM
Unknown Object (File)
Thu, Nov 20, 1:28 AM
Unknown Object (File)
Thu, Nov 20, 12:10 AM
Unknown Object (File)
Thu, Nov 20, 12:10 AM
Unknown Object (File)
Thu, Nov 20, 12:07 AM
Unknown Object (File)
Sun, Nov 16, 9:45 PM
Unknown Object (File)
Sun, Nov 16, 9:45 PM
Unknown Object (File)
Sun, Nov 16, 8:03 PM
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