Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1980466pxb; Mon, 22 Feb 2021 16:42:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbbTSbbTGUsE020wTWNwfafTcDTxMnJaQlvr+aSsZWMsSgfDTMjgP5KPNystg3v9/Pryjq X-Received: by 2002:a05:6402:3585:: with SMTP id y5mr24834598edc.97.1614040962017; Mon, 22 Feb 2021 16:42:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614040962; cv=none; d=google.com; s=arc-20160816; b=W6ayHNPOANFy5Bk4y0ppq+eFbqK08SDDeGMAWBGpEkmpVxAOl6JwGnlu+/a8kqv51L 3QudA59GtoTzOC+yM/1vCUp35f3nTLnFEnyGKtMHOSI1uFUsVJJarKoyqJdLsKdbobDc M8hbI3bHCAbRqR0YM073DlAFfhsnJFCb0W+DFwJUZv4H5WdqRaRMgTutMaP+0Qe3HWM8 TCWt/9aukU3kaIBihzJU8d5QyHFOLERZzD35hJIBJOOXzkSQzekGoRRcGYUviyP5EVoU vjVXA2p6IcNGk9/LmWaauEa+j0NsMu7blR+XZm4ISAY5Ufj7qdeiAQypOgxLVr/MsmiA NdDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6RDX8dV8xBUpxaqssYQACXjbUU0N9zM0r9qTQjPcz4A=; b=k0qkYTzox8zfi2itIN5bB8wSMqoYq2WyAZEc/IFkVBbGNeXw/yN7tHgoB/iDbSmGkW w2ZDxMLpPJ9x+KpjZ+PL38WxNUy41mLRFAD5n+H5H0pY0bMlQnJlNC1FfU4zUR/fxpxl PO65ZWIVRKO6aOZ6J0QNEA7uq19l/aEp2TCc631GMEqcmzNPGwPATX/nZidzQ9LtZi4J yaYdk2g8tnF13L1CV53f8Ruq/RT6KwwcaBcjy+4gjEWZA0Kfix674Hq+MaLeNQJ7U3+b nTsO57OucdX5NVwr+w4TXDj35bQqkr1YaQATMOQ0RmTp0GPlPC/YM04rRmezzdEpCh0f rGpA== 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 j16si14858973edw.334.2021.02.22.16.42.17; Mon, 22 Feb 2021 16:42:42 -0800 (PST) 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 S231180AbhBWAjW (ORCPT + 99 others); Mon, 22 Feb 2021 19:39:22 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:12936 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbhBWAjU (ORCPT ); Mon, 22 Feb 2021 19:39:20 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Dl0W56pYMzjQB5; Tue, 23 Feb 2021 08:37:21 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.201.86) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Tue, 23 Feb 2021 08:38:32 +0800 From: Barry Song To: , , , CC: , , , Barry Song , Mel Gorman , Andy Lutomirski , Catalin Marinas , Will Deacon Subject: [PATCH] Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64 Date: Tue, 23 Feb 2021 13:32:30 +1300 Message-ID: <20210223003230.11976-1-song.bao.hua@hisilicon.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.126.201.86] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BATCHED_UNMAP_TLB_FLUSH is used on x86 to do batched tlb shootdown by sending one IPI to TLB flush all entries after unmapping pages rather than sending an IPI to flush each individual entry. On arm64, tlb shootdown is done by hardware. Flush instructions are innershareable. The local flushes are limited to the boot (1 per CPU) and when a task is getting a new ASID. So marking this feature as "TODO" is not proper. ".." isn't good as well. So this patch adds a "N/A" for this kind of features which are not needed on some architectures. Cc: Mel Gorman Cc: Andy Lutomirski Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Barry Song --- Documentation/features/arch-support.txt | 1 + Documentation/features/vm/TLB/arch-support.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/features/arch-support.txt b/Documentation/features/arch-support.txt index d22a1095e661..118ae031840b 100644 --- a/Documentation/features/arch-support.txt +++ b/Documentation/features/arch-support.txt @@ -8,4 +8,5 @@ The meaning of entries in the tables is: | ok | # feature supported by the architecture |TODO| # feature not yet supported by the architecture | .. | # feature cannot be supported by the hardware + | N/A| # feature doesn't apply to the architecture diff --git a/Documentation/features/vm/TLB/arch-support.txt b/Documentation/features/vm/TLB/arch-support.txt index 30f75a79ce01..0d070f9f98d8 100644 --- a/Documentation/features/vm/TLB/arch-support.txt +++ b/Documentation/features/vm/TLB/arch-support.txt @@ -9,7 +9,7 @@ | alpha: | TODO | | arc: | TODO | | arm: | TODO | - | arm64: | TODO | + | arm64: | N/A | | c6x: | .. | | csky: | TODO | | h8300: | .. | -- 2.25.1