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=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 B45BAC433E0 for ; Tue, 7 Jul 2020 13:50:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6177320890 for ; Tue, 7 Jul 2020 13:50:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6177320890 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ED7BC6B000A; Tue, 7 Jul 2020 09:50:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E88B08D0003; Tue, 7 Jul 2020 09:50:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DC4856B0024; Tue, 7 Jul 2020 09:50:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0052.hostedemail.com [216.40.44.52]) by kanga.kvack.org (Postfix) with ESMTP id C7D286B000A for ; Tue, 7 Jul 2020 09:50:02 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 357A52C81 for ; Tue, 7 Jul 2020 13:50:02 +0000 (UTC) X-FDA: 77011413444.12.page43_240ee8926eb4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id 00268180555D0 for ; Tue, 7 Jul 2020 13:50:01 +0000 (UTC) X-HE-Tag: page43_240ee8926eb4 X-Filterd-Recvd-Size: 2651 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf37.hostedemail.com (Postfix) with ESMTP for ; Tue, 7 Jul 2020 13:50:01 +0000 (UTC) Received: from localhost.localdomain (unknown [95.146.230.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 71B162080D; Tue, 7 Jul 2020 13:49:56 +0000 (UTC) From: Catalin Marinas To: arnd@arndb.de, broonie@kernel.org, guohanjun@huawei.com, suzuki.poulose@arm.com, npiggin@gmail.com, maz@kernel.org, steven.price@arm.com, aneesh.kumar@linux.ibm.com, peterz@infradead.org, Zhenyu Ye , mark.rutland@arm.com, Dave.Martin@arm.com, will@kernel.org, yuzhao@google.com, akpm@linux-foundation.org, tglx@linutronix.de, rostedt@goodmis.org Cc: xiexiangyou@huawei.com, kuhn.chenqun@huawei.com, zhangshaokun@hisilicon.com, linux-kernel@vger.kernel.org, arm@kernel.org, linux-arch@vger.kernel.org, prime.zeng@hisilicon.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RESEND PATCH v5 0/6] arm64: tlb: add support for TTL feature Date: Tue, 7 Jul 2020 14:49:54 +0100 Message-Id: <159412959457.30282.6936734936058648673.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200625080314.230-1-yezhenyu2@huawei.com> References: <20200625080314.230-1-yezhenyu2@huawei.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 00268180555D0 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 Content-Transfer-Encoding: quoted-printable 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 Thu, 25 Jun 2020 16:03:08 +0800, Zhenyu Ye wrote: > In order to reduce the cost of TLB invalidation, ARMv8.4 provides > the TTL field in TLBI instruction. The TTL field indicates the > level of page table walk holding the leaf entry for the address > being invalidated. This series provide support for this feature. >=20 > When ARMv8.4-TTL is implemented, the operand for TLBIs looks like > below: >=20 > [...] Applied to arm64 (for-next/tlbi), thanks! [3/6] arm64: Add tlbi_user_level TLB invalidation helper https://git.kernel.org/arm64/c/e735b98a5fe0 [4/6] tlb: mmu_gather: add tlb_flush_*_range APIs https://git.kernel.org/arm64/c/2631ed00b049 [5/6] arm64: tlb: Set the TTL field in flush_tlb_range https://git.kernel.org/arm64/c/c4ab2cbc1d87 [6/6] arm64: tlb: Set the TTL field in flush_*_tlb_range https://git.kernel.org/arm64/c/a7ac1cfa4c05 I haven't included the first 2 patches as I rebased the above on top of Marc's TTL branch: git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-a= rm64/ttl-for-arm64 --=20 Catalin