Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157789123
D47989.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
479 B
Referenced Files
None
Subscribers
None
D47989.id.diff
View Options
diff --git a/sys/dev/hwpmc/hwpmc_x86.c b/sys/dev/hwpmc/hwpmc_x86.c
--- a/sys/dev/hwpmc/hwpmc_x86.c
+++ b/sys/dev/hwpmc/hwpmc_x86.c
@@ -248,6 +248,7 @@
continue;
md->pmd_classdep[i].pcd_caps &= ~PMC_CAP_INTERRUPT;
}
+ nmi_register_handler(md->pmd_intr);
return (md);
}
@@ -257,6 +258,7 @@
{
lapic_disable_pcint();
+ nmi_remove_handler(md->pmd_intr);
if (cpu_vendor_id == CPU_VENDOR_AMD ||
cpu_vendor_id == CPU_VENDOR_HYGON)
pmc_amd_finalize(md);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 26, 5:21 AM (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33524542
Default Alt Text
D47989.id.diff (479 B)
Attached To
Mode
D47989: hwpmc_x86: Register interrupt handler using the dynamic NMI registration interface
Attached
Detach File
Event Timeline
Log In to Comment