HomeFreeBSD

Fix HWPMC interrupt handling in Counting Mode

Description

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

Details

Provenance
zbbAuthored on
Differential Revision
D10910: Fix HWPMC interrupt handling in Counting Mode
Parents
rS319910: Add detection of CPU class for ARMv6/v7
Branches
Unknown
Tags
Unknown