]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix HWPMC interrupt handling in Counting Mode
authorzbb <zbb@FreeBSD.org>
Tue, 13 Jun 2017 18:51:23 +0000 (18:51 +0000)
committerzbb <zbb@FreeBSD.org>
Tue, 13 Jun 2017 18:51:23 +0000 (18:51 +0000)
commit0c419353c58e29ed05b23e3b489b191f508e94b4
tree96b32a95381d75c82f84657b179eb58d4c698881
parente843e48d3646bd18f8480005464fe31a71692d13
Fix HWPMC interrupt handling in Counting Mode

Additionally:
 - Fix support for Cycle Counter (evsel == 0xFF)
 - Stop and mask interrupts from all counters on init and finish

Submitted by: Michal Mazur <mkm@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield, Netgate
Differential revision: https://reviews.freebsd.org/D10910
sys/dev/hwpmc/hwpmc_armv7.c
sys/sys/pmc.h