Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176825153
D4215.1793438625.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
660 B
Referenced Files
None
Subscribers
None
D4215.1793438625.diff
View Options
Index: sys/arm/arm/gic.c
===================================================================
--- sys/arm/arm/gic.c
+++ sys/arm/arm/gic.c
@@ -336,9 +336,11 @@
* 2 = high-to-low edge triggered
* 4 = active high level-sensitive
* 8 = active low level-sensitive
- * The hardware only supports active-high-level or rising-edge.
+ * The hardware only supports active-high-level or rising-edge
+ * for SPIs
*/
- if (fdt32_to_cpu(intr[2]) & 0x0a) {
+ if (*interrupt >= GIC_FIRST_SPI &&
+ fdt32_to_cpu(intr[2]) & 0x0a) {
printf("unsupported trigger/polarity configuration "
"0x%02x\n", fdt32_to_cpu(intr[2]) & 0x0f);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 31, 9:23 AM (6 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41258498
Default Alt Text
D4215.1793438625.diff (660 B)
Attached To
Mode
D4215: Fix GIC interrupts decoding in FDT
Attached
Detach File
Event Timeline