diff mbox series

[v5,4/4] arm64: dts: add msm8996 compatible to gicv3

Message ID 20181210135633.30283-5-srinivas.kandagatla@linaro.org (mailing list archive)
State New, archived
Headers show
Series irqchip/gic-v3: Add support to DT based quirk for msm8996 | expand

Commit Message

Srinivas Kandagatla Dec. 10, 2018, 1:56 p.m. UTC
Add compatible to gicv3 node to enable quirk required to restrict writing
to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor.

With this quirk MSM8996 can at least boot out of mainline, which can help
community to work with boards based on MSM8996.

Without this patch Qualcomm DB820c board reboots on mainline.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marc Zyngier Dec. 13, 2018, 5:26 p.m. UTC | #1
On Mon, 10 Dec 2018 13:56:33 +0000,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org> wrote:
> 
> Add compatible to gicv3 node to enable quirk required to restrict writing
> to GICR_WAKER register which is restricted on msm8996 SoC in Hypervisor.
> 
> With this quirk MSM8996 can at least boot out of mainline, which can help
> community to work with boards based on MSM8996.
> 
> Without this patch Qualcomm DB820c board reboots on mainline.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index 8585c61e32ef..cd9650cea05d 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -404,7 +404,7 @@
>  		};
>  
>  		intc: interrupt-controller@9bc0000 {
> -			compatible = "arm,gic-v3";
> +			compatible = "qcom,msm8996-gic-v3", "arm,gic-v3";
>  			#interrupt-cells = <3>;
>  			interrupt-controller;
>  			#redistributor-regions = <1>;

I've applied the first 3 patches to irqchip/next. Please route this
one via arm-soc.

Thanks,

	M.
Srinivas Kandagatla Dec. 13, 2018, 5:56 p.m. UTC | #2
On 13/12/2018 17:26, Marc Zyngier wrote:
> I've applied the first 3 patches to irqchip/next. Please route this
> one via arm-soc.

Thanks, I will request Andy to take in his next pull request!

--srini	
> 
> Thanks,
> 
> 	M.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 8585c61e32ef..cd9650cea05d 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -404,7 +404,7 @@ 
 		};
 
 		intc: interrupt-controller@9bc0000 {
-			compatible = "arm,gic-v3";
+			compatible = "qcom,msm8996-gic-v3", "arm,gic-v3";
 			#interrupt-cells = <3>;
 			interrupt-controller;
 			#redistributor-regions = <1>;