HomeFreeBSD

Call pmc_hook() correctly in the ARM64 interrupt handler

Description

Call pmc_hook() correctly in the ARM64 interrupt handler

pmc_hook() was called only in case of the stray interrupt but should
rather be called on each interrupt. Move in to the arm_cpu_intr()
handler, out of the critical section too.

Reviewed by: br
Obtained from: Semihalf
Sponsored by: Cavium
Differential Revision: https://reviews.freebsd.org/D5161

Details

Provenance
zbbAuthored on
Reviewer
br
Differential Revision
D5161: Call pmc_hook() correctly in the ARM64 interrupt handler
Parents
rS295515: Introduce bus_bind_intr method for ARM64
Branches
Unknown
Tags
Unknown