[PATCH 1/4] powerpc/mm/radix: Don't iterate all sets when flushing the PWC

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Jul 14 17:21:23 AEST 2017


On Fri, 2017-07-14 at 12:33 +0530, Aneesh Kumar K.V wrote:
> Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> 
> > On Fri, 2017-07-14 at 11:11 +0530, Aneesh Kumar K.V wrote:
> > > With the current code, we use tlbiel_pwc() for doing a pwc flush.
> > > and that does what is done this patch. May be we can update this patch
> > > such that we drop tlbiel_pwc and switch all those instance to
> > > tlbiel_pid(pid, RIC_FLUSH_PWC) ?
> > > 
> > > You already do this in a later patch.
> > 
> > Right, I do it in a later latch and I prefer to keep it this way, to
> > avoid doing too many changes in a single patch.
> 
> The commit message do indicate that we don't do flushing correctly for
> PWC flush with the current code. That is not correct. May be update the
> commit message then ?

Yeah ok.

Ben.


More information about the Linuxppc-dev mailing list