* [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m
@ 2018-10-23 14:30 Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node Patryk Mungai
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Patryk Mungai @ 2018-10-23 14:30 UTC (permalink / raw)
To: cip-dev
Backport PMU support for iwg2[02]m to the CIP Kernel from mainline.
Removed [Backported to CIP] from original patches
Geert Uytterhoeven (2):
ARM: dts: r8a7745: Add PMU device node
ARM: dts: r8a7743: Add PMU device node
arch/arm/boot/dts/r8a7743.dtsi | 7 +++++++
arch/arm/boot/dts/r8a7745.dtsi | 7 +++++++
2 files changed, 14 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node
2018-10-23 14:30 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
@ 2018-10-23 14:30 ` Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: " Patryk Mungai
2018-10-25 6:43 ` [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Nobuhiro Iwamatsu
2 siblings, 0 replies; 5+ messages in thread
From: Patryk Mungai @ 2018-10-23 14:30 UTC (permalink / raw)
To: cip-dev
From: Geert Uytterhoeven <geert+renesas@glider.be>
Commit 9562a6b1d0f6a287f5dda16a4538526c59408927 upstream.
Enable support for the ARM Performance Monitor Units in the Cortex-A7
CPU cores on RZ/G1E by adding a device node for the PMU.
New Linux output:
hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7745.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 69b383c..54b556b 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -93,6 +93,13 @@
};
};
+ pmu {
+ compatible = "arm,cortex-a7-pmu";
+ interrupts-extended = <&gic GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
+ <&gic GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>, <&cpu1>;
+ };
+
soc {
compatible = "simple-bus";
interrupt-parent = <&gic>;
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: Add PMU device node
2018-10-23 14:30 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node Patryk Mungai
@ 2018-10-23 14:30 ` Patryk Mungai
2018-10-25 6:43 ` [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Nobuhiro Iwamatsu
2 siblings, 0 replies; 5+ messages in thread
From: Patryk Mungai @ 2018-10-23 14:30 UTC (permalink / raw)
To: cip-dev
From: Geert Uytterhoeven <geert+renesas@glider.be>
Commit fe60e933b053f00e53cd01fe323f25ebe8fecd52 upstream.
Enable support for the ARM Performance Monitor Units in the Cortex-A15
CPU cores on RZ/G1M by adding a device node for the PMU.
New Linux output:
hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
arch/arm/boot/dts/r8a7743.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index c78de96..264c8e0 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -76,6 +76,13 @@
};
};
+ pmu {
+ compatible = "arm,cortex-a15-pmu";
+ interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
+ <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&cpu0>, <&cpu1>;
+ };
+
soc {
compatible = "simple-bus";
interrupt-parent = <&gic>;
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m
2018-10-23 14:30 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: " Patryk Mungai
@ 2018-10-25 6:43 ` Nobuhiro Iwamatsu
2 siblings, 0 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2018-10-25 6:43 UTC (permalink / raw)
To: cip-dev
Hi, Patryk.
2018?10?23?(?) 23:30 Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>:
>
> Backport PMU support for iwg2[02]m to the CIP Kernel from mainline.
>
> Removed [Backported to CIP] from original patches
>
> Geert Uytterhoeven (2):
> ARM: dts: r8a7745: Add PMU device node
> ARM: dts: r8a7743: Add PMU device node
>
> arch/arm/boot/dts/r8a7743.dtsi | 7 +++++++
> arch/arm/boot/dts/r8a7745.dtsi | 7 +++++++
> 2 files changed, 14 insertions(+)
>
Applied to linux-4.4.y-cip, thanks.
Best regards,
Nobuhiro
^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m
@ 2018-10-15 10:23 Patryk Mungai
0 siblings, 0 replies; 5+ messages in thread
From: Patryk Mungai @ 2018-10-15 10:23 UTC (permalink / raw)
To: cip-dev
Backport PMU support for iwg2[02]m to the CIP Kernel from mainline.
Geert Uytterhoeven (2):
ARM: dts: r8a7745: Add PMU device node
ARM: dts: r8a7743: Add PMU device node
arch/arm/boot/dts/r8a7743.dtsi | 7 +++++++
arch/arm/boot/dts/r8a7745.dtsi | 7 +++++++
2 files changed, 14 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-10-25 6:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 14:30 [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 1/2] ARM: dts: r8a7745: Add PMU device node Patryk Mungai
2018-10-23 14:30 ` [cip-dev] [PATCH 2/2] ARM: dts: r8a7743: " Patryk Mungai
2018-10-25 6:43 ` [cip-dev] [PATCH 0/2] Add PMU support to iwg2[02]m Nobuhiro Iwamatsu
-- strict thread matches above, loose matches on Subject: below --
2018-10-15 10:23 Patryk Mungai
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.