Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1055139ybt; Tue, 7 Jul 2020 06:50:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsxGpBqtKPE8kp2dnmta15yRv3RgDobMi2DyWFExHyywXAubLREXpTeNfjnXpH6r3TGrRy X-Received: by 2002:a50:c88d:: with SMTP id d13mr62311367edh.104.1594129847619; Tue, 07 Jul 2020 06:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129847; cv=none; d=google.com; s=arc-20160816; b=DG6owge6TtofHfWDKf1z0kNxrx4d/aU5eWtDpMBliS4l50cCC9xvoUbGOTVTS8bFXc nCfYJpffJzM2DNUsiDNSv3fN68PV70ZLClOthiHrBltzXyGJGqPOabMNDlbuPYcVK+1m hPZR14iM6S3rm45mHj6w2aqPbzpvB50IeFq9C1PILPHarRuvFayN+kIM02alzMCKAQcR 4Xt8TS4kKUCt65cnasz4ZH8mESKMgbkjhQQfCld7J2ghZOfXifoVS/1u60V0qlJ0JT/m QIvnpI7J/ht5BaxbHeqbpjJVyLKm97rbig2gBl0NNpprMxKfw2q4k6czhhwDISEnuRbi 6U/Q== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FH++/+nweERf2fF9MfoGPpYqUGNPzmUEZaOKG3K21zI=; b=KJJdTXQ5WMNZSreeaaruL1mEGqj7NZUYVE43OYFi9MM/MnQMQSQnRb6TdY98yOOumY Jv78Avent154S0ATTo+vrubLWM6rlP/o5w+9RVzQjBIcK1xuQmibuJgPZRCu5JGCmrt3 PdnlvrwSP2xQ15V58G4u9aezZdXXxxDBBX76tF9t4ZYo9NnMAQdlJlKUoR1ceP2TStTD 5W2HLOsndhWoA1yGbJef/R9vL9SB2c2PtkmUG4yrcnTVqKNZCLVgZrf/3opjKYjrzUmw 8FABDfdQpXfCyOUH4GGv7MnloruvQGlHBj8i6/up/YsK/+6HKPkN+hrloIZMwrpVIkxK qR+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si3991096ejc.678.2020.07.07.06.50.22; Tue, 07 Jul 2020 06:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbgGGNuB (ORCPT + 99 others); Tue, 7 Jul 2020 09:50:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:33116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbgGGNuA (ORCPT ); Tue, 7 Jul 2020 09:50:00 -0400 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > When ARMv8.4-TTL is implemented, the operand for TLBIs looks like > below: > > [...] 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-arm64/ttl-for-arm64 -- Catalin