Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp398089pxb; Wed, 18 Nov 2020 07:20:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1aep7PGRmmblj3KE6xX39fCYi2slxpf1XpZPlgNo7N8vtecl3fLavUClPDfeO+78RwH+2 X-Received: by 2002:a17:906:f207:: with SMTP id gt7mr24951584ejb.293.1605712807785; Wed, 18 Nov 2020 07:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605712807; cv=none; d=google.com; s=arc-20160816; b=xDDms4JG9xAlRVcLQA0eNo6WsG4DHsS9kZvC9TCo7Q+AqjJDNl0zbNgPcPZpvxhx5u hzADjRZmf9EdnTIWswMZNPn+74Mfwwv/hEjCTs657vQjG3OoEKxy7P9DTTWP3mrG0US6 EeKcIL9bdulBGC28Ht4mFg8okzvtKhc7AUPBQWc3KbZFs1zCAM9N416kDskINEBH3rgP W6dxL+VuKnUnPmVrWUL35RW3jon5AGXjw6w39Fxzkj1gVWzr6p6sSsbbJcGsLmQKk2z1 13OqSx08X2rt0+75g/GJg+BFQ/y2GeoPhQuqt4Ifsr6xUs8d60xKK/8bvfxomQRc9oDp MYdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=jBGUPRDkESBIte443zNxHWdFAFr0sZiw0Pj1ErGR3lo=; b=nO5yMamaLvJHlegvSaRfgcd5eD3CSKrXAH0D0P2hfaWLJZ9zhONZB12XyQI94iWR8e WsryDY6isOrK+kkjXdGOlUWiVjHSuQS2aY9iA13bxi5ipoQZB928GlY8exGAgybTFNxD OaRKtsBJUgEQmE5OhzXUdhM6/jI8LKe+nz95GLaZmMKCPNx18VMh8uxigTEdZniXOVUd ytgZ/J5FKQmdrrmbZg/x0pPQGTAZXmCVFeCxsAHfjRpCFA3pIRTA73qwAPFPhTCy7P1R 8WRddM9P9lnG+Ilda6DY5+l6jApF78DO6ke4woUf4wEBpIoY9xw6oh0pn6rPbSt8YN6g nRrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w29si3522019edi.534.2020.11.18.07.19.42; Wed, 18 Nov 2020 07:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727294AbgKRPQN (ORCPT + 99 others); Wed, 18 Nov 2020 10:16:13 -0500 Received: from mga12.intel.com ([192.55.52.136]:8041 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbgKRPQF (ORCPT ); Wed, 18 Nov 2020 10:16:05 -0500 IronPort-SDR: Y2MIooStId7wSQ174TkdaHh2uOPGlWFctZRnDtfcOMa48530j7r+N70h6OYtAqYjR/ELk92G46 sHbfP7eNdrUA== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="150399351" X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="150399351" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 07:15:59 -0800 IronPort-SDR: aTiYNJ44AM906CS+zhEMRp2fvFfXKQF7b6rvBGJ5Nwf/0Q3nXU6P0X3HedyxnM0djnyMjcm5o6 OaFbHH0nu8Iw== X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="359492060" Received: from paolonig001.ir.intel.com ([163.33.183.93]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 07:15:56 -0800 From: Gabriele Paoloni To: tony.luck@intel.com, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, hpa@zytor.com, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gabriele.paoloni@intel.com, linux-safety@lists.elisa.tech Subject: [PATCH 0/4] x86/MCE: some minor fixes Date: Wed, 18 Nov 2020 15:15:48 +0000 Message-Id: <20201118151552.1412-1-gabriele.paoloni@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During the safety analysis that was done in the context of the ELISA project by the safety architecture working group some incorrectnesses were spotted. This patchset proposes some fixes. Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck Gabriele Paoloni (4): x86/mce: do not overwrite no_way_out if mce_end() fails x86/mce: move the mce_panic() call and kill_it assignments at the right places x86/mce: for LMCE panic only if mca_cfg.tolerant < 3 x86/mce: remove redundant call to irq_work_queue() arch/x86/kernel/cpu/mce/core.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) -- 2.20.1 --------------------------------------------------------------------- INTEL CORPORATION ITALIA S.p.A. con unico socio Sede: Milanofiori Palazzo E 4 CAP 20094 Assago (MI) Capitale Sociale Euro 104.000,00 interamente versato Partita I.V.A. e Codice Fiscale 04236760155 Repertorio Economico Amministrativo n. 997124 Registro delle Imprese di Milano nr. 183983/5281/33 Soggetta ad attivita' di direzione e coordinamento di INTEL CORPORATION, USA This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.