summaryrefslogtreecommitdiffstats
path: root/firmware/cis
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2016-08-11 10:50:42 +0100
committerPawel Moll <pawel.moll@arm.com>2016-08-26 09:16:13 +0100
commit5b1e01f3ce15d3a8f2af5d38cc31f0d5c3c11dae (patch)
tree1e1a1d6f3b2b1c48fe8e15bd4c08792ccee9821a /firmware/cis
parent0811ef7e2f5470833a353426a6fbe0b845aea926 (diff)
downloadop-kernel-dev-5b1e01f3ce15d3a8f2af5d38cc31f0d5c3c11dae.zip
op-kernel-dev-5b1e01f3ce15d3a8f2af5d38cc31f0d5c3c11dae.tar.gz
bus: arm-ccn: fix hrtimer registration
The CCN PMU driver has a single hrtimer, used to simulate a periodic interrupt on systems where the overflow interrupt is not possible to use. The hrtimer is started when any event is started, and cancelled when any event is stopped. Thus, stopping a single event is sufficient to disable to hrtimer, and overflows (of other events) may be lost. To avoid this, this patch reworks the hrtimer start/cancel to only occur when the first event is added to a PMU, and the last event removed, making use of the existing bitmap counting active events. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'firmware/cis')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud