[PATCH] ARM: dts: rockchip: add rk3288 arm-pmu irq affinity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 15, 2015 at 2:22 PM, Heiko St?bner <heiko at 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 at 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 at chromium.org>



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux