Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152324842
D5229.id13121.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
975 B
Referenced Files
None
Subscribers
None
D5229.id13121.diff
View Options
Index: sys/arm64/arm64/gic_v3.c
===================================================================
--- sys/arm64/arm64/gic_v3.c
+++ sys/arm64/arm64/gic_v3.c
@@ -565,7 +565,7 @@
/*
* 4. Route all interrupts to boot CPU.
*/
- aff = CPU_AFFINITY(PCPU_GET(cpuid));
+ aff = CPU_AFFINITY(0);
for (i = GIC_FIRST_SPI; i < sc->gic_nirqs; i++)
gic_d_write(sc, 4, GICD_IROUTER(i), aff);
Index: sys/arm64/arm64/gic_v3_its.c
===================================================================
--- sys/arm64/arm64/gic_v3_its.c
+++ sys/arm64/arm64/gic_v3_its.c
@@ -1430,10 +1430,10 @@
}
/*
- * XXX ARM64TODO: Currently all interrupts are going
- * to be bound to the CPU that performs the configuration.
+ * Initially all interrupts go to CPU0 but can be moved
+ * to another CPU by bus_bind_intr() or interrupts shuffling.
*/
- cpuid = PCPU_GET(cpuid);
+ cpuid = 0;
newdev->col = sc->its_cols[cpuid];
TAILQ_INSERT_TAIL(&sc->its_dev_list, newdev, entry);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 15, 4:31 AM (10 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31519538
Default Alt Text
D5229.id13121.diff (975 B)
Attached To
Mode
D5229: Initially bind all interrupts to the boot CPU when using GICv3
Attached
Detach File
Event Timeline
Log In to Comment