ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
Subsystems (2)
Heiko Stübner
maintainerPATCH 1/1 ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
The rk3288 uses spi irqs for the arm-pmu on individual cpu cores, so needs the affinity to them defined.
Signed-off-by Heiko Stuebner <[email protected]>
--- arch/arm/boot/dts/rk3288.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm/boot/dts/rk3288.dtsi +4 -3
@@ -78,6 +78,7 @@ <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; }; cpus {
@@ -110,19 +111,19 @@ clock-latency = <40000>; clocks = <&cru ARMCLK>; }; - cpu at 501 { + cpu1: cpu at 501 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x501>; resets = <&cru SRST_CORE1>; }; - cpu at 502 { + cpu2: cpu at 502 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x502>; resets = <&cru SRST_CORE2>; }; - cpu at 503 { + cpu3: cpu at 503 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x503>;
Signature · 1 line
2.1.4
PATCH 1/1 ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
Quoted 44 lines · Heiko St?bner
The rk3288 uses spi irqs for the arm-pmu on individual cpu cores, so needs the affinity to them defined.
Signed-off-by Heiko Stuebner <[email protected]>--- arch/arm/boot/dts/rk3288.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)arch/arm/boot/dts/rk3288.dtsi +4
-4@@ -78,6 +78,7 @@ <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; }; cpus {@@ -110,19 +111,19 @@ clock-latency = <40000>; clocks = <&cru ARMCLK>; }; - cpu at 501 { + cpu1: cpu at 501 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x501>; resets = <&cru SRST_CORE1>; }; - cpu at 502 { + cpu2: cpu at 502 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x502>; resets = <&cru SRST_CORE2>; }; - cpu at 503 { + cpu3: cpu at 503 { device_type = "cpu"; compatible = "arm,cortex-a12"; reg = <0x503>; --
Quoted 3 lines
2.1.4
Reviewed-by Sonny Rao <[email protected]>
PATCH 1/1 ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
In reply to Heiko StübnerAm Mittwoch, 15. Juli 2015, 23:22:20 schrieb Heiko St?bner:
Quoted 5 lines
The rk3288 uses spi irqs for the arm-pmu on individual cpu cores, so needs the affinity to them defined.
Signed-off-by Heiko Stuebner <[email protected]>---
applied to my dts branch for 4.3 with Sonny's review.