From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19898C04E87 for ; Wed, 15 May 2019 11:46:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D55F120843 for ; Wed, 15 May 2019 11:46:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557920777; bh=6zO7tVXG4/5IUdBroFzjK/pJRlz3x3muihcqwl8q3JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=twsXEboS0v9qjyjMnxdVgTJnT4TakpmPizdLMoVvpagt9UJ8uXQqHQFSvczLUS+Yt Cj9QmSoguXtYg5ucoqCUmSYeTd9K1q+CCjPBpKceTkHYgryJO7HZ4KNuK3B9qbHtDP ZjNnzu/Vu36DE/0eoWzekFdjXva8ORkvxGAiGtSw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732021AbfEOLZh (ORCPT ); Wed, 15 May 2019 07:25:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:36314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731632AbfEOLZb (ORCPT ); Wed, 15 May 2019 07:25:31 -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 2258B206BF; Wed, 15 May 2019 11:25:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557919530; bh=6zO7tVXG4/5IUdBroFzjK/pJRlz3x3muihcqwl8q3JA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tTtK78tYDc5YoO4Ke4LM19cubVsrxX16LLnIRaU334Dv0Ji+mjxq4ksyfx8Aj2DN7 j469r+hbw/ZWmo/Le00iNOwSu9qYAm7dY4ZSjFOcpJyJfvHaZIzU3upGtmoc15j3K3 OLYStpPE4zi5qB8xi9Qnhau2PDcXxhFmt+z0uG80= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Laurentiu Tudor , Michael Ellerman Subject: [PATCH 4.19 110/113] powerpc/booke64: set RI in default MSR Date: Wed, 15 May 2019 12:56:41 +0200 Message-Id: <20190515090702.039193468@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190515090652.640988966@linuxfoundation.org> References: <20190515090652.640988966@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)