From a94d1056ee29ed03567c049648ec7e4b7375e8b4 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 21 Jun 2018 16:09:41 +0100 Subject: Add fix for 96boards DB410c --- ...916-fix-gic_irq_domain_translate-warnings.patch | 116 +++++++++++++++++++++ kernel.spec | 6 ++ 2 files changed, 122 insertions(+) create mode 100644 arm64-msm8916-fix-gic_irq_domain_translate-warnings.patch diff --git a/arm64-msm8916-fix-gic_irq_domain_translate-warnings.patch b/arm64-msm8916-fix-gic_irq_domain_translate-warnings.patch new file mode 100644 index 000000000..4682e5a0d --- /dev/null +++ b/arm64-msm8916-fix-gic_irq_domain_translate-warnings.patch @@ -0,0 +1,116 @@ +From patchwork Wed Apr 18 16:34:15 2018 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: arm64: msm8916: fix gic_irq_domain_translate warnings +From: Srinivas Kandagatla +X-Patchwork-Id: 10348701 +Message-Id: <20180418163415.21646-1-srinivas.kandagatla@linaro.org> +To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org +Cc: david.brown@linaro.org, robh+dt@kernel.org, + linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, + devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, + Srinivas Kandagatla +Date: Wed, 18 Apr 2018 17:34:15 +0100 + +From: Srinivas Kandagatla + +Remove the usage of IRQ_TYPE_NONE to fix loud warnings from +patch (83a86fbb5b56b "irqchip/gic: Loudly complain about +the use of IRQ_TYPE_NONE"). + +Signed-off-by: Srinivas Kandagatla +Reviewed-by: Thierry Escande +Tested-by: Thierry Escande +Reviewed-by: Amit Kucheria +Tested-by: Amit Kucheria +Tested-by: Vinod Koul +--- + arch/arm64/boot/dts/qcom/msm8916.dtsi | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi +index cfbd72186762..5d66a575c7e1 100644 +--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi ++++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi +@@ -180,7 +180,7 @@ + + pmu { + compatible = "arm,cortex-a53-pmu"; +- interrupts = ; ++ interrupts = ; + }; + + thermal-zones { +@@ -513,7 +513,7 @@ + blsp_i2c2: i2c@78b6000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078b6000 0x500>; +- interrupts = ; ++ interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; + clock-names = "iface", "core"; +@@ -528,7 +528,7 @@ + blsp_i2c4: i2c@78b8000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078b8000 0x500>; +- interrupts = ; ++ interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>; + clock-names = "iface", "core"; +@@ -543,7 +543,7 @@ + blsp_i2c6: i2c@78ba000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0x078ba000 0x500>; +- interrupts = ; ++ interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>; + clock-names = "iface", "core"; +@@ -575,7 +575,7 @@ + "mi2s-bit-clk3"; + #sound-dai-cells = <1>; + +- interrupts = <0 160 0>; ++ interrupts = <0 160 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "lpass-irq-lpaif"; + reg = <0x07708000 0x10000>; + reg-names = "lpass-lpaif"; +@@ -595,7 +595,7 @@ + reg = <0x07824900 0x11c>, <0x07824000 0x800>; + reg-names = "hc_mem", "core_mem"; + +- interrupts = <0 123 0>, <0 138 0>; ++ interrupts = <0 123 IRQ_TYPE_LEVEL_HIGH>, <0 138 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hc_irq", "pwr_irq"; + clocks = <&gcc GCC_SDCC1_APPS_CLK>, + <&gcc GCC_SDCC1_AHB_CLK>, +@@ -612,7 +612,7 @@ + reg = <0x07864900 0x11c>, <0x07864000 0x800>; + reg-names = "hc_mem", "core_mem"; + +- interrupts = <0 125 0>, <0 221 0>; ++ interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>, <0 221 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hc_irq", "pwr_irq"; + clocks = <&gcc GCC_SDCC2_APPS_CLK>, + <&gcc GCC_SDCC2_AHB_CLK>, +@@ -819,7 +819,7 @@ + iommu-ctx@2000 { + compatible = "qcom,msm-iommu-v1-ns"; + reg = <0x2000 0x1000>; +- interrupts = ; ++ interrupts = ; + }; + }; + +@@ -864,7 +864,7 @@ + "bus_clk", + "vsync_clk"; + +- interrupts = <0 72 0>; ++ interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; + + interrupt-controller; + #interrupt-cells = <1>; diff --git a/kernel.spec b/kernel.spec index 11669260e..9b4066ccb 100644 --- a/kernel.spec +++ b/kernel.spec @@ -600,6 +600,9 @@ Patch310: arm-dts-Add-am335x-pocketbeagle.patch # https://www.spinics.net/lists/linux-tegra/msg32920.html Patch311: arm-tegra-USB-driver-dependency-fix.patch +# https://patchwork.kernel.org/patch/10348701/ +Patch312: arm64-msm8916-fix-gic_irq_domain_translate-warnings.patch + # https://patchwork.kernel.org/patch/10354521/ # https://patchwork.kernel.org/patch/10354187/ # https://patchwork.kernel.org/patch/10306793/ @@ -1893,6 +1896,9 @@ fi # # %changelog +* Thu Jun 21 2018 Peter Robinson +- Add fix for 96boards DB410c + * Tue Jun 19 2018 Jeremy Cline - Re-apply the XPS 13 9370 backlight, ath10k bandwidth, and kexec patches - Don't log an error if RTC_NVMEM isn't enabled (rhbz 1568276) -- cgit