[PATCH 1/6] coresight: add ETM management registers

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org Add notion of ETM OS lock, save and restore registers. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/include/asm/hardware/coresight.h |8 ++-- arch/arm/kernel/etm.c |2 +- 2 files changed, 7

[PATCH 2/6] coresight: cosmetic fixes

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org Use BIT() macro whenever it is sensible to do so. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/include/asm/hardware/coresight.h | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH 4/6] omap3: move EMU peripheral addresses to a platform header

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org These addresses are also needed for the OFF code to save/restore the contexts of the EMU peripherals correctly. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/mach-omap2/emu.c| 14 --

[PATCH 3/6] etm: do a dummy read from OSSRR during initialization

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org The first read from ETM OS save and restore register after the power down bit deassertion returns garbage. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/kernel/etm.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)

[PATCH 6/6] omap3: make coresight register save across OFF modes a sysfs option

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org This adds a sysfs file at /sys/power/coresight_save which is used to control if the ETM and debug components' states should be saved and restored across OFF modes. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/mach-omap2/Makefile

[PATCH 5/6] save and restore etm state across core OFF modes

2010-05-01 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org This prevents ETM stalls whenever core enters OFF mode. Original patch author is Richard Woodruff r-woodru...@ti.com. This version of the patch makes use of the ETM OS save/restore mechanism, which takes about 55 words in omap3_arm_context[] instead of

[PATCH] [RFC] OMAP: eliminate OMAP_MAX_NR_PORTS

2009-10-08 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/mach-omap1/serial.c |2 +- arch/arm/mach-omap2/serial.c |6 +++--- arch/arm/plat-omap/include/mach/serial.h |4 3 files changed, 4 insertions(+),

[PATCH 1/2] arm/omap3: a driver for on-chip ETM and ETB

2009-10-07 Thread virtuoso
From: Alexander Shishkin virtu...@slind.org This driver implements /dev/tracebuf and some control files for ETM and ETB in sysfs. Signed-off-by: Alexander Shishkin virtu...@slind.org --- arch/arm/Kconfig.debug|8 + arch/arm/include/asm/hardware/coresight.h | 164