All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
@ 2015-07-15 21:22 ` Heiko Stübner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2015-07-15 21:22 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Sonny Rao, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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 <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
---
 arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 22e9221..2db91c9 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -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@501 {
+		cpu1: cpu@501 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a12";
 			reg = <0x501>;
 			resets = <&cru SRST_CORE1>;
 		};
-		cpu@502 {
+		cpu2: cpu@502 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a12";
 			reg = <0x502>;
 			resets = <&cru SRST_CORE2>;
 		};
-		cpu@503 {
+		cpu3: cpu@503 {
 			device_type = "cpu";
 			compatible = "arm,cortex-a12";
 			reg = <0x503>;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
@ 2015-07-15 21:22 ` Heiko Stübner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2015-07-15 21:22 UTC (permalink / raw)
  To: linux-arm-kernel

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 <heiko@sntech.de>
---
 arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 22e9221..2db91c9 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -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>;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
  2015-07-15 21:22 ` Heiko Stübner
@ 2015-07-16 18:24   ` Sonny Rao
  -1 siblings, 0 replies; 6+ messages in thread
From: Sonny Rao @ 2015-07-16 18:24 UTC (permalink / raw)
  To: Heiko Stübner; +Cc: open list:ARM/Rockchip SoC..., linux-arm-kernel

On Wed, Jul 15, 2015 at 2:22 PM, Heiko Stübner <heiko@sntech.de> wrote:
> 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 <heiko@sntech.de>
> ---
>  arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
> index 22e9221..2db91c9 100644
> --- a/arch/arm/boot/dts/rk3288.dtsi
> +++ b/arch/arm/boot/dts/rk3288.dtsi
> @@ -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@501 {
> +               cpu1: cpu@501 {
>                         device_type = "cpu";
>                         compatible = "arm,cortex-a12";
>                         reg = <0x501>;
>                         resets = <&cru SRST_CORE1>;
>                 };
> -               cpu@502 {
> +               cpu2: cpu@502 {
>                         device_type = "cpu";
>                         compatible = "arm,cortex-a12";
>                         reg = <0x502>;
>                         resets = <&cru SRST_CORE2>;
>                 };
> -               cpu@503 {
> +               cpu3: cpu@503 {
>                         device_type = "cpu";
>                         compatible = "arm,cortex-a12";
>                         reg = <0x503>;
> --
> 2.1.4
>
>

Reviewed-by: Sonny Rao <sonnyrao@chromium.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
@ 2015-07-16 18:24   ` Sonny Rao
  0 siblings, 0 replies; 6+ messages in thread
From: Sonny Rao @ 2015-07-16 18:24 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 15, 2015 at 2:22 PM, Heiko St?bner <heiko@sntech.de> wrote:
> 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 <heiko@sntech.de>
> ---
>  arch/arm/boot/dts/rk3288.dtsi | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
> index 22e9221..2db91c9 100644
> --- a/arch/arm/boot/dts/rk3288.dtsi
> +++ b/arch/arm/boot/dts/rk3288.dtsi
> @@ -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>;
> --
> 2.1.4
>
>

Reviewed-by: Sonny Rao <sonnyrao@chromium.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
  2015-07-15 21:22 ` Heiko Stübner
@ 2015-07-16 20:25   ` Heiko Stübner
  -1 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2015-07-16 20:25 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Sonny Rao, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Am Mittwoch, 15. Juli 2015, 23:22:20 schrieb 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 <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
> ---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity
@ 2015-07-16 20:25   ` Heiko Stübner
  0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2015-07-16 20:25 UTC (permalink / raw)
  To: linux-arm-kernel

Am Mittwoch, 15. Juli 2015, 23:22:20 schrieb 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 <heiko@sntech.de>
> ---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-16 20:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15 21:22 [PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity Heiko Stübner
2015-07-15 21:22 ` Heiko Stübner
2015-07-16 18:24 ` Sonny Rao
2015-07-16 18:24   ` Sonny Rao
2015-07-16 20:25 ` Heiko Stübner
2015-07-16 20:25   ` Heiko Stübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.