Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177683407
D61680.1795024389.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
438 B
Referenced Files
None
Subscribers
None
D61680.1795024389.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D61680: amd64/pt.c: Avoid clearing unrelated bits in pt_topa_status_clear
Attached
Detach File
Event Timeline