Skip to contentSkip to conversation

ARM: dts: rockchip: add rk3288 arm-pmu irq affinity

PATCH New Heiko Stübner 2 participants 3 messages Jul 15, 2015 – Jul 16, 2015

Subsystems (2)
lore
Share & tools
lore

Heiko Stübner

author maintainer
#0 lore raw

PATCH 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.

---
 arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm/boot/dts/rk3288.dtsi +4 -3
index 22e9221..2db91c9 100644
@@ -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
#1 lore raw

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.

---
 arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm/boot/dts/rk3288.dtsi +4 -4
index 22e9221..2db91c9 100644
@@ -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

author maintainer Applied
#2 lore raw

PATCH 1/1 ARM: dts: rockchip: add rk3288 arm-pmu irq affinity

In reply to Heiko Stübner

Am 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.

---

applied to my dts branch for 4.3 with Sonny's review.