Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157123158
D7662.id19728.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
D7662.id19728.diff
View Options
Index: sys/arm64/arm64/gic_v3.c
===================================================================
--- sys/arm64/arm64/gic_v3.c
+++ sys/arm64/arm64/gic_v3.c
@@ -594,9 +594,16 @@
if (data == NULL)
return (ENOTSUP);
- error = do_gic_v3_map_intr(dev, data, &irq, &pol, &trig);
- if (error != 0)
- return (error);
+ if (data->type == INTR_MAP_DATA_FDT) {
+ error = do_gic_v3_map_intr(dev, data, &irq, &pol, &trig);
+ if (error != 0)
+ return (error);
+ } else if (data->type == INTR_MAP_DATA_MSI) {
+ pol = INTR_POLARITY_HIGH;
+ trig = INTR_TRIGGER_EDGE;
+ irq = gi->gi_irq;
+ } else
+ return (ENOTSUP);
if (gi->gi_irq != irq || pol == INTR_POLARITY_CONFORM ||
trig == INTR_TRIGGER_CONFORM)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 2:46 PM (1 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33316666
Default Alt Text
D7662.id19728.diff (714 B)
Attached To
Mode
D7662: Add support for SPI-mapped MSI interrupts in GICv3
Attached
Detach File
Event Timeline
Log In to Comment