[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1555594712-18341-1-git-send-email-l.luba@partner.samsung.com>
Date: Thu, 18 Apr 2019 15:38:28 +0200
From: Lukasz Luba <l.luba@...tner.samsung.com>
To: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: b.zolnierkie@...sung.com, krzk@...nel.org, robh+dt@...nel.org,
mark.rutland@....com, cw00.choi@...sung.com,
kyungmin.park@...sung.com, m.szyprowski@...sung.com,
s.nawrocki@...sung.com, myungjoo.ham@...sung.com, kgene@...nel.org,
l.luba@...tner.samsung.com, willy.mh.wolff.ml@...il.com
Subject: [PATCH v2 0/4] Exynos Performance Monitoring Counters enhancements
Hi all,
This patch set extends PPMU on Samsung Exynos by choosing type of data
which shell be counter in the PPMU registers.
It is possible to count e.g. read or write requests, read or write data
or latency.
A new field has been added in the DT 'event' node called 'event-data-type'.
It is them used during the setup of the counter. In the prevoius
implementation there was always one option used: count read+write data.
Sometimes we need more precised information and this patch set tries to
address it.
Changes:
v2:
- removed new entry in MAINTAINERS file as suggested by Bartek Zolnierkiewicz
and added new file to existing list for devfreq events
- added in the dt-bindings/pmu/exynos_ppmu.h 2 new entries for RO and WO for
counters in Exynos5433
- changed initialization with default values when data_type is not provided
in DT (as sugessted by Chanwoo)
- added 4th patch which adds 'event-data-type' to 'event' node for Exynos4412
PPMU events (asked by Chanwoo)
Regards,
Lukasz Luba
Lukasz Luba (4):
include: dt-bindings: add Performance Monitoring Unit for Exynos
drivers: devfreq: events: extend events by type of counted data
Documentation: devicetree: add PPMU events description
DT: arm: exynos4412: add event data type which is monitored
.../bindings/devfreq/event/exynos-ppmu.txt | 18 +++++++
MAINTAINERS | 1 +
arch/arm/boot/dts/exynos4412-ppmu-common.dtsi | 10 ++++
drivers/devfreq/event/exynos-ppmu.c | 61 +++++++++++++++-------
include/dt-bindings/pmu/exynos_ppmu.h | 26 +++++++++
include/linux/devfreq-event.h | 6 +++
6 files changed, 103 insertions(+), 19 deletions(-)
create mode 100644 include/dt-bindings/pmu/exynos_ppmu.h
--
2.7.4
Powered by blists - more mailing lists