Page MenuHomeFreeBSD

D4215.diff
No OneTemporary

D4215.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
Mon, May 18, 11:12 AM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33245587
Default Alt Text
D4215.diff (675 B)

Event Timeline