Page MenuHomeFreeBSD

arm64: Move intr_pic_init_secondary earlier
Needs ReviewPublic

Authored by andrew on Tue, Nov 11, 11:51 AM.
Tags
None
Referenced Files
F135709334: D53685.id166200.diff
Wed, Nov 12, 2:40 AM
F135708889: D53685.id.diff
Wed, Nov 12, 2:35 AM
F135708812: D53685.diff
Wed, Nov 12, 2:34 AM
F135699611: D53685.id.diff
Wed, Nov 12, 12:26 AM
F135693019: D53685.diff
Tue, Nov 11, 10:56 PM
F135666647: D53685.id166200.diff
Tue, Nov 11, 5:55 PM
F135665712: D53685.id.diff
Tue, Nov 11, 5:46 PM
F135661436: D53685.id166200.diff
Tue, Nov 11, 4:59 PM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
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