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
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
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 --
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(-)
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
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
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(+),
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