Page MenuHomeFreeBSD

D61680.1795024389.diff
No OneTemporary

Authored By
Unknown
Size
438 B
Referenced Files
None
Subscribers
None

D61680.1795024389.diff

diff --git a/sys/amd64/pt/pt.c b/sys/amd64/pt/pt.c
--- a/sys/amd64/pt/pt.c
+++ b/sys/amd64/pt/pt.c
@@ -776,12 +776,9 @@
static void
pt_topa_status_clear(void)
{
- uint64_t reg;
- reg = rdmsr(MSR_IA_GLOBAL_STATUS_RESET);
- reg &= ~GLOBAL_STATUS_FLAG_TRACETOPAPMI;
- reg |= GLOBAL_STATUS_FLAG_TRACETOPAPMI;
- wrmsr(MSR_IA_GLOBAL_STATUS_RESET, reg);
+ wrmsr(MSR_IA_GLOBAL_STATUS_RESET,
+ GLOBAL_STATUS_FLAG_TRACETOPAPMI);
}
/*

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 18, 5:53 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41829331
Default Alt Text
D61680.1795024389.diff (438 B)

Event Timeline