From: Alexander Shishkin
This prevents ETM stalls whenever core enters OFF mode. Original patch
author is Richard Woodruff .
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 128. Also,
saving ETM context can be
From: Alexander Shishkin
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
---
arch/arm/mach-omap2/Makefile|1 +
arch/arm/mach-omap2/debug
From: Alexander Shishkin
These addresses are also needed for the OFF code to save/restore the
contexts of the EMU peripherals correctly.
Signed-off-by: Alexander Shishkin
---
arch/arm/mach-omap2/emu.c| 14 --
arch/arm/plat-omap/include/plat/io.h | 20 +++
From: Alexander Shishkin
Use BIT() macro whenever it is sensible to do so.
Signed-off-by: Alexander Shishkin
---
arch/arm/include/asm/hardware/coresight.h | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/arch/arm/include/asm/hardware/coresight.h
From: Alexander Shishkin
Add notion of ETM OS lock, save and restore registers.
Signed-off-by: Alexander Shishkin
---
arch/arm/include/asm/hardware/coresight.h |8 ++--
arch/arm/kernel/etm.c |2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/a
From: Alexander Shishkin
The first read from ETM OS save and restore register after the power
down bit deassertion returns garbage.
Signed-off-by: Alexander Shishkin
---
arch/arm/kernel/etm.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/kernel/etm.c b/ar
Hi,
I've finally got around to doing this. This is a rework of the previously
posted [1] patch that implements ETM and JTAG context saving. There are
two major changes since previous version:
* coresight OS save/restore mechanism is used for saving the ETM context,
so that it actually occupi
From: Alexander Shishkin
Signed-off-by: Alexander Shishkin
---
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(+), 8 deletions(-)
diff --git a/arch/ar
From: Alexander Shishkin
This driver implements /dev/tracebuf and some control files for ETM
and ETB in sysfs.
Signed-off-by: Alexander Shishkin
---
arch/arm/Kconfig.debug|8 +
arch/arm/include/asm/hardware/coresight.h | 164
arch/arm/kernel/Makefile