Page MenuHomeFreeBSD

D4215.1778421045.diff
No OneTemporary

Size
675 B
Referenced Files
None
Subscribers
None

D4215.1778421045.diff

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

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)

Event Timeline