devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/3] Improved perf support for imx53/ppd
@ 2018-02-06 14:26 Sebastian Reichel
  2018-02-06 14:26 ` [PATCHv2 1/3] drivers/perf: arm_pmu: Add platform hardware setup hooks Sebastian Reichel
       [not found] ` <20180206142629.534-1-sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Reichel @ 2018-02-06 14:26 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Fabio Estevam, Will Deacon, Mark Rutland
  Cc: Russell King, Ian Ray, Nandor Han, Rob Herring,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi,

This improves perf on imx53 by adding support for enabling the Secure
Debug Enable Register (SDER) SUNIDEN bit. This unlocks new
functionality:

ppd before patchset# perf stat -e cycles,instructions sleep 1 2>&1 | grep instructions
                 0      instructions              #    0.00  insn per cycle

ppd  after patchset# perf stat -e cycles,instructions sleep 1 2>&1 | grep instructions
            177864      instructions              #    0.05  insn per cycle

Changes since PATCHv1:
 * Update DTS patch to reference imx53.dtsi's pmu node
 * Remove a superfluous newline in first patch

-- Sebastian

Peter Senna Tschudin (2):
  ARM: imx53: add SoC specific PMU setup
  ARM: dts: imx53: PPD: Enable secure-reg-access

Sebastian Reichel (1):
  drivers/perf: arm_pmu: Add platform hardware setup hooks.

 arch/arm/boot/dts/imx53-ppd.dts |  4 +++
 arch/arm/boot/dts/imx53.dtsi    |  2 +-
 arch/arm/mach-imx/mach-imx53.c  | 68 +++++++++++++++++++++++++++++++++++++++++
 drivers/perf/arm_pmu.c          | 12 ++++++++
 include/linux/perf/arm_pmu.h    |  5 +++
 5 files changed, 90 insertions(+), 1 deletion(-)

-- 
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2018-02-06 17:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 14:26 [PATCHv2 0/3] Improved perf support for imx53/ppd Sebastian Reichel
2018-02-06 14:26 ` [PATCHv2 1/3] drivers/perf: arm_pmu: Add platform hardware setup hooks Sebastian Reichel
     [not found]   ` <20180206142629.534-2-sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
2018-02-06 14:53     ` Robin Murphy
     [not found] ` <20180206142629.534-1-sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
2018-02-06 14:26   ` [PATCHv2 2/3] ARM: imx53: add SoC specific PMU setup Sebastian Reichel
     [not found]     ` <20180206142629.534-3-sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
2018-02-06 17:08       ` Fabio Estevam
2018-02-06 14:26   ` [PATCHv2 3/3] ARM: dts: imx53: PPD: Enable secure-reg-access Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).