Skip to contentSkip to conversation

x86/msr: Add a pointer to an URL which contains further details

PATCH Applied Borislav Petkov 2 participants 2 messages Dec 5, 2020 – Dec 8, 2020

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 x86/msr: Add a pointer to an URL which contains further details

From: Borislav Petkov <[email protected]>

After having collected the majority of reports about MSRs being written by userspace tools and what tools those are, and all newer reports mostly repeating, add an URL where detailed information is gathered and kept up-to-date.

---
 arch/x86/kernel/msr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/kernel/msr.c +2 -1
index 95e6b97b7d8b..8a67d1fa8dc5 100644
@@ -99,8 +99,9 @@ static int filter_write(u32 reg)
 	if (!__ratelimit(&fw_rs))
 		return 0;
 
-	pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n",
+	pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d).\n",
 	        reg, current->comm, current->pid);
+	pr_warn("See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details.\n");
 
 	return 0;
 }
Signature · 1 line
2.21.0
#1 lore raw
The following commit has been merged into the x86/misc branch of tip:

The following commit has been merged into the x86/misc branch of tip:

Commit-ID:     f77f420d34754b8d08ac6ebf094ff7193023196a
Gitweb:        https://git.kernel.org/tip/f77f420d34754b8d08ac6ebf094ff7193023196a
Author:        Borislav Petkov <[email protected]>
AuthorDate:    Sat, 05 Dec 2020 01:19:45 +01:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Tue, 08 Dec 2020 10:17:08 +01:00

x86/msr: Add a pointer to an URL which contains further details

After having collected the majority of reports about MSRs being written by userspace tools and what tools those are, and all newer reports mostly repeating, add an URL where detailed information is gathered and kept up-to-date.

---
 arch/x86/kernel/msr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/kernel/msr.c +2 -1
index 95e6b97..8a67d1f 100644
@@ -99,8 +99,9 @@ static int filter_write(u32 reg)
 	if (!__ratelimit(&fw_rs))
 		return 0;
 
-	pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n",
+	pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d).\n",
 	        reg, current->comm, current->pid);
+	pr_warn("See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/about for details.\n");
 
 	return 0;
 }