diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2015-09-08 04:26:13 (GMT) |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-29 18:34:20 (GMT) |
commit | 96b0eebcc6a14e3bdb9ff0e7176fbfc225bdde94 (patch) | |
tree | afd6c0fcecda21c73164e7fee6c9bef65ee50e16 /Documentation | |
parent | 051ff581ce70e822729e9474941f3c206cbf7436 (diff) | |
download | linux-96b0eebcc6a14e3bdb9ff0e7176fbfc225bdde94.tar.xz |
arm64: KVM: Add access handler for PMCNTENSET and PMCNTENCLR register
Since the reset value of PMCNTENSET and PMCNTENCLR is UNKNOWN, use
reset_unknown for its reset handler. Add a handler to emulate writing
PMCNTENSET or PMCNTENCLR register.
When writing to PMCNTENSET, call perf_event_enable to enable the perf
event. When writing to PMCNTENCLR, call perf_event_disable to disable
the perf event.
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions