From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932453AbcEYR1e (ORCPT ); Wed, 25 May 2016 13:27:34 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59748 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756007AbcEYR1c (ORCPT ); Wed, 25 May 2016 13:27:32 -0400 Date: Wed, 25 May 2016 18:27:07 +0100 From: Russell King - ARM Linux To: Catalin Marinas Cc: Mark Rutland , "Leizhen (ThunderTown)" , Benjamin Herrenschmidt , Tianhong Ding , Will Deacon , linux-kernel , Xinwei Hu , Zefan Li , Paul Mackerras , Michael Ellerman , Hanjun Guo , linux-arm-kernel Subject: Re: [PATCH 1/1] arm64: fix flush_cache_range Message-ID: <20160525172705.GD19428@n2100.arm.linux.org.uk> References: <1464088597-8820-1-git-send-email-thunder.leizhen@huawei.com> <20160524113727.GD25374@leverpostej> <574446B9.8040105@huawei.com> <20160524151235.GA11605@leverpostej> <20160525152255.GH5996@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160525152255.GH5996@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 25, 2016 at 04:22:55PM +0100, Catalin Marinas wrote: > That's when we realised that the CoW problem no longer exists for > non-aliasing VIPT caches. However, the I-cache counterpart 6060e8df5178 > has not been reverted. I think I mostly agree, except for reverting 6060e8df5178, which I don't think would be correct. That reintroduces the possibility of flushing the I-cache twice in that path, once for aliasing vipt dcaches, and again for asid tagged vivt icaches. I'd rather have the code structured so we only do this once. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.