summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2022-03-14 11:25:18 +0300
committerBorislav Petkov <bp@suse.de>2022-03-16 13:02:41 +0300
commitd4c9df20a37d128f6acb3c6286db7e694554a51b (patch)
treede03f15c0cc459e0a9bb370c402900121b05e738 /arch/x86/kernel
parent4509d950a6764d18a99776614513d280cca422d8 (diff)
downloadlinux-d4c9df20a37d128f6acb3c6286db7e694554a51b.tar.xz
x86/nmi: Remove the 'strange power saving mode' hint from unknown NMI handler
The Do you have a strange power saving mode enabled? hint when unknown NMI happens dates back to i386 stone age, and isn't currently really helpful. Unknown NMIs are coming for many different reasons (broken firmware, faulty hardware, ...) and rarely have anything to do with 'strange power saving mode' (whatever that even is). Just remove it as it's largerly misleading. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/nycvar.YFH.7.76.2203140924120.24795@cbobk.fhfr.pm
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/nmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c
index 4bce802d25fb..e73f7df362f5 100644
--- a/arch/x86/kernel/nmi.c
+++ b/arch/x86/kernel/nmi.c
@@ -292,7 +292,6 @@ unknown_nmi_error(unsigned char reason, struct pt_regs *regs)
pr_emerg("Uhhuh. NMI received for unknown reason %02x on CPU %d.\n",
reason, smp_processor_id());
- pr_emerg("Do you have a strange power saving mode enabled?\n");
if (unknown_nmi_panic || panic_on_unrecovered_nmi)
nmi_panic(regs, "NMI: Not continuing");