From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2ECD5C54FC9 for ; Tue, 21 Apr 2020 17:14:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E8740206E9 for ; Tue, 21 Apr 2020 17:14:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Csk3w3AH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E8740206E9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7B0DF8E0005; Tue, 21 Apr 2020 13:14:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 761FD8E0003; Tue, 21 Apr 2020 13:14:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 677EF8E0005; Tue, 21 Apr 2020 13:14:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0165.hostedemail.com [216.40.44.165]) by kanga.kvack.org (Postfix) with ESMTP id 4D5858E0003 for ; Tue, 21 Apr 2020 13:14:03 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id F35B452D5 for ; Tue, 21 Apr 2020 17:14:02 +0000 (UTC) X-FDA: 76732509966.24.lift27_234f53c62652a X-HE-Tag: lift27_234f53c62652a X-Filterd-Recvd-Size: 3435 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf09.hostedemail.com (Postfix) with ESMTP for ; Tue, 21 Apr 2020 17:14:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3EA/7AX0rs6Qrm0teDF6eZhE7fl32yQxAMP+T/YL9Sw=; b=Csk3w3AHYtgx9dLWAi0Bj9GaeL WpiA954DmaP/cDXi6zis6Aam9NyQbc4tg9pxRzn1edkjdFlJJyK8nwWCjoyNUdidoT1EDjCqQ+GYb Id0FU0OIDG2DDOgNZ8UDtJV52HENyPo1p/jzO9SPKBiU9qeF1ykcBsXygc2ZmR/T8xV0z8fp0TD7b V61hxkEtiLkqECyfm5YBCPG5VtCQF4cLaWDDoFK/aXJe0b2lXsihiiScLqkQ/GBgYfwLTdJJnV20R +9ofQjYiXnRQiBLd2g6tVmZAHmvoRiWx+/CJjxXg8qBkTnJvPFofn5NAG9QXDI5G73bhOamfJ4cma slCS5ehQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQwSj-0003Ot-Rh; Tue, 21 Apr 2020 17:13:34 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1C6FC30275A; Tue, 21 Apr 2020 19:13:28 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DAF202BAF0F4F; Tue, 21 Apr 2020 19:13:28 +0200 (CEST) Date: Tue, 21 Apr 2020 19:13:28 +0200 From: Peter Zijlstra To: Christoph Hellwig Cc: Zhenyu Ye , mark.rutland@arm.com, will@kernel.org, catalin.marinas@arm.com, aneesh.kumar@linux.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com, arnd@arndb.de, rostedt@goodmis.org, maz@kernel.org, suzuki.poulose@arm.com, tglx@linutronix.de, yuzhao@google.com, Dave.Martin@arm.com, steven.price@arm.com, broonie@kernel.org, guohanjun@huawei.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, xiexiangyou@huawei.com, zhangshaokun@hisilicon.com, linux-mm@kvack.org, arm@kernel.org, prime.zeng@hisilicon.com, kuhn.chenqun@huawei.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 1/6] arm64: Detect the ARMv8.4 TTL feature Message-ID: <20200421171328.GW20730@hirez.programming.kicks-ass.net> References: <20200403090048.938-1-yezhenyu2@huawei.com> <20200403090048.938-2-yezhenyu2@huawei.com> <20200421165346.GA11171@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200421165346.GA11171@infradead.org> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Apr 21, 2020 at 09:53:46AM -0700, Christoph Hellwig wrote: > On Fri, Apr 03, 2020 at 05:00:43PM +0800, Zhenyu Ye wrote: > > From: Marc Zyngier > > > > In order to reduce the cost of TLB invalidation, the ARMv8.4 TTL > > feature allows TLBs to be issued with a level allowing for quicker > > invalidation. > > What does "issued with a level" mean? What I understood it to be is page-size based on page-table hierarchy. Just like we have on x86, 4k, 2m, 1g etc.. So where x86 INVLPG will tear down any sized page for the address given, you can now day, kill me the PMD level translation for @addr. Power9 radix also has things like this.