Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp864900imm; Thu, 13 Sep 2018 08:53:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbR2ZlV5S49TWJ1jE33oP2p9cpHOiIcUb9nrA92Zd0EiDSsM01e21V8FxhWG2hkJ6DbRMQ4 X-Received: by 2002:a63:db4f:: with SMTP id x15-v6mr7404032pgi.214.1536854025887; Thu, 13 Sep 2018 08:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536854025; cv=none; d=google.com; s=arc-20160816; b=Uuc9NcsUWYTMa1+Xs4libOrzdBuGrK6+STNOK2dVSChJYPBZgbf3DUJ8jXsstaDXLp SxQ3B1v3nLwgEwA2grTczxXup/TkQ2J1vUCSTNWR83T0jRpc3SSXqcDvMPYiKsDaP246 wGd+3sNqebjaeg1Vti39k87ISp24CKF/E3vwTN+xk8gHzWfScfG8B1YRRmt0Oau1q7hQ uwhswwXFrAjYZu7XByFzufFlgr2J1d+sXDOET24fXbmulYs7sBVdL4knVI4luUTcK3xk rDbYm31ldC4WJCX3B+sLi/zmTOeom8FhsJS8ULovFk8a/AnKrgyLAmKypiQiIzBHfheF aLKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/cUUGGnaWc5Bin6eTXC+yN6lkqXEWuqfQfUY83VX7gQ=; b=dM/eibraRmqtOJ2Rd++10atqqyfjq1M3E8XS2X7yROHqrkcRbcrn2/YMLMjbju1Iog ucwelrM57QotYijgT+HEUypZszXGjCgtO7sv9/6/2QLXPIVOZR0pZrqSti68uNHvO5ej HmE4jyimEDpe2m2CVNorAL8hbgCW461SvHHgwowaLcEh2dNQjkZeZ+LQlZMgmuPFTIuy UrpVg1Nfwno7GPgtiGx2RbTUoDFrBVqUjQyX537BlVFp1fmFNb9fxZPbysE1MffFLfUx PWdqxQ+El42kSqLUrozTli5uiDgvlKIDmLc51GaFxnsw1uAEUl38WeJySVr73AfWH90t sqNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7-v6si4200748plz.353.2018.09.13.08.53.25; Thu, 13 Sep 2018 08:53:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728571AbeIMVCv (ORCPT + 99 others); Thu, 13 Sep 2018 17:02:51 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:50518 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727730AbeIMVCv (ORCPT ); Thu, 13 Sep 2018 17:02:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 709947A9; Thu, 13 Sep 2018 08:52:45 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 387503F557; Thu, 13 Sep 2018 08:52:45 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 5A3501AE3411; Thu, 13 Sep 2018 16:53:02 +0100 (BST) Date: Thu, 13 Sep 2018 16:53:02 +0100 From: Will Deacon To: Jon Masters Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, benh@au1.ibm.com, torvalds@linux-foundation.org, npiggin@gmail.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 00/11] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64 Message-ID: <20180913155301.GA20290@arm.com> References: <1535125966-7666-1-git-send-email-will.deacon@arm.com> <3dd55e21-7424-071a-0f7e-d24fc2396f2a@redhat.com> <20180905122828.GF20186@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 07, 2018 at 02:36:08AM -0400, Jon Masters wrote: > On 09/05/2018 08:28 AM, Will Deacon wrote: > > On Tue, Sep 04, 2018 at 02:38:02PM -0400, Jon Masters wrote: > >> On 08/24/2018 11:52 AM, Will Deacon wrote: > >> > >>> I hacked up this RFC on the back of the recent changes to the mmu_gather > >>> stuff in mainline. It's had a bit of testing and it looks pretty good so > >>> far. > >> > >> I will request the server folks go and test this. You'll probably > >> remember a couple of parts we've seen where aggressive walker caches > >> ended up (correctly) seeing stale page table entries and we had all > >> manner of horrifically hard to debug problems. We have some fairly nice > >> reproducers that were able to find this last time that we can test. > > > > Cheers, Jon, that would be very helpful. You're probably best off using > > my (rebasing) tlb branch rather than picking the RFC: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tlb > > > > Let me know if you'd prefer something stable (I can tag it with a date). > > That would be useful. I've prodded each of the Arm server SoC vendors I > work with via our weekly call to have them each specifically check this. > A tag would be helpful to that effort I expect. They all claim to be > watching this thread now, so we'll see if they see cabbages here. This is now all queued up in the (stable) arm64 for-next/core branch: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=for-next/core so that's the best place to grab the patches. Will