Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp441390rdb; Mon, 15 Jan 2024 02:15:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFej+XuVfKCMYsM3SDqhhkahnlpt9OUSZ7SXaZJ+KzvNDdMWnwQfA3lmHGAAvJcUhoVrIS3 X-Received: by 2002:a05:620a:85c:b0:783:45ba:8b2a with SMTP id u28-20020a05620a085c00b0078345ba8b2amr6531823qku.131.1705313701566; Mon, 15 Jan 2024 02:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705313701; cv=none; d=google.com; s=arc-20160816; b=EuKkKJcAZDBd21NXguFeyXYjxiTlxcfRWzQbDDaDG9Tihyo5ymvW2r9icDAfGA1OQV VaIgBTxT+NU9Q/yhARdrHEjmzwLwis+zKtaqV0GxOKaOHzzmiiHH5OxxvLLIVgI0gffD ZzolWDUmkyLROwZIyzDhW3WI3RDggw3cRC104q8VrZiM3DGwoKMMCEF77kBFp+rtwdfV ZMVIuufymHCSi19ybF7LKbudMtz+cL1RyvruuYCk/6GLbw3B9d3Rwg4+hGAeX/4Dva6M s6fm7vf/NTCUcDIuMbeFWBz6j8NneLwwkwOhZKYhlT9lDwPrhNVNa+oa/95MPTsGjSZf 4AWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SDqAshcRmSsE9vCQTN1dt/etl3qWTbadtUUvIxH4STE=; fh=X27bPM68lSKKHhHgXiC4ZuaEIzpEELI5utyIkp/IrIg=; b=DwSLQxWL4k1uzq2OX4HQGACKyV+Xvlc9YnaXPn9P5APGJdZBxV/G3suBDLuFTk1rx5 kYqj3ZsUkydnulBi82D+SZF15SQa0PLNru6/sCYNKDuV/nWvog6mNxhTA8NhnS5TkoqR 5FJOomeusqaHCr43ebM5acLozG+SMBUEyPuMYumX5oWbA5Hy7qpuCSgBU70oMTZSreex f8hFKmS1g6v8+BwOF68C0Pf/4FuvNzMsp772wvd9Jq9pDYPjqkQLuzTksYIkEnzy4IHY BRGkpTtCT/EJC9HQEwwGnLme4+JrDspCyVve+t4Nb/vNZf0M6OJYwbfjJ5FGFJY8FGYq yNCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GFQxMTU0; spf=pass (google.com: domain of linux-kernel+bounces-25867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v14-20020a05620a0f0e00b007832408b2cesi8260187qkl.282.2024.01.15.02.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 02:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GFQxMTU0; spf=pass (google.com: domain of linux-kernel+bounces-25867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 519881C2178D for ; Mon, 15 Jan 2024 10:15:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3235BF9D3; Mon, 15 Jan 2024 10:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GFQxMTU0" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03C0AF508 for ; Mon, 15 Jan 2024 10:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705313692; x=1736849692; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=4eF9TG8eAoHdtjzKXauZ8TK9AgTuxnP5KpYNNgJGSqs=; b=GFQxMTU0vFyi3OAQ2UJkS9TTYXRA62J2Kzw6inyfdnjvX5Dpm3hg/Do+ qk/ZnGtyqQ+ZvqcyyTw38bhywtSwTqZ26NWs2sGp7tSO1tAcA8uMqWot8 YCY430Xy21CdOvHcLoNPFzavqT4nu9cXt828tYysgPnif73p4D50uMrDS J6xj5+i8ylj6WTBaauK8Lkz4eC8dZ2WP/nV1soaH8DTSQGZ6tNNrdnlwE Ln6W207spl4VNJve4Cwsj7ZJvUrLzQ7pekHJxFku5aacp2RJYsri/+XwJ rehOx9tUZY2RnrN3rSsd8VIFOLeZap9P4vX6EqNwAl4Fv/IMeAkwocH6K Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="485744803" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="485744803" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 02:14:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="783774174" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="783774174" Received: from jeroenke-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.55.160]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 02:14:46 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id AB3C410A58F; Mon, 15 Jan 2024 13:14:43 +0300 (+03) Date: Mon, 15 Jan 2024 13:14:43 +0300 From: "kirill.shutemov@linux.intel.com" To: NOMURA =?utf-8?B?SlVOSUNISSjph47mnZHjgIDmt7PkuIAp?= Cc: "mingo@redhat.com" , "tglx@linutronix.de" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , "ardb@kernel.org" , "david@redhat.com" , "nikunj@amd.com" , "thomas.lendacky@amd.com" , "debarbos@redhat.com" , "jlelli@redhat.com" , "lgoncalv@redhat.com" , "dzickus@redhat.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] x86/boot: Add a message about ignored early NMIs Message-ID: <20240115101443.yrt7abegw2m6fxlt@box.shutemov.name> References: <20240112120616.5zjojjmjeqg5egb7@box> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Jan 15, 2024 at 08:57:45AM +0000, NOMURA JUNICHI(野村 淳一) wrote: > Commit 78a509fba9c9 ("x86/boot: Ignore NMIs during very early boot") added > empty handler in early boot stage to avoid boot failure by spurious NMIs. > > Add a diagnostic message in case we need to know whether early NMIs have > occurred and/or what happened to them. > > Signed-off-by: Jun'ichi Nomura > Suggested-by: Borislav Petkov > Suggested-by: H. Peter Anvin Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov