Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1436984imm; Thu, 6 Sep 2018 23:37:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbrDvrGdxIM+AiPzR5W5+xMfTGarwQi5toK4mrXJqqwHMbVD76bSAUvUfIE6L12QPu0VQRn X-Received: by 2002:a63:ab0c:: with SMTP id p12-v6mr6807666pgf.190.1536302255474; Thu, 06 Sep 2018 23:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536302255; cv=none; d=google.com; s=arc-20160816; b=tNB6OPfNqbtfrx1COQm4/8syYWFv+4A60xp+tEFAEJu7mnctMex/vBMLhr8TTt+sZA tYsTSF4SgwnWSGD4RH5pWTNKSkNFaiVwoYj+xsRym3TwsmBoTJmkCrBFuNnchbjm3kNU vNGvKVVLo66SHryKrRs8UOTHpeGdRUyZ8SS+QxafaBWbppVi9qXEwLaoE2IiNzvyUgmd /NFQdxjRCFDHIGHLP5PeraYuC19mng4rMkXzHbwcQob6cK8YdlRMlb9oF36oGrEP8al3 w0eoq5h3i1JBY+/HhqFQpR7mC0XsgLPsf7zhhuhZoCqP5Zn5Wsfdvsrxn1G2T+9U/j4/ L44w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=pYjRDAFF8BqWG29a9pfDMn0aCrD5UMvGtfmLfsNIg0E=; b=j6/FXPspKdKmW+vuBR8H6uNthu+Kroe2YW/vVye9RkJ+VdhHUT87kq4DoKAVuUiMFD ESCVMV0x12DSOnr9e+GfrXTD5PvJoJp5TcTkWHUflOkFL/+34C+QZiSDqPC6gdqCQ7tf ZaOUHGPLVEcqG+PEapZgVsMlo0SYbffxSznO4x4Th/wVlxQeOSMBQLABgH7FqY7Z1a/i Z0I8SKKFcyEKISsW4x/pOYmFQlKU/xc35gFdVOGQCkE+dRQGT1vUs1aC2DwpwTG+3jVj UedkzL3o9cewP7jIh35BdCMtfZV7HcCXbgAHdq1i9dnG94arRFpM0v2QNthZ0sqhTv4T TmQQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4-v6si7383109pgc.429.2018.09.06.23.37.19; Thu, 06 Sep 2018 23:37:35 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727621AbeIGLPg (ORCPT + 99 others); Fri, 7 Sep 2018 07:15:36 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46120 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725933AbeIGLPg (ORCPT ); Fri, 7 Sep 2018 07:15:36 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6B5C377886; Fri, 7 Sep 2018 06:36:09 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-121-226.rdu2.redhat.com [10.10.121.226]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8BA834E626; Fri, 7 Sep 2018 06:36:08 +0000 (UTC) Subject: Re: [RFC PATCH 00/11] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64 To: Will Deacon 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 References: <1535125966-7666-1-git-send-email-will.deacon@arm.com> <3dd55e21-7424-071a-0f7e-d24fc2396f2a@redhat.com> <20180905122828.GF20186@arm.com> From: Jon Masters Openpgp: preference=signencrypt Autocrypt: addr=jcm@redhat.com; prefer-encrypt=mutual; keydata= xsFNBE6Ll1oBEADNCMsChhQGT2JDjJPzACWwz2LgW9Scrzg7fMuB0QCZUWwYiFn8aSnWbF1D gW8zLaylIUBcoSZNNPQ3S03pHmFtCwCPESaCI/TikHlGA6c996jZzf1zLx/khEecBC1b4pFM VbWzE0RosgXotxu0MCaAp3mLOFWRZJu4BHGuSSuqbT4qfJ1euIN4uSD7+GG5M/O3ERIoYV3Q E8FBUUKKDRXdI8e1fq7iqg59Dq4P922iuhpbdwQRTRQmb+4uuRaJG7PMP5uBtN+Y0umvYK/y ha1kFqunGQ95GTSleD3E5ifjXWAOLjOldl4fxw6a5Z2fbX+uTancr8G85JLzhQp4+0Av5WfV MGe+UCUH8nlfJDzFE0q/oltgXDwE+4Pr9J8NSN4heF8XL5Cn6JnE9d/YvgIGEmyf6J/8WPQ+ nWTqN+VvEkrvn5oHuJOuM16AFRptUFQOJQGCIK/hupwHkR6TjFMA2XLv6CXjAgvWK+z9SAw8 zUFcqDN983qD3pc88lmSgPp7uArmMwBdCEpVayCLvu+M5kzZz9rty73u3Rv1MF0o+Rtdq4uc JLhjCd/FAMTXi5VzkBcuOufgcvqs0kFgloCvdL72+dyowYDJaC8Ir6KNrz3iOk9P56ESY8E3 70/wkoyfVnesrih7ntiqltISotRR7lDp4AD8oskaAcGqKy3AYQARAQABzTdKb24gTWFzdGVy cyAoSm9uYXRoYW4gQ2hhcmxlcyBNYXN0ZXJ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VzgVP9EgwzBwX1PWi6OEFIG0yWltbmFXnn3clTIa/uG1c0VpCRuGtSEtqfC7n yrXvw9qg2waGcnb8WuoS+g== Message-ID: Date: Fri, 7 Sep 2018 02:36:08 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180905122828.GF20186@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 07 Sep 2018 06:36:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 07 Sep 2018 06:36:09 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jcm@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Jon. -- Computer Architect | Sent from my Fedora powered laptop