From ee5d3a6d7c55c7eec8a8d4cfd580528835c63fd4 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 23 Dec 2018 20:13:34 +0100 Subject: [PATCH] ipq40xx: fix warning triggered by bad interrupt definition 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 | [] (warn_slowpath_null) from [] | [] (gic_irq_domain_translate) from [] | [] (irq_create_fwspec_mapping) from [] | [] (irq_create_of_mapping) from [] | [] (of_irq_get) from [] | [] (of_irq_to_resource) from [] | [] (of_irq_to_resource_table) from [] | [] (of_device_alloc) from [] | [] (of_platform_device_create_pdata) | [] (of_platform_bus_create) | [] (of_platform_populate) | [] (dwc3_qcom_probe [dwc3_qcom]) Signed-off-by: Christian Lamparter --- .../077-qcom-ipq4019-add-USB-devicetree-nodes.patch | 4 ++-- .../077-qcom-ipq4019-add-USB-devicetree-nodes.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch b/target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch index 94156dce21..44c07f8f45 100644 --- a/target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch +++ b/target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch @@ -81,7 +81,7 @@ Signed-off-by: John Crispin + dwc3@8a00000 { + compatible = "snps,dwc3"; + reg = <0x8a00000 0xf8000>; -+ interrupts = <0 132 0>; ++ interrupts = ; + 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 + dwc3@6000000 { + compatible = "snps,dwc3"; + reg = <0x6000000 0xf8000>; -+ interrupts = <0 136 0>; ++ interrupts = ; + phys = <&usb2_hs_phy>; + phy-names = "usb2-phy"; + dr_mode = "host"; diff --git a/target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch b/target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch index 419e36424a..ff6fb4b576 100644 --- a/target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch +++ b/target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch @@ -81,7 +81,7 @@ Signed-off-by: John Crispin + dwc3@8a00000 { + compatible = "snps,dwc3"; + reg = <0x8a00000 0xf8000>; -+ interrupts = <0 132 0>; ++ interrupts = ; + 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 + dwc3@6000000 { + compatible = "snps,dwc3"; + reg = <0x6000000 0xf8000>; -+ interrupts = <0 136 0>; ++ interrupts = ; + phys = <&usb2_hs_phy>; + phy-names = "usb2-phy"; + dr_mode = "host"; -- 2.30.2