summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cache.h
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2019-11-04 13:32:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-07 22:48:34 +1100
commitf9ec11165301982585e5e5f606739b5bae5331f3 (patch)
treed5fef584c8cf8e702fd08fc1c35c0cc3eeedad65 /arch/powerpc/include/asm/cache.h
parent29430fae82073d39b1b881a3cd507416a56a363f (diff)
powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
When calling __kernel_sync_dicache with a size >4GB, we were masking off the upper 32 bits, so we would incorrectly flush a range smaller than intended. This patch replaces the 32 bit shifts with 64 bit ones, so that the full size is accounted for. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Cc: stable@vger.kernel.org Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191104023305.9581-3-alastair@au1.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/cache.h')
0 files changed, 0 insertions, 0 deletions