From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/2] add the ARM PMU on Meson8 and Meson8b
Date: Sun, 22 Apr 2018 12:45:00 +0200 [thread overview]
Message-ID: <20180422104502.2942-1-martin.blumenstingl@googlemail.com> (raw)
Meson8 uses Cortex-A9 cores and Meson8b uses Cortex-A5 cores. As most
Cortex-A5/A9 implementation these Amlogic SoCs also come with a
built-in PMU for counting cpu and cache events like cache misses and
hits.
Testing was done with:
# perf stat -a stress --cpu 4
(wait for ~8 seconds, then CTRL+C)
stress: info: [347] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd
stress: Interrupt
Performance counter stats for 'system wide':
33096.764000 cpu-clock (msec) # 4.000 CPUs utilized
587 context-switches # 0.018 K/sec
6 cpu-migrations # 0.000 K/sec
146 page-faults # 0.004 K/sec
39601836695 cycles # 1.197 GHz
28734941189 instructions # 0.73 insn per cycle
3326006882 branches # 100.493 M/sec
12294901 branch-misses # 0.37% of all branches
8.274358000 seconds time elapsed
# grep arm-pmu /proc/interrupts
29: 7 0 0 0 GIC-0 169 Level arm-pmu
30: 0 7 0 0 GIC-0 170 Level arm-pmu
31: 0 0 7 0 GIC-0 185 Level arm-pmu
32: 0 0 0 7 GIC-0 186 Level arm-pmu
Martin Blumenstingl (2):
ARM: dts: meson8: add the cortex-a9-pmu compatible PMU
ARM: dts: meson8b: add the cortex-a5-pmu compatible PMU
arch/arm/boot/dts/meson8.dtsi | 17 +++++++++++++----
arch/arm/boot/dts/meson8b.dtsi | 17 +++++++++++++----
2 files changed, 26 insertions(+), 8 deletions(-)
--
2.17.0
next reply other threads:[~2018-04-22 10:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-22 10:45 Martin Blumenstingl [this message]
2018-04-22 10:45 ` [PATCH 1/2] ARM: dts: meson8: add the cortex-a9-pmu compatible PMU Martin Blumenstingl
2018-04-22 10:45 ` [PATCH 2/2] ARM: dts: meson8b: add the cortex-a5-pmu " Martin Blumenstingl
2018-04-27 19:08 ` [PATCH 0/2] add the ARM PMU on Meson8 and Meson8b Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180422104502.2942-1-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=linus-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®