HomeFreeBSD

x86: Allow sharing of perfomance counter interrupts

Description

x86: Allow sharing of perfomance counter interrupts

This patch refactors the Performance Counter interrupt setup code to
allow sharing the interrupt line between multiple drivers.
More specifically, Performance Counter interrupts are used by both
hwpmc(4) and hwt(4)'s upcoming Intel Processor Trace backend.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D46420

Details

Provenance
bnovkovAuthored on Sun, Dec 15, 2:00 PM
Reviewer
kib
Differential Revision
D46420: x86: Allow sharing of perfomance counter interrupts
Parents
rG459dc427873c: x86: Refactor kernel-mode NMI handling
Branches
Unknown
Tags
Unknown