commit | 05fe91e64c8cbd1942793f82a2b3d0a28ff12967 | [log] [tgz] |
---|---|---|
author | Pratik Patel <pratikp@codeaurora.org> | Fri Aug 10 10:47:08 2012 -0700 |
committer | Pratik Patel <pratikp@codeaurora.org> | Fri Sep 07 15:47:32 2012 -0700 |
tree | 388948723f4653586154727010a30fb9f188089a | |
parent | 32a634822f0d559760da5e63664f5074dc1a4808 [diff] |
coresight: take care of tmc etr wrap around & offset calculation Ensure that buffer pointer points to the right location while trying to read TMC in ETR circular buffer mode when we wrap around. TMC in ETR circular buffer mode tracks the physical address in the RWP register (in contrast to pure offsets). Hence subtract it from the base physical address to get the offset. Change-Id: Ice1170dcd63928dd8304c421800848e036386b88 Signed-off-by: Pratik Patel <pratikp@codeaurora.org>