android_kernel_google_msm/drivers/coresight
Pratik Patel cae5ad6a24 coresight: explicitly control ETMCR & preserve prog & power down bits
Explicitly clear and set ETMCR power down bit as part of the ETM
register programming sequence since if this bit is set, writes to
some registers and fields might be ignored.

Moreover, ETMCR prog and power down bits are not directly modifiable
via the sysfs based MODE selction code. Instead they can implicitly get
modified by other code. So always preserve their values while
enabling ETM trace since the ctrl is a shadow of ETMCR bits that
are only modifiable via the sysfs based MODE selection code.

Change-Id: I842a42acdafb112759a1787ec6fc41140812020d
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-03-15 17:06:03 -07:00
..
control_trace.c coresight: A DLKM to abort trace on userspace abort 2013-03-15 17:05:58 -07:00
coresight-csr.c coresight: support for etr to usb output 2013-03-15 17:05:48 -07:00
coresight-etb.c coresight: sequence FFCR writes during __etb_disable 2013-03-15 17:05:54 -07:00
coresight-etm-cp14.c coresight: cp14 support for etm driver for krait v3 2013-03-15 17:05:59 -07:00
coresight-etm.c coresight: explicitly control ETMCR & preserve prog & power down bits 2013-03-15 17:06:03 -07:00
coresight-funnel.c coresight: fix whitespace in coresight drivers 2013-02-27 18:20:33 -08:00
coresight-priv.h coresight: cp14 support for etm driver for krait v3 2013-03-15 17:05:59 -07:00
coresight-replicator.c coresight: fix whitespace in coresight drivers 2013-02-27 18:20:33 -08:00
coresight-stm.c coresight: enable and disable STM during probe 2013-03-15 17:06:02 -07:00
coresight-tmc.c coresight: initialize buf during tmc etr probe 2013-03-15 17:06:01 -07:00
coresight-tpiu.c coresight: fix whitespace in coresight drivers 2013-02-27 18:20:33 -08:00
coresight.c coresight: ignore multiple calls to coresight_abort 2013-03-15 17:06:01 -07:00
Kconfig coresight: A DLKM to abort trace on userspace abort 2013-03-15 17:05:58 -07:00
Makefile coresight: cp14 support for etm driver for krait v3 2013-03-15 17:05:59 -07:00
of_coresight.c coresight: fix whitespace in coresight drivers 2013-02-27 18:20:33 -08:00