Re: [PATCH v5 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB

From: Michael Ellerman
Date: Thu Nov 14 2019 - 04:08:29 EST


On Mon, 2019-11-04 at 02:32:53 UTC, "Alastair D'Silva" wrote:
> From: Alastair D'Silva <alastair@xxxxxxxxxxx>
>
> When calling flush_icache_range 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@xxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/29430fae82073d39b1b881a3cd507416a56a363f

cheers