Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3039418pxp; Mon, 14 Mar 2022 09:36:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWvmLO7Tgl0QnDXSp6Wi5vrVhhosM4FX0ipnHQUbiWwfshQMpQtR+Wk9v4A0Vz2yJPDGzr X-Received: by 2002:a05:6a00:21c8:b0:4c4:4bd:dc17 with SMTP id t8-20020a056a0021c800b004c404bddc17mr24510274pfj.57.1647275788728; Mon, 14 Mar 2022 09:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647275788; cv=none; d=google.com; s=arc-20160816; b=F5wuXRNAvYp3Uhm9wRGzc39FNqKOSjXj3a28QixjYDNar6xjhVFeyuf1wouWzKLquG RE88qSMX2v/8+kG3RJolVfjD3Rcrw4Eavxf6HEgmvqQyXoCWuWqr1SBeQ5ESxLKsuWBZ oNWq2TcftQa5Aat8UP50ep6QEUmOtN4W2oZqUYOkktvvGXBgovWeYM3QGxdOEkWxYMCr 7qHzrAyCIap08EatPO6wjRctEHhWgUAkTyXAAbSeqzti7OSTn+1Z9le15QdcMvyc1ry4 F1KYemz+a2eij/EI/ZTeUjnbqsbtmD8X1cfKTthZOMSzuzHjfI9uYW0VKBYCnaq3qU2j i1eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date:dkim-signature; bh=Ii4KvBedc9ufPnwdbOiD+uMJieQbiskDgkHvzao/1sI=; b=CrcO4AKVS7AXZwYdT/gk9ddb7YJ9/YlpJ0zvJAg8u3wIJIfraE4BBiPtveP8C5YErM k1W0JaWRHG7/69YiIzMHA9BVsdblSTYmOLOtbb9hY6yEY4cXkJxfEIs/RalyW6TPd13W c3Bd55gxFXCgRFTEPq5frMurTH2yQAjybWrEs2Lhzo5jnLFVihsGtK1NsNj/dFop+eGE DZ2TVZUbm3NyxqT1ymZwETsOLnRVm+RmJL+Lgs5ZND69XWV36MwYhuu9pJJXwBxBAeoD rK3MJkQ6fgkBKncznjg7TUN5/SPLEqFcnI83pt1t+i9rXRwsdUYo4RkePG+5X7S+n+Ea dZGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lvYtVHGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a170902e2d200b00151e2f39f0bsi13513794plc.526.2022.03.14.09.36.15; Mon, 14 Mar 2022 09:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lvYtVHGb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237424AbiCNI0f (ORCPT + 99 others); Mon, 14 Mar 2022 04:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbiCNI0e (ORCPT ); Mon, 14 Mar 2022 04:26:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7843611A06 for ; Mon, 14 Mar 2022 01:25:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2BDD6B80D31 for ; Mon, 14 Mar 2022 08:25:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C36BC340E9; Mon, 14 Mar 2022 08:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647246322; bh=tXtYxtXfnBNM1zCOA8IqcikrEBaViemXtjx+BivrHYI=; h=Date:From:To:cc:Subject:From; b=lvYtVHGbl9Z16cA4u57GAofUqHMt0AysFm9EEEEcFYWLvUIbhnJBsEBtV7gIRDai+ pdoPA87NimrY+E4RA4mvpiiWRAMxZbAzuhfR412ZnH9OJ5/9hbR4W8btS/xZnxAs1k ZK5sS+tv8SA3eSdQ26OSEoTf8ddAfXskWno2CzczDSs6ITegF1CylP2cs5mxLuHJfV vrgl8ImGS1mdrQ+TiyXZNTS/lv2hhaDXxbIDQY97SmgPt+CbXfY893FU4jahZrJC6r dv0iaj0+318LCX/0pVCCganRtY0SkeO23VLiymvtfsZ8CrX9bR+9OVfJBZwpePE+na Pu8/bqH/o2GrA== Date: Mon, 14 Mar 2022 09:25:18 +0100 (CET) From: Jiri Kosina To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86/nmi: Remove the 'strange power saving mode' hint from unknown NMI handler Message-ID: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,TVD_SUBJ_WIPE_DEBT,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiri Kosina 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 --- arch/x86/kernel/nmi.c | 1 - 1 file changed, 1 deletion(-) 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"); -- Jiri Kosina SUSE Labs