[PATCH 2/2] ARM: dts: imx: fix invalid #address-cells value

Shawn Guo shawn.guo at freescale.com
Fri Mar 14 09:31:46 EDT 2014


On Thu, Mar 13, 2014 at 10:40:05AM -0700, Tim Harvey wrote:
> The invalid value of #address-cells in the imx6 pcie host controller node
> causes of_irq_parse_raw() to incorrectly advance through an interrupt-map
> table of more than one interrupt.
> 
> This patch resolves this issue and allows proper interrupt mapping for an
> imx6 pcie host connected to a P2P bridge when using legacy interrupts.
> 
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> Cc: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
> Cc: Jingoo Han <jg1.han at samsung.com>
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: linux-samsung-soc <linux-samsung-soc at vger.kernel.org>
> Cc: Richard Zhu <r65037 at freescale.com>
> Cc: Sascha Hauer <kernel at pengutronix.de>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Bjorn Helgaas <bhelgaas at google.com>
> Cc: Simon Horman <horms at verge.net.au>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Ben Dooks <ben-linux at fluff.org>
> Cc: linux-tegra <linux-tegra at vger.kernel.org>
> Cc: Kukjin Kim <kgene.kim at samsung.com>
> Cc: Shawn Guo <shawn.guo at linaro.org>
> Cc: Grant Likely <grant.likely at linaro.org>
> ---
>  arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
> index af8d28d..2285299 100644
> --- a/arch/arm/boot/dts/imx6qdl.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl.dtsi
> @@ -49,7 +49,7 @@
>  	intc: interrupt-controller at 00a01000 {
>  		compatible = "arm,cortex-a9-gic";
>  		#interrupt-cells = <3>;
> -		#address-cells = <1>;
> +		#address-cells = <0>;
>  		#size-cells = <1>;

So we should probably just drop both #address-cells and #size-cells?  If
so, please help patch imx6sl.dtsi as well.

Shawn

>  		interrupt-controller;
>  		reg = <0x00a01000 0x1000>,
> -- 
> 1.8.3.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
> 




More information about the linux-arm-kernel mailing list