x86/msr: Downgrade unrecognized MSR message
Subsystems (2)
Borislav Petkov
maintainerPATCH 1/1 x86/msr: Downgrade unrecognized MSR message
From: Borislav Petkov <[email protected]>
It is a warning and not an error so use pr_warn().
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/kernel/msr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/msr.c +2 -2
@@ -99,8 +99,8 @@ static int filter_write(u32 reg)if (!__ratelimit (&fw_rs))return 0 ; -pr_err ("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n" , - reg, current->comm, current->pid); +pr_warn ("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n" , + reg, current->comm, current->pid);return 0 ; }
Signature · 1 line
2.21.0
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: b023fd5f741f34d2cd90258ccc3f245924d2eadd Gitweb: https://git.kernel.org/tip/b023fd5f741f34d2cd90258ccc3f245924d2eadd Author: Borislav Petkov <[email protected]> AuthorDate: Wed, 18 Nov 2020 13:34:07 +01:00 Committer: Borislav Petkov <[email protected]> CommitterDate: Thu, 19 Nov 2020 10:46:54 +01:00
x86/msr: Downgrade unrecognized MSR message
It is a warning and not an error so use pr_warn().
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/kernel/msr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/msr.c +2 -2
@@ -99,8 +99,8 @@ static int filter_write(u32 reg)if (!__ratelimit (&fw_rs))return 0 ; -pr_err ("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n" , - reg, current->comm, current->pid); +pr_warn ("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to [email protected].\n" , + reg, current->comm, current->pid);return 0 ; }