ipq40xx: fix warning triggered by bad interrupt definition
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 23 Dec 2018 19:13:34 +0000 (20:13 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 27 Dec 2018 13:36:23 +0000 (14:36 +0100)
This patch fixes a kernel warning that got triggered by 4.19
because of a bad/missing interrupt level definition in the DTS.

| WARNING: CPU: 2 PID: 1996 at drivers/irqchip/irq-gic.c:1016
| CPU: 2 PID: 1996 Comm: kmodloader Not tainted 4.19.9 #0
| Hardware name: Generic DT based system
| [<c0317884>] (warn_slowpath_null) from [<c04f9cd0>]
| [<c04f9cd0>] (gic_irq_domain_translate) from [<c035af30>]
| [<c035af30>] (irq_create_fwspec_mapping) from [<c035b1e0>]
| [<c035b1e0>] (irq_create_of_mapping) from [<c0614eec>]
| [<c0614eec>] (of_irq_get) from [<c0614f3c>]
| [<c0614f3c>] (of_irq_to_resource) from [<c0614ff0>]
| [<c0614ff0>] (of_irq_to_resource_table) from [<c0610e08>]
| [<c0610e08>] (of_device_alloc) from [<c0610ea0>]
| [<c0610ea0>] (of_platform_device_create_pdata)
| [<c061120c>] (of_platform_bus_create)
| [<c06113c4>] (of_platform_populate)
| [<bf4c06b4>] (dwc3_qcom_probe [dwc3_qcom])

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch
target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch

index 94156dce2177e74eb2848a9cd3446a16ea7416a4..44c07f8f457000b53ed8e50cdce6926888f8d65f 100644 (file)
@@ -81,7 +81,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
 +                      dwc3@8a00000 {
 +                              compatible = "snps,dwc3";
 +                              reg = <0x8a00000 0xf8000>;
-+                              interrupts = <0 132 0>;
++                              interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
 +                              phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
 +                              phy-names = "usb2-phy", "usb3-phy";
 +                              dr_mode = "host";
@@ -113,7 +113,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
 +                      dwc3@6000000 {
 +                              compatible = "snps,dwc3";
 +                              reg = <0x6000000 0xf8000>;
-+                              interrupts = <0 136 0>;
++                              interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
 +                              phys = <&usb2_hs_phy>;
 +                              phy-names = "usb2-phy";
 +                              dr_mode = "host";
index 419e36424a35c812f8baaa84e7aa8bf368b6c3da..ff6fb4b5762bc1bf5ad4eac9f3814ee9c9bc4813 100644 (file)
@@ -81,7 +81,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
 +                      dwc3@8a00000 {
 +                              compatible = "snps,dwc3";
 +                              reg = <0x8a00000 0xf8000>;
-+                              interrupts = <0 132 0>;
++                              interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
 +                              phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
 +                              phy-names = "usb2-phy", "usb3-phy";
 +                              dr_mode = "host";
@@ -113,7 +113,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
 +                      dwc3@6000000 {
 +                              compatible = "snps,dwc3";
 +                              reg = <0x6000000 0xf8000>;
-+                              interrupts = <0 136 0>;
++                              interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
 +                              phys = <&usb2_hs_phy>;
 +                              phy-names = "usb2-phy";
 +                              dr_mode = "host";