From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3x82f95ZnMzDqg2 for ; Fri, 14 Jul 2017 16:22:09 +1000 (AEST) Message-ID: <1500013316.2865.72.camel@kernel.crashing.org> Subject: Re: [PATCH 1/4] powerpc/mm/radix: Don't iterate all sets when flushing the PWC From: Benjamin Herrenschmidt To: "Aneesh Kumar K.V" , linuxppc-dev@lists.ozlabs.org Cc: npiggin@gmail.com Date: Fri, 14 Jul 2017 16:21:56 +1000 In-Reply-To: <87379zr2wt.fsf@skywalker.in.ibm.com> References: <20170714015258.7933-1-benh@kernel.crashing.org> <87379zr2wt.fsf@skywalker.in.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. Ben.