Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571AbcLHDvz (ORCPT ); Wed, 7 Dec 2016 22:51:55 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:59024 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752435AbcLHDvx (ORCPT ); Wed, 7 Dec 2016 22:51:53 -0500 From: "Aneesh Kumar K.V" To: Jia He , linuxppc-dev@lists.ozlabs.org Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, mikey@neuling.org, cyrilbur@gmail.com, shreyas@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, Jia He Subject: Re: [PATCH] powerpc: Fix LPCR_VRMASD definition In-Reply-To: <1481167770-7042-1-git-send-email-hejianet@gmail.com> References: <1481167770-7042-1-git-send-email-hejianet@gmail.com> Date: Thu, 08 Dec 2016 09:21:45 +0530 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16120803-0044-0000-0000-000001F910E7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006212; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000195; SDB=6.00790825; UDB=6.00383024; IPR=6.00568565; BA=6.00004951; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013569; XFM=3.00000011; UTC=2016-12-08 03:51:52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16120803-0045-0000-0000-000006251DF3 Message-Id: <87y3zrgjse.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-08_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1612080057 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 28 Jia He writes: > Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines") > Signed-off-by: Jia He I sent another one https://lkml.kernel.org/r/20161208034213.21700-1-aneesh.kumar@linux.vnet.ibm.com to fix the same issue. I didn't notice this on the list. > --- > arch/powerpc/include/asm/reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h > index 9e1499f..93ec25e 100644 > --- a/arch/powerpc/include/asm/reg.h > +++ b/arch/powerpc/include/asm/reg.h > @@ -337,7 +337,7 @@ > #define LPCR_DPFD_SH 52 > #define LPCR_DPFD (ASM_CONST(7) << LPCR_DPFD_SH) > #define LPCR_VRMASD_SH 47 > -#define LPCR_VRMASD (ASM_CONST(1) << LPCR_VRMASD_SH) > +#define LPCR_VRMASD (ASM_CONST(0x1f) << LPCR_VRMASD_SH) > #define LPCR_VRMA_L ASM_CONST(0x0008000000000000) > #define LPCR_VRMA_LP0 ASM_CONST(0x0001000000000000) > #define LPCR_VRMA_LP1 ASM_CONST(0x0000800000000000) > -- > 2.5.5