Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp468877yba; Wed, 15 May 2019 04:40:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrSUOeguU0mDsdt1KaEU4hbe6Irl64Qua+NdLpQU09VpUiEtAgUqiOOrN/PJaOnb8j/8/b X-Received: by 2002:a62:86c4:: with SMTP id x187mr46017135pfd.34.1557920407025; Wed, 15 May 2019 04:40:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557920407; cv=none; d=google.com; s=arc-20160816; b=tknqnAxKpGAD2Se++0zEEGBFkjH/nl8yUgS0399ZNxf9f7X30qtlCYvZ3scoO5zKJY iq2YEBaXC8Wg00ddnXLobgoFWC2Qqx+DZOERJui3ehGJP/ik5nY1QrhrlhBBTNX+UFNf yOZvECZnIOqCWwduvnFy73nXYINskRbV4mLg9myEdWY2A3hW5moXHTJSkejTbZaTVWfr 7JsESTYjqpGWeLHwb+HlgI1jk5n2B45r0F1EFQQAvLb5elzxKVXIluFfvYUGZZxtBVMp ksRGg1opjhs83R415vi+ynsgB3TMTuiBUveL+WJB6vw+l339gmN67brcuOt3In9/tz55 jZcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AG9POIy+KDi5o5ff+1wWz2MzDc1ykAiLGod/qQysoMY=; b=VG96O8PFS+QmqOI6CmoTKa32/uQgnwDYIN+Tb4MRoTQbyLIsI2K0528vJ/Q7NRsIeY PGnN1ega3k6y7zCKwnuxKE7x2gzy6F6pK9J6A54Vmw9lBJeSo4cN3hGxA8DQr6imwg+a Kz0yehFQwTkXblZ8fzy/5DENbTpJQSfEX2TOLoWx+6ZbG2hKV9q6j7H1CpfdJ4XJNDyP RJ2rWIjEfawPNYsqu/wU61i6M4DZ1ujbOVl5FiNTOsf2q+4M6Exw/Pha3bL3gEux29xB vWnbb2/3/z2W+pIzIa8R5stifP21ptOmCnF4I74+WD3rsXThJ/+epQ53n3259pZMvVK9 t2Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nCV4y51T; 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 g191si1652534pgc.197.2019.05.15.04.39.52; Wed, 15 May 2019 04:40:07 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=nCV4y51T; 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 S1732719AbfEOLiD (ORCPT + 99 others); Wed, 15 May 2019 07:38:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:43230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731226AbfEOLb1 (ORCPT ); Wed, 15 May 2019 07:31:27 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28A5A206BF; Wed, 15 May 2019 11:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557919886; bh=6zO7tVXG4/5IUdBroFzjK/pJRlz3x3muihcqwl8q3JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nCV4y51TQguAiyFowtvoomoQiInWXefBFY0DnSyDNXMt/ysgQwWdAjZYN90nEbzHN OMr4ac1glrq6pYBkcpPrP6SO7q7F++OPOzRJgx+nlQ3rX9LWZaFUVWDegme6MerQ/N 7thILZXbOwln+nEhrpp+emVvLWO9Jw82uZLZUJjc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Laurentiu Tudor , Michael Ellerman Subject: [PATCH 5.0 132/137] powerpc/booke64: set RI in default MSR Date: Wed, 15 May 2019 12:56:53 +0200 Message-Id: <20190515090703.457545678@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190515090651.633556783@linuxfoundation.org> References: <20190515090651.633556783@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Laurentiu Tudor commit 5266e58d6cd90ac85c187d673093ad9cb649e16d upstream. Set RI in the default kernel's MSR so that the architected way of detecting unrecoverable machine check interrupts has a chance to work. This is inline with the MSR setup of the rest of booke powerpc architectures configured here. Signed-off-by: Laurentiu Tudor Cc: stable@vger.kernel.org Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/include/asm/reg_booke.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/include/asm/reg_booke.h +++ b/arch/powerpc/include/asm/reg_booke.h @@ -41,7 +41,7 @@ #if defined(CONFIG_PPC_BOOK3E_64) #define MSR_64BIT MSR_CM -#define MSR_ (MSR_ME | MSR_CE) +#define MSR_ (MSR_ME | MSR_RI | MSR_CE) #define MSR_KERNEL (MSR_ | MSR_64BIT) #define MSR_USER32 (MSR_ | MSR_PR | MSR_EE) #define MSR_USER64 (MSR_USER32 | MSR_64BIT)