coresight-stm: support mmapping channel regions with mmio_addr
authorChunyan Zhang <zhang.chunyan@linaro.org>
Tue, 21 Jun 2016 02:24:36 +0000 (10:24 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 14:24:32 +0000 (08:24 -0600)
commit3e0b39a4df28605aede959ba940d65c9a97d4c5d
treeafb05cd54ac0c54d94b308439b5531d02f790b80
parente05b386c878d60fdd92aef5617a339eb43e1e7e8
coresight-stm: support mmapping channel regions with mmio_addr

CoreSight STM device allows direct mapping of the channel regions to
userspace for zero-copy writing. To support this ability, the STM
framework has provided a hook 'mmio_addr', this patch just implemented
this hook for CoreSight STM.

This patch also added an item into 'channel_space' to save the physical
base address of channel region which mmap operation needs to know.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-stm.c
This page took 0.027639 seconds and 5 git commands to generate.