Thread (14 messages) 14 messages, 6 authors, 2019-11-14

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

From: Michael Ellerman <hidden>
Date: 2019-11-14 09:08:28
Also in: lkml, stable

On Mon, 2019-11-04 at 02:32:53 UTC, "Alastair D'Silva" wrote:
From: Alastair D'Silva <redacted>

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 <redacted>
Cc: stable@vger.kernel.org
Series applied to powerpc next, thanks.

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

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help