summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSe Wang (Patrick) Oh <sewango@codeaurora.org>2015-05-28 12:37:22 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:08:51 -0700
commita1c9d666be3e2c85c914b82cd1a201a3fd2be42d (patch)
tree6c7cbdd28fcc2d91bd1fd36f39884bd35e37d746 /include/linux
parent56e8f397e636a792943c75b4766437b11bb49a28 (diff)
arm: traps: emulate a MRCC instruction reading CNTPCT register
A user space application is planned to support feature for synchronized timestamp among debug packets across peripherals. As part of the feature, it is responsible for providing physical timer count value to user space. If memory mapped timer is used in ARM arch, Usersapce can't read the physical timer count directly with a MRCC ASM instruction. So Kernel traps the instruction and returns the physical timer count. Change-Id: Ia3f0d9c8c06ca9e2204187890c0c57c8640e4f7e Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org> [abhimany: minor merge conflict resolution] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions