Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1488995pxu; Fri, 27 Nov 2020 08:20:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqrjXd2Ag5riiGMX+J0vvuiqe01BrkJ9NfyXDGw0iAZLHtkCwzxeSbUthbag6fUfLwXnB4 X-Received: by 2002:a50:9f2b:: with SMTP id b40mr8841730edf.20.1606494010946; Fri, 27 Nov 2020 08:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606494010; cv=none; d=google.com; s=arc-20160816; b=lOfYswpf8tOdsWVZTKTJBquJwza0wZthwzXv4btRUwpiKGyXkgJBgpiMrS2/DjddWN EzUBpomT2lL/5Yzr0LH3NhGTR9TUlyOdxqkgFDd9jm7IX/L9EJRkY7oF5mRGfjnUctlY FwkpN5XpmxAoJJMeXNyNIBrOJzk2NARaf0j+11TYeLHR1puU9o0A3Zxh9tr02Sg3tDQf k2dymtb5vJ4KR+lRXp38ne+uWR0yQtsKMZYEATc4wEQsByIfVzjLan+qOtlv2nLaZ4N2 mA+7UVft+h5MvfY7yZLnI/B1feiICP7vD2FosU3ZfJztdIRtdLD84sk0xBsoz3U1Hdcl arFQ== 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=WV69OZEH6m6kDVNXhFsA36S3+JFEDr/YislhYY0bTpg=; b=KcZ2GPG2Gu0/xJBr7GePmsnbdt9NeyRDz1eBsKNxaEhlBybRVsClKV0a8+WfIHqiSR R/5d6YcnaadX7QjwlcvgFHq284IY45aE7J3/0iGrUgIvvRnvpV6B11NLf7VS3AFAoYiS xdK6Tn0mekuTI6q5UGsa17+xvrbeDpAKT6SGQMcs8LNgmdJJ7gY7mnqYNzuz66sCU04x Jg38fdUbQKasEu/l5ucs8YCuO3V4liMr6U2Qt4DT0VbhNR7gaH8C+wtw1uDiuVVkKI7g IEo+e50lkIN53yFG3+vphpqGrsEZoJkdyZEPpyCe0xArcKmOlpOskno1/6sKi7DaKBT6 Dz4A== 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 lh24si1371522ejb.682.2020.11.27.08.19.48; Fri, 27 Nov 2020 08:20:10 -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 S1731156AbgK0QSZ (ORCPT + 99 others); Fri, 27 Nov 2020 11:18:25 -0500 Received: from mga09.intel.com ([134.134.136.24]:46780 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730324AbgK0QSZ (ORCPT ); Fri, 27 Nov 2020 11:18:25 -0500 IronPort-SDR: x0y67RIEi1s+LRD2SuyAMOuGErhkRJFSYNb6Mqt2n2cfN1QkikNt23jSK9GiU6kIjQoygCXUnt dJFLUrmEqtNQ== X-IronPort-AV: E=McAfee;i="6000,8403,9818"; a="172567140" X-IronPort-AV: E=Sophos;i="5.78,375,1599548400"; d="scan'208";a="172567140" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2020 08:18:23 -0800 IronPort-SDR: T/NWv4uCOBGKnlk2FygWraXekl408JsHQNbQYeOPsnFR037rmidmuwBhpKYYyBXX6kEtHakYr8 esiAIiCl+mpQ== X-IronPort-AV: E=Sophos;i="5.78,375,1599548400"; d="scan'208";a="548095098" Received: from paolonig001.ir.intel.com ([163.33.183.93]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2020 08:18:21 -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 v2 0/5] x86/MCE: some minor fixes Date: Fri, 27 Nov 2020 16:18:14 +0000 Message-Id: <20201127161819.3106432-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. Changes since v1: - fixed grammar - improved readibility of patch1 and Cc'd for stable - kill_it flag renamed to kill_current_task Signed-off-by: Gabriele Paoloni Reviewed-by: Tony Luck Gabriele Paoloni (5): x86/mce: do not overwrite no_way_out if mce_end() fails x86/mce: move the mce_panic() call and 'kill_it' assignments to the right places x86/mce: for LMCE panic only if mca_cfg.tolerant < 3 x86/mce: remove redundant call to irq_work_queue() x86/mce: rename kill_it as kill_current_task arch/x86/kernel/cpu/mce/core.c | 39 +++++++++++++++------------------- 1 file changed, 17 insertions(+), 22 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.