jhb
d51166f15e
Adjust the handling of the local APIC PMC interrupt vector:
...
- Provide lapic_disable_pmc(), lapic_enable_pmc(), and lapic_reenable_pmc()
routines in the local APIC code that the hwpmc(4) driver can use to
manage the local APIC PMC interrupt vector.
- Do not enable the local APIC PMC interrupt vector by default when
HWPMC_HOOKS is enabled. Instead, the hwpmc(4) driver explicitly
enables the interrupt when it is succesfully initialized and disables
the interrupt when it is unloaded. This avoids enabling the interrupt
on unsupported CPUs which may result in spurious NMIs.
Reported by: rnoland
Reviewed by: jkoshy
Approved by: re (kib)
MFC after: 2 weeks
2009-08-14 21:05:08 +00:00
..
2009-04-15 17:31:22 +00:00
2009-03-11 15:30:12 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-12-11 15:56:30 +00:00
2009-08-14 21:05:08 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 13:09:26 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-05-03 17:47:21 +00:00
2008-11-22 16:14:52 +00:00
2009-07-22 14:32:38 +00:00
2009-01-05 21:51:49 +00:00
2008-11-22 16:14:52 +00:00
2009-03-17 12:50:16 +00:00
2009-04-08 19:10:20 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-03-05 16:56:16 +00:00
2009-04-01 13:09:26 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-07-01 17:20:07 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-02-08 07:03:34 +00:00
2008-11-22 16:14:52 +00:00
2009-05-13 17:53:04 +00:00
2009-07-22 14:32:38 +00:00
2008-11-22 16:14:52 +00:00
2009-04-15 17:31:22 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-03-13 20:39:04 +00:00
2009-07-05 17:45:48 +00:00
2009-07-09 09:34:11 +00:00
2008-11-22 16:14:52 +00:00
2009-05-06 17:48:39 +00:00
2009-07-12 23:31:20 +00:00
2009-08-14 21:05:08 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 13:09:26 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 12:44:17 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 13:09:26 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 13:44:28 +00:00
2009-08-13 17:09:45 +00:00
2009-05-13 17:53:04 +00:00
2008-06-20 05:22:09 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 13:09:26 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-04-01 12:44:17 +00:00
2008-11-22 16:14:52 +00:00
2009-07-12 23:31:20 +00:00
2009-05-16 22:08:00 +00:00