Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp249248rwa; Sat, 20 Aug 2022 03:03:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR4bhuuMYOY3gW6Z++a2ITfvVtCwx2oLfushibF/WB9+3Br7yZLjejt9SRRosRAgpFpMCGD/ X-Received: by 2002:a17:907:a046:b0:730:9c7a:eab3 with SMTP id gz6-20020a170907a04600b007309c7aeab3mr7635259ejc.285.1660989831431; Sat, 20 Aug 2022 03:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660989831; cv=none; d=google.com; s=arc-20160816; b=Tri6H0uwKOhj4eOCHBGvUU7rGrDV9fA4B9yiVduIlAlHj2F0+GpoIRCe58hrlpMUB8 bSaamw9+/lxvxKMYefaGTB8S0PDPo2PrntE0HciVcWNtA+T5DjJvM4rxgQQSeCRKAqEr 8KZ+o0AMOzYoVOWftW6A1JHpTZQ/1bJkXqJGDLPbxK+jzkf/nO6j82nHTqTBDlxSI26g 860rlC0JufqfBIwun78Z9KVtBAZr9TdJkew4fzM/hPEwnmmhchoBQd0rrCNDMfQxusfe Q7ga3PO13ptsurGyiCPIppjRcIQ1CllIQi5LD46EMSLahcUurA4v6vgs5dWTiKpFiwtw PrAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=kdaAC0zun6WCRzZrFQuABIy5yngIWQJVDLY5tm6Rge8=; b=a/N+uiGYIjnZxxh3EuXS/S+QoDUreiDscEfVwp3cZeFgFjGVlWktkBhgNqtTnW5tRY iXxf97/X7U/fv/KtSYuFfHCQ9+AaAS1XkGoVuJRU4fmcS5PHgJEAPrpsiNwDMhbCXCw0 Ki2MJ0Y9wie6k1Z+0hpDM3MDxs+z3tA0wTdOwsyRDlqF5b1gIiU1EAN8vpPCQIvVWCEH tXFbdRCzzGAVhRun79Roo12HsmJCBvSTWnJMMRiBfbdqa0qKFlRfogoKiUhpsBUfJCp9 AJFM64IKZ4Xo7jKHfNugwG1SxPyJYW5o7ZMuEfiOmcNK7iJZ6DKAiRw+tF7MQBwHOzGm 7WSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=z+knXgqP; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=cb03vsUw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f25-20020a50fe19000000b004437a69282csi3907698edt.167.2022.08.20.03.03.25; Sat, 20 Aug 2022 03:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=z+knXgqP; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=cb03vsUw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344276AbiHTJ5C (ORCPT + 99 others); Sat, 20 Aug 2022 05:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbiHTJ5A (ORCPT ); Sat, 20 Aug 2022 05:57:00 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D522A65817; Sat, 20 Aug 2022 02:56:59 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BB5B45C023C; Sat, 20 Aug 2022 05:56:55 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute4.internal (MEProxy); Sat, 20 Aug 2022 05:56:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1660989415; x= 1661075815; bh=kdaAC0zun6WCRzZrFQuABIy5yngIWQJVDLY5tm6Rge8=; b=z +knXgqPKnfrkEtJt3sGcxBJkZpKqAlhwMj+QqtV7NIKmudXW+xI43CKG8YgL6vZJ S+9KJcginCH7pEYuufb333TcRdVsfDNn8XqVJi4E3PFturGyyJeJ4SA6lCpWzrkj OFsmmRRWRejokK5VnAcXed2s0S7ewXFOJB+oT1bApLYbjU9l3Ar3VDQK7Ku9KrYP 50dOcrqVczXe7f5tA8Qqh/rqmIOlFfVY2nSUiaD0ddrGRSqkIphY+PJs3428Eu0x cZMmVloz03jtv4jKfTtffmIQb8X7pPIxr2tYJ+GLITRmrRH2yw4pxlbdgCltN48a F0SNp4PMdf0hwXu7pJR5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1660989415; x= 1661075815; bh=kdaAC0zun6WCRzZrFQuABIy5yngIWQJVDLY5tm6Rge8=; b=c b03vsUwSOrJyZsHaoz64PZG/b8vT8PvoGFWTRs/ouxm9HQ8DjeDVuSLWMYH4tiyu Bh0G192rNDe0HBf/yO3jontQ6iNfxBaMZxcMQYY3Vv+I7PFOup3dOndJFN9rWPSu vl21m2PTkj4Pjro9EyHZYvxqNLn4UbwnsBrQOzMZaXwb4wRPcnvyg6BpFQnBRV08 voTuPfI36Cmj8C5kx4C9axXWX6ctW1lYapZwCwtOCokMakGYZ5/TpW0jq+JX3Qn8 exTFGkJnOrMXaVWbIWQEEGDQiE4tYT7b9yrdyjmm6QsDgfAVMATg08N9Tn6NGKnb BXXlzfbhYMU3aIoMCMp6Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeifedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpedufeegfeetudeghefftdehfefgveffleefgfehhfej ueegveethfduuddvieehgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C18AF36A0071; Sat, 20 Aug 2022 05:56:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: <20220815123613.3291770-2-chenhuacai@loongson.cn> References: <20220815123613.3291770-1-chenhuacai@loongson.cn> <20220815123613.3291770-2-chenhuacai@loongson.cn> Date: Sat, 20 Aug 2022 10:56:33 +0100 From: "Jiaxun Yang" To: "Huacai Chen" , "Arnd Bergmann" , "Huacai Chen" , "Thomas Bogendoerfer" , "Dave Hansen" , "Andy Lutomirski" , "Peter Zijlstra" , "Catalin Marinas" , "Will Deacon" , "Dinh Nguyen" Cc: loongarch@lists.linux.dev, linux-arch@vger.kernel.org, "Xuefeng Li" , "Guo Ren" , "Xuerui Wang" , "Andrew Morton" , linux-mm@kvack.org, "linux-mips@vger.kernel.org" , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Feiyang Chen" Subject: Re: [PATCH V10 1/4] MIPS&LoongArch&NIOS2: Adjust prototypes of p?d_init() Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E5=9C=A82022=E5=B9=B48=E6=9C=8815=E6=97=A5=E5=85=AB=E6=9C=88 =E4=B8=8B=E5= =8D=881:36=EF=BC=8CHuacai Chen=E5=86=99=E9=81=93=EF=BC=9A > From: Feiyang Chen > > We are preparing to add sparse vmemmap support to LoongArch. MIPS and > LoongArch need to call pgd_init()/pud_init()/pmd_init() when populating > page tables, so adjust their prototypes to make generic helpers can ca= ll > them. > > NIOS2 declares pmd_init() but doesn't use, just remove it to avoid bui= ld > errors. > > Signed-off-by: Feiyang Chen > Signed-off-by: Huacai Chen Reviewed-by: Jiaxun Yang For MIPS part :-) [...] Thanks - Jiaxun