[PATCH v5 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Nov 14 20:08:20 AEDT 2019
On Mon, 2019-11-04 at 02:32:53 UTC, "Alastair D'Silva" wrote:
> From: Alastair D'Silva <alastair at d-silva.org>
>
> 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 at d-silva.org>
> Cc: stable at vger.kernel.org
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/29430fae82073d39b1b881a3cd507416a56a363f
cheers
More information about the Linuxppc-dev
mailing list