Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3041987pxp; Mon, 14 Mar 2022 09:39:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEYgt/NvpPwTZR8t7Zn2eTf4oue+56IVh9RB0eeYkdT751GZAhOnzx207rWNRfZKP1lvVI X-Received: by 2002:a63:3d48:0:b0:374:4b15:76e4 with SMTP id k69-20020a633d48000000b003744b1576e4mr20419664pga.593.1647275952334; Mon, 14 Mar 2022 09:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647275952; cv=none; d=google.com; s=arc-20160816; b=RX+ZaUr31mqb+n1r/rbJz4/ELwASLKxilwBI84RClGYZ19dP9G+I5qdO4HDS/CoXjb 2h+1q0ylC9rcku66Ipbua+vnbXp4YCoMdDz7De2a928vOlZrj7kGguwNovyPELE8lKrU +KlEywimBqrnwxWsTxb0xbd/Rn5WPXiLtqLA4msjZuZDfqX5aJFlhtY5tz3gZN1rRXJX x9vbu7jL8JMqDHSgcXGqkcsqQJsUsiDsyVaIWtUWDAuASI2g4yt3mudENzFa3bpxksHx twHYPSfwR9lze+lofOZWaziIcBuJAvQnvlkYIxLcMnwRCW53TY3VDfNgadS+BKOp8FrK NyPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=86nbLiR0MkBXCOLBGSi53xPDKrTVsOY11BL+JmwuMJY=; b=Rr2/svlIMrRdPJ1Z/zn6x72iIFERLzazAyJj/hgIJ3swYH4hZ8yqg8aRXn4aXvXSOO +D5fX95LPHKoWax1dMcVwjwmXUIe/u+SILuMuAiAWUtn/qOfJxAHJwIWNnw5wqtCHLcm vYqEc+IZH0AbawQJj6nhiBE6Lyop4URuR4usXHvlu5EjWYSStaYH842MAwKvaUvIjXCJ NsgFBj5/5hqnFJlKhvtOrk8vODHO73rqTiaiBJvsqwl8mbkZPDIrvVP7dlOepHneOMVC J3LuLl+T37grC5kqtqe2z8vgOgps4eF9fCKZAB3rMyaeK1Dhj+/YlQLqNRCwA9g0Yck0 +Yig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Ge4R7dvm; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u69-20020a638548000000b00380f45c46f5si11185851pgd.714.2022.03.14.09.38.59; Mon, 14 Mar 2022 09:39:12 -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=@infradead.org header.s=casper.20170209 header.b=Ge4R7dvm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238650AbiCNLAa (ORCPT + 99 others); Mon, 14 Mar 2022 07:00:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233418AbiCNLA1 (ORCPT ); Mon, 14 Mar 2022 07:00:27 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F8BD36B47 for ; Mon, 14 Mar 2022 03:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=86nbLiR0MkBXCOLBGSi53xPDKrTVsOY11BL+JmwuMJY=; b=Ge4R7dvmihFJcEPRq5KCmBbCs2 w2432IoagskBOyKKKKJFNUn5t0sb68FlZLfaUXYuiaXa5IBuoCbFJLGyMUKkXzKBTm0bCuyGhRv9A VrcL5TOJqkGRsvliRB1mjhwLZQ/PelJ/wH/Q9RMDBm1pBJLJOyyEplQszhLp/elvjcy23PTw3CTAb 1CvKBrf3debS0xkw06Bm8jdCQJvjx7ymDhKQs9JVG2CdT5N9DYIw7OaZazgHllnwJSZQr/r4TzAXH YQVNxtR9XKClf7hgIOiFUqbGXPXndje8UagfWeUqEpyTSSKS9p6SDv58TWpE7D5aJJ8R7QtuB57CQ jrDGS8AA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTiPm-003xgm-Hh; Mon, 14 Mar 2022 10:59:02 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 032983001FD; Mon, 14 Mar 2022 11:59:01 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DD23933FA5132; Mon, 14 Mar 2022 11:59:00 +0100 (CET) Date: Mon, 14 Mar 2022 11:59:00 +0100 From: Peter Zijlstra To: Jiri Kosina Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/nmi: Remove the 'strange power saving mode' hint from unknown NMI handler Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 On Mon, Mar 14, 2022 at 09:25:18AM +0100, Jiri Kosina wrote: > 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 Fair enough, Acked-by: Peter Zijlstra (Intel) > --- > 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 >