Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145669161
D4215.1778421045.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
675 B
Referenced Files
None
Subscribers
None
D4215.1778421045.diff
View Options
Index: head/sys/arm/arm/gic.c
===================================================================
--- head/sys/arm/arm/gic.c
+++ head/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
Sun, May 10, 1:50 PM (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28636987
Default Alt Text
D4215.1778421045.diff (675 B)
Attached To
Mode
D4215: Fix GIC interrupts decoding in FDT
Attached
Detach File
Event Timeline
Log In to Comment