diff options
author | 2016-12-08 09:12:13 +0530 | |
---|---|---|
committer | 2017-01-25 13:34:19 +1100 | |
commit | 4ab2537c4204b976e4ca350bbdc193b4649cad28 (patch) | |
tree | f459ddec58bf47e33c5774d6e9463177d08afde9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/64: Use optimized checksum routines on little-endian (diff) | |
download | linux-rng-4ab2537c4204b976e4ca350bbdc193b4649cad28.tar.xz linux-rng-4ab2537c4204b976e4ca350bbdc193b4649cad28.zip |
powerpc/mm: Fixup wrong LPCR_VRMASD value
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. Hence using a
different mask value as above while updating lpcr should not have any
impact.
This patch updates it to the correct value.
Fixes: a4b349540a26 ("powerpc/mm: Cleanup LPCR defines")
Reported-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Jia He <hejianet@gmail.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions