Message ID | 1543257955-8910-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
Series | [RFC,1/2] ARM: dts: imx6ul: Correct mask for GIC PPI interrupts | expand |
On Mon, Nov 26, 2018 at 04:45:54PM -0200, Fabio Estevam wrote: > The GIC_CPU_MASK_SIMPLE() macro should take as its argument the actual > number of CPU cores the interrupt controller is wired to. > > i.MX6UL contains a single Cortex-A7, hence the second interrupt specifier > cell for Private Peripheral Interrupts should use "GIC_CPU_MASK_SIMPLE(1)". > > Tested on a imx6ul-evk. > > Signed-off-by: Fabio Estevam <festevam@gmail.com> Applied both, thanks.
diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index c71d2d6..b8f5ef2 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -108,10 +108,10 @@ timer { compatible = "arm,armv7-timer"; - interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, - <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, - <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, - <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; interrupt-parent = <&intc>; status = "disabled"; };