[tip: x86/misc] x86/msr: Add a pointer to an URL which contains further details

From: tip-bot2 for Borislav Petkov
Date: Tue Dec 08 2020 - 04:23:09 EST


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 <bp@xxxxxxx>
AuthorDate: Sat, 05 Dec 2020 01:19:45 +01:00
Committer: Borislav Petkov <bp@xxxxxxx>
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.

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20201205002825.19107-1-bp@xxxxxxxxx
---
arch/x86/kernel/msr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index 95e6b97..8a67d1f 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -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 x86@xxxxxxxxxx.\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;
}