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: Christophe Leroy <hidden>
Date: 2019-11-05 06:04:07
Also in: lkml, stable


Le 04/11/2019 à 20:43, Segher Boessenkool a écrit :
On Mon, Nov 04, 2019 at 01:32:53PM +1100, Alastair D'Silva wrote:
quoted
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.
Please send this separately, to be committed right now?  It is a bug fix,
independent of the rest of the series.
Patch 4/6 needs it, as it drops the function.

Or do you mean that the series should drop the assembly at once, and 
this patch should only go into stable ?

But I guess mpe can take this patch alone if he wants to ?

By the way, Patch 2/6 is also a bugfix.

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