Re: powerpc/mm: Fixup wrong LPCR_VRMASD value

2017-01-26 Thread Michael Ellerman
On Thu, 2016-12-08 at 03:42:13 UTC, "Aneesh Kumar K.V" wrote: > In commit a4b349540a26af ("powerpc/mm: Cleanup LPCR defines") we updated > LPCR_VRMASD wrongly as below. > > -#define LPCR_VRMASD (0x1ful << (63-16)) > +#define LPCR_VRMASD_SH 47 > +#define LPCR_VRMASD (ASM_CONST

Re: [PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value

2016-12-16 Thread kbuild test robot
Hi Aneesh, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.9 next-20161216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/powerpc-mm-Fixup-wrong

Re: [PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value

2016-12-08 Thread Paul Mackerras
On Thu, Dec 08, 2016 at 09:12:13AM +0530, Aneesh Kumar K.V wrote: > In commit a4b349540a26af ("powerpc/mm: Cleanup LPCR defines") we updated > LPCR_VRMASD wrongly as below. > > -#define LPCR_VRMASD (0x1ful << (63-16)) > +#define LPCR_VRMASD_SH 47 > +#define LPCR_VRMASD (ASM_C

Re: [PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value

2016-12-08 Thread Ram Pai
On Thu, Dec 08, 2016 at 09:12:13AM +0530, Aneesh Kumar K.V wrote: > In commit a4b349540a26af ("powerpc/mm: Cleanup LPCR defines") we updated > LPCR_VRMASD wrongly as below. > > -#define LPCR_VRMASD (0x1ful << (63-16)) > +#define LPCR_VRMASD_SH 47 > +#define LPCR_VRMASD (ASM_C

[PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value

2016-12-07 Thread Aneesh Kumar K.V
In commit a4b349540a26af ("powerpc/mm: Cleanup LPCR defines") we updated LPCR_VRMASD wrongly as below. -#define LPCR_VRMASD (0x1ful << (63-16)) +#define LPCR_VRMASD_SH 47 +#define LPCR_VRMASD (ASM_CONST(1) << LPCR_VRMASD_SH) We initialize the VRMA bits in LPCR to 0x00 in kvm