Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538290 > unrolled thread

[PATCH] powerpc: Fix LPCR_VRMASD definition

Started byJia He <hejianet@gmail.com>
First post2016-12-08 04:30 +0100
Last post2016-12-08 22:30 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] powerpc: Fix LPCR_VRMASD definition Jia He <hejianet@gmail.com> - 2016-12-08 04:30 +0100
    Re: [PATCH] powerpc: Fix LPCR_VRMASD definition "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2016-12-08 05:00 +0100
    Re: [PATCH] powerpc: Fix LPCR_VRMASD definition Paul Mackerras <paulus@ozlabs.org> - 2016-12-08 22:30 +0100

#1538290 — [PATCH] powerpc: Fix LPCR_VRMASD definition

FromJia He <hejianet@gmail.com>
Date2016-12-08 04:30 +0100
Subject[PATCH] powerpc: Fix LPCR_VRMASD definition
Message-ID<sLXzc-FF-13@gated-at.bofh.it>
Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines")
Signed-off-by: Jia He <hejianet@gmail.com>
---
 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

[toc] | [next] | [standalone]


#1538292

From"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Date2016-12-08 05:00 +0100
Message-ID<sLY2d-P3-3@gated-at.bofh.it>
In reply to#1538290
Jia He <hejianet@gmail.com> writes:

> Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines")
> Signed-off-by: Jia He <hejianet@gmail.com>

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

[toc] | [prev] | [next] | [standalone]


#1538893

FromPaul Mackerras <paulus@ozlabs.org>
Date2016-12-08 22:30 +0100
Message-ID<sMeqm-2QB-11@gated-at.bofh.it>
In reply to#1538290
On Thu, Dec 08, 2016 at 11:29:30AM +0800, Jia He wrote:
> Fixes: a4b349540a ("powerpc/mm: Cleanup LPCR defines")
> Signed-off-by: Jia He <hejianet@gmail.com>

Acked-by: Paul Mackerras <paulus@ozlabs.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web