Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp1359623imp; Fri, 22 Feb 2019 01:48:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZPynqvq3rn7Yq5FxvPuAS3jUpS3vwdALj7z8or/sv6h+ELoahKh4ydbpPnpe6xeE1+CLqO X-Received: by 2002:a62:168e:: with SMTP id 136mr3371902pfw.116.1550828912997; Fri, 22 Feb 2019 01:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550828912; cv=none; d=google.com; s=arc-20160816; b=umPjNF5mASOiYEE6WUD6ce00a68/Se+UH1A8QzgEf8Ht0xgsyX/s+QPHS8Q1kM9PpN JPMaT7JIjKc13Cs67TLth+N6pP1kfKfmz2CTQ7in7MCW0T600WvZz25+VqK7W9P1frVC OZPCJ3icC49kDKE+XqR9kco4nXF2qCfTQSVOC8PyLzUKVln7qzlPyjgCIN7eSf/0gr9F 4oTp7v6LScu8TTKjysHvh1IXNFaDR3h2/FSpAO8gDaAYg6vuFDySO4pLFaheLFG6CPrR NS3+NQBQqegZf/GDroJpgZxss8g85mE1InkUv1g4XeqJVsegY9J01BkWT12ZdzpDlKWS OEow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=uwuLMxxNQx5VgZC165NPGpFXNT8mfh5cAK2a4zeLUaY=; b=JrN5NUJiZGgqUUnf+CzQDl6tDdOWRuj7KpnQn4/GqmQ9awarbTCTM0dLWXjxP+zins eTaJ3r5HsjpX2Yyx2olq4Ja2XTx/dfZXVw7ljXwVw4rGVWT1Qet5rT8qAck6srbMKVpi 3Eq1pqyE1AgkmOvabUneSB0fRF8xzaFMGNlbCjTuUrkM/UXKxjcXMXjcT+KPWnssHClJ 3ATNOsLnxeewaBMk58PzeR41009YtOpx9oo390Q+lH6txG0xf0xn9/uBTJFtpaZeTKOn U/2rzhQLoMV0IYOQbJ+bCSMOCNDpL3TLrGzD3Fu+S8qcnuBhf6/AGK9dEvjXhVu4GMvS VQvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si931596pgv.520.2019.02.22.01.48.17; Fri, 22 Feb 2019 01:48:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727120AbfBVJrn (ORCPT + 99 others); Fri, 22 Feb 2019 04:47:43 -0500 Received: from ozlabs.org ([203.11.71.1]:51583 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726917AbfBVJrm (ORCPT ); Fri, 22 Feb 2019 04:47:42 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 445RMw2j4Jz9sDr; Fri, 22 Feb 2019 20:47:40 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 0bbea75c476b77fa7d7811d6be911cc7583e640f X-Patchwork-Hint: ignore In-Reply-To: <1c804764d38fb084b420b12ca13e8c1b2dea075e.1548166189.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Nicholas Piggin From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/traps: fix recoverability of machine check handling on book3s/32 Message-Id: <445RMw2j4Jz9sDr@ozlabs.org> Date: Fri, 22 Feb 2019 20:47:40 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-01-22 at 14:11:24 UTC, Christophe Leroy wrote: > Looks like book3s/32 doesn't set RI on machine check, so > checking RI before calling die() will always be fatal > allthought this is not an issue in most cases. > > Fixes: b96672dd840f ("powerpc: Machine check interrupt is a non-maskable interrupt") > Fixes: daf00ae71dad ("powerpc/traps: restore recoverability of machine_check interrupts") > Signed-off-by: Christophe Leroy > Cc: stable@vger.kernel.org Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/0bbea75c476b77fa7d7811d6be911cc7 cheers