From patchwork Sat Dec 7 16:55:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zi Yan X-Patchwork-Id: 13898338 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDFE5E7717B for ; Sat, 7 Dec 2024 16:55:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3661A6B0338; Sat, 7 Dec 2024 11:55:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3163D6B0339; Sat, 7 Dec 2024 11:55:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 18FAD6B033A; Sat, 7 Dec 2024 11:55:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id F088C6B0338 for ; Sat, 7 Dec 2024 11:55:19 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 70FA8121D62 for ; Sat, 7 Dec 2024 16:55:19 +0000 (UTC) X-FDA: 82868762844.25.1A998A3 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2083.outbound.protection.outlook.com [40.107.96.83]) by imf07.hostedemail.com (Postfix) with ESMTP id 0050F40015 for ; Sat, 7 Dec 2024 16:54:57 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=V47MbQOW; spf=pass (imf07.hostedemail.com: domain of ziy@nvidia.com designates 40.107.96.83 as permitted sender) smtp.mailfrom=ziy@nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733590503; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=91j+UUl+idUfk8C4PcBDPsKC/XMGlAuu8q1FPv8PRf8=; b=KkN6wvSre+ECgxqWmPAI/E4Sq3hzzs2m3WnnnLuc2LeQkmCYzaKBx1WwE9eJo1mgQUR0b7 uKe3KQHMVqk13dmncs+6yP+nUpQx3etO6DrYXDy91YmNCg/bYuApPpMzZNi1dnQIdZeBFI RZUIIWM3TTXn9bPDzD85bvwWRS7hwN4= ARC-Authentication-Results: i=2; imf07.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=V47MbQOW; spf=pass (imf07.hostedemail.com: domain of ziy@nvidia.com designates 40.107.96.83 as permitted sender) smtp.mailfrom=ziy@nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); dmarc=pass (policy=reject) header.from=nvidia.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1733590503; a=rsa-sha256; cv=pass; b=JxvcBlRry5iwptTrhim7niVhMIIPP+c3YUkyz7818wpxsLJen3H+PYrXvIcP0C/ER2eDe4 to/FlaBeyYU98nEyR/9G91gh17JWSwx5Y5Ml0BcLc4dYRT8Szad2AqLaiifKkhFY36ZJ7u QCRmuE/MidVNpk5JCeMaiApp3yTsO0E= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=g43+6FPxTHKH97biJc+nvbm8RzTsofVNLdC0RqBlh6FbW66qQeuZRRygGmHdtA23h16ZUMiu4czPC+10ZEgUjkV1mjeTK5JCXKNG5ZAjBSNoIJVZUfWG2nNvKOWZ91XBpYGN52oFJJOpLiKh8hHbfPs9nZ69a1lfRqUBCP/yFDNKqIc4vlUn4AHcB9MqnQNb8pMO+tOx7aa6de9kPJp3jpdJpp5Oy6B+dCUzmPDFQHP4RlaQOcvPxJw5DRV1LDWska+BUA7mwPwad6P8j9+fdEpLE/IIcDcoeGehyNuKETAKqaj5H5ZBlK7DmFmJruzOV0G0EqhAY4nCdbmOaOYVxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=91j+UUl+idUfk8C4PcBDPsKC/XMGlAuu8q1FPv8PRf8=; b=mLP93/Rhg/Iw04TxgHAFwfJ7RHBRbWW0HZMw3oag6OfgxYmPxh5SpSvi2UdeOcOkYVLPGpVa/Vkc9L+5OU/MCx1AbqIV+zcrXgRgJ6XPILqGMqIIzmrUrcmjBU5sStWcBmRXIZX5jskhP4JCNpLDzIxH7TuMGyceufnRjJB6emzwfZHzj3cBZKR9/HknAYX/Zrm4z1f2WM6LhNKQuT+FhA1cocobANGEZ+T3GFQ7kH9fUMxJuEwpNREKx9jXbr6iQFY0i+h2v4KepBwDUwFZL154KKJtvB0tMv2K7PQsioDvfoL7JSPGqJyIc+GkR7PooBOaVe8yDcRqqM8JYebgzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=91j+UUl+idUfk8C4PcBDPsKC/XMGlAuu8q1FPv8PRf8=; b=V47MbQOWyasGPmL8ayyfFSyb8+RHXMhO30Qn5mT9Ec0HHsT88G6DM9p5THbIkXJt+L/fHnD1QxglxnPehW2oXuCg+7/jy12JW9QBdDCaYLqJaGZoA9wwKhBiX5Nx1i/TlD9xS9J5R9mMQL7aqyFrG7wR2Dnr9rcGfqbqNXxAIdGr+mGt5/dlRZHxEdnH1u1ezE8MRwxBIAqYHnQoHsWU8F1rkWKR1CdeKzes27fcQZ3QQ6J+vvAGTzeAb4qgSeGcd7tjFDMOm01td2R7YgNHYBJva2nNBEjh5F8wZWaeGKuqoNxM26wRESbUbh2jou5actS7h+f0lJLAtgfvPuK+xg== Received: from DS7PR12MB9473.namprd12.prod.outlook.com (2603:10b6:8:252::5) by SJ0PR12MB6735.namprd12.prod.outlook.com (2603:10b6:a03:479::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Sat, 7 Dec 2024 16:55:10 +0000 Received: from DS7PR12MB9473.namprd12.prod.outlook.com ([fe80::5189:ecec:d84a:133a]) by DS7PR12MB9473.namprd12.prod.outlook.com ([fe80::5189:ecec:d84a:133a%3]) with mapi id 15.20.8230.016; Sat, 7 Dec 2024 16:55:09 +0000 From: Zi Yan To: linux-mm@kvack.org, Andrew Morton , Geert Uytterhoeven , Mathieu Desnoyers Cc: Vlastimil Babka , David Hildenbrand , "Matthew Wilcox (Oracle)" , Miaohe Lin , Kefeng Wang , John Hubbard , "Huang, Ying" , Ryan Roberts , Alexander Potapenko , Kees Cook , Vineet Gupta , linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, Zi Yan Subject: [PATCH v3 1/2] Introduce cpu_icache_is_aliasing() across all architectures Date: Sat, 7 Dec 2024 11:55:03 -0500 Message-ID: <20241207165504.2852058-1-ziy@nvidia.com> X-Mailer: git-send-email 2.45.2 X-ClientProxiedBy: BL1P223CA0005.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:2c4::10) To DS7PR12MB9473.namprd12.prod.outlook.com (2603:10b6:8:252::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR12MB9473:EE_|SJ0PR12MB6735:EE_ X-MS-Office365-Filtering-Correlation-Id: e3886f22-a212-4934-d62c-08dd16dfe8b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: M1tUwmlTVXyR8rf5YZ1qPQGr9tPtkknJ2OAc0QV/OJlTju0MFWf47c3TXPQDgX9b496zkigK+5C8Kvlkcrr9b43EhW79oH/VKPUCSAw75RUfcCLDK02+f+S6I55up0bFnZt8AGLXYSiKJJ2YUAuxF3XuXjSQUAgjj6x0ZNgWqzudmWuUBv23iLiTEZmVUGJqzSQTBUsj0ppoaajJWq1SJS7V4qObykfADektQXolGOHRUjl49X/yx2Bu4UINEJvhk4hwdXyBWixxLOqKQde4kDip6LpX8F+vR37ErTKsGz0wuU+ip75TBeZf9ZpqIqzixbAqJ6j6kIflt/T/MvwErbpcIVEFksj7Cp6vbKVldLC/1OsBgPALVnQ6JevYY6LIpQyvieL1+1F/nguohcTTMpvuv7u6Z3gBQR37yyeP3zNnWD4vBR6B6ySNhgD5v5eeO/pvDRl7cmsvpFhryW8eVCHaaBkCvmepvxbGI9b5r0q0qL2FlviheNWfUkX/ZGfEF0/OXBsQz5h2uHVabqLfcEOd70c6i2+TnPdL8NunoTAdvvPaiQ827pButoqoy1Sh0Xw8zcZy6JqxcxdVWDxoDMyBUxIg9emCQp6i/lf2zjrcR2wJW4MXCKRRu8CqTtbsyez30dndj5xoFHB4H1VcGj1Xxr2lkm2UwTsq4SLBTPKY8FYCY+sbZXcR/B81/vRobcYDzOBrMuwnwoVG/KYUfdAjz3958mARjXl/F7mj/BaYe8/Gr/nABlD3715+862A363U+7rIKccaBVxurdMN5Zsp5qvsku91xRx3GbH8ozyDmGqOHBI023rBe2f9MKPqH/3ypZAuqrl49MkaOauO5iYKeK75JkMZjKXVGdDrlQlTAFbcrzcroctCdNYIEgRGCg96/HAtatmfQTFBL97jlDvoYyle83YNlZD4fSsELAWNJ/MRNryVUaJhqmvs0DnVSos74VGUYHBqEutIf/t/r8FlIAfa2GvMBD9fdtSNJ7cVjpvbsBFckU52j5LFFxE3ZDypW7LvkTTnCnRw4ePH0p0suTo2zuT6q0oZZ08cIfi0mJ2BB1MqCeEP1NcDRkeVDz4mQVu+KFA8kVoMDDwjlImgA1t6xVDME2/vifRnE9vYkH6P5dAqVcAQ9qJWxsOHyqjua01EBJYfDbN+kwW6FL0ae7x7A1sznf7Kn5sbXXjKKoRX9R7PvIVsqxeHc6Z1DLe+229cZSCcZpZ642cxTm44+IDUPPmiZT/RVQgiNmDt4tOtvJnBodYy3lNLZcgVfy3GKfCC+mQ1uDlD7H0SuDGXPRjgZ9Cd2gmGZ/w5/VZfv4XA4h7qVaeCnCKS36FZMFgH2MQr0jLtq6rjl5CwDQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR12MB9473.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ai+mS0QPDU/qlmtVMKrtIkkXNm5shfJRKSaF17U2nBw4ynq4HjekfoChoxcAC8F4NZR85ATCf8YbbRlVerNf8lmshYUtvr1umyIdfqpZxvgqZIRIgpMJ+o9/eS3YAhOZEn/K3uyeWWSMiRmaLQTqpklamKMqQiccQnw6z4zp6FtIH48kTcN6RCczZi4ui+dRqdO8D1kmM0b2QwxnitIGZcAllZarTtvDpzAUvSs13Ez2HdEwhxMT4Hm90Y/Pv+oulHwd+wTV6LM5ErVZH8fH4Tsh6/9of5HIE+yPVUhblPNEpLfrUajS3VApAQ2RK7eRaFiYbytoQ4quHIFMjKwSUu8Ngz04LO9cfWmh7Huuwe5lT0K9tjOZnuzwdGJjxTi4+DQtr7j0i/U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X+NqZv3vaI/kZPxdmyoyEFmcHQl0gQ9YlTPlQzD0feURJNRR/36LwcYMc9uiztcGYv5Hz54wehcucyCJPdHMd0RH9u5zakQYqNkB/4n33AGkVm0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3886f22-a212-4934-d62c-08dd16dfe8b1 X-MS-Exchange-CrossTenant-AuthSource: DS7PR12MB9473.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 16:55:09.4966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JbnLDO/X15uEFtsOEmAxTDXDBsGj+9RVqOXbXeJNabl05NAnhsQJSTeqLDavq6nn X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6735 X-Rspamd-Queue-Id: 0050F40015 X-Rspamd-Server: rspam12 X-Stat-Signature: j6cbfcreh6ep4cbi9oq8wjufhtce86sg X-Rspam-User: X-HE-Tag: 1733590497-755457 X-HE-Meta: U2FsdGVkX19pxHgkvgnf2vhZqFE97Iamruuw5wG3GQprgJXhQ0GpYlta2EHcl5hCW6seMaOranLVZMM3XfoQzUM5pXCq1dF7psBbwSGvGTE1fa3aQ1XLqdg1t5i+3azSbjFbvxGyAz5KXPb+AjKlvmXg5ECkO5Vx5DkyafTn3998FFx2mnm9J3q4ws5s8vx7/ZS2ku8cqJtb6CyN4ZS71MtoihZNuIMMVOauKyxP/K7W6Qzmv0eXbUZXkwyYmflHJAKPRSclfHu813i6Ku0dPcN5qkpAOiuJ1ao7T7bfeXRX8qTAL7cyjW0RvjhdCuK0plH/tDh0OVse/Sd05cVsMKqAQ243Sb7YVahugIv4fHLqB2YV4K88FpWLbsMrwmGFNzN8Bq3rfLTxD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.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: In commit eacd0e950dc2 ("ARC: [mm] Lazy D-cache flush (non aliasing VIPT)"), arc adds the need to flush dcache to make icache see the code page change. This also requires special handling for clear_user_(high)page(). Introduce cpu_icache_is_aliasing() to make MM code query special clear_user_(high)page() easier. This will be used by the following commit. Suggested-by: Mathieu Desnoyers Signed-off-by: Zi Yan Reviewed-by: Mathieu Desnoyers --- arch/arc/Kconfig | 1 + arch/arc/include/asm/cachetype.h | 8 ++++++++ include/linux/cacheinfo.h | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 arch/arc/include/asm/cachetype.h diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 5b2488142041..e96935373796 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -6,6 +6,7 @@ config ARC def_bool y select ARC_TIMERS + select ARCH_HAS_CPU_CACHE_ALIASING select ARCH_HAS_CACHE_LINE_SIZE select ARCH_HAS_DEBUG_VM_PGTABLE select ARCH_HAS_DMA_PREP_COHERENT diff --git a/arch/arc/include/asm/cachetype.h b/arch/arc/include/asm/cachetype.h new file mode 100644 index 000000000000..acd3b6cb4bf5 --- /dev/null +++ b/arch/arc/include/asm/cachetype.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARC_CACHETYPE_H +#define __ASM_ARC_CACHETYPE_H + +#define cpu_dcache_is_aliasing() false +#define cpu_icache_is_aliasing() true + +#endif diff --git a/include/linux/cacheinfo.h b/include/linux/cacheinfo.h index 108060612bb8..7ad736538649 100644 --- a/include/linux/cacheinfo.h +++ b/include/linux/cacheinfo.h @@ -155,8 +155,14 @@ static inline int get_cpu_cacheinfo_id(int cpu, int level) #ifndef CONFIG_ARCH_HAS_CPU_CACHE_ALIASING #define cpu_dcache_is_aliasing() false +#define cpu_icache_is_aliasing() cpu_dcache_is_aliasing() #else #include + +#ifndef cpu_icache_is_aliasing +#define cpu_icache_is_aliasing() cpu_dcache_is_aliasing() +#endif + #endif #endif /* _LINUX_CACHEINFO_H */