Message ID | 8870f6f84e611bbd3feeed7589c9db69fd6675dc.1720699192.git.christophe.leroy@csgroup.eu (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 C5E54C3DA41 for <linux-mm@archiver.kernel.org>; Thu, 11 Jul 2024 12:00:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2DF606B0098; Thu, 11 Jul 2024 08:00:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 290C76B009F; Thu, 11 Jul 2024 08:00:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 159466B00A0; Thu, 11 Jul 2024 08:00:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id EC2036B0098 for <linux-mm@kvack.org>; Thu, 11 Jul 2024 08:00:10 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 85D22120558 for <linux-mm@kvack.org>; Thu, 11 Jul 2024 12:00:10 +0000 (UTC) X-FDA: 82327328580.01.669871F Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by imf14.hostedemail.com (Postfix) with ESMTP id 4946310001A for <linux-mm@kvack.org>; Thu, 11 Jul 2024 12:00:08 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=csgroup.eu; spf=pass (imf14.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720699176; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=rFEBZBjNJ1zAu8/Zv0yNQrVOgcvY5D6IPvPiiEQJMSE=; b=h8+bNV4Y5wZl+3YIl3NnKmCyf/37ujpm0Se+Qt33KHNCkLX0ilMM8FdOe6adJqxhoRnU1o +87JkiGZD7m7OQadxdkMo3qcNDcQbN/5WB69YXOA85DWTdIMTFAlgDzMQODyOtijYIPDCL dZ4OZJyj8aaJJSoCHZHCy213ewJ2K7E= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720699176; a=rsa-sha256; cv=none; b=RLkJZQe5DJhO0kOh+o44QcBHcHVgAXJkdlGuzbz/aixqh6SjCpLIbqIoWmsm0RuuZNae93 igteI9BvxcNyFmcxVDdHvBM9oOU9riTU+giIBwzoFGCKxwIlKODz96uih9AQnhjTUrmNdd ZaHMwl+hCGHGJBjkliyzdOaB5dgMktI= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=csgroup.eu; spf=pass (imf14.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4WKYFL0wCwz9sSb; Thu, 11 Jul 2024 14:00:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjtJxhZbc-EP; Thu, 11 Jul 2024 14:00:06 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4WKYFL06F7z9sSY; Thu, 11 Jul 2024 14:00:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E98E78B778; Thu, 11 Jul 2024 14:00:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id DnbBgMBVviD7; Thu, 11 Jul 2024 14:00:05 +0200 (CEST) Received: from PO20335.idsi0.si.c-s.fr (unknown [192.168.233.107]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8F8948B764; Thu, 11 Jul 2024 14:00:05 +0200 (CEST) From: Christophe Leroy <christophe.leroy@csgroup.eu> To: Andrew Morton <akpm@linux-foundation.org> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel test robot <lkp@intel.com> Subject: [PATCH] Fixup for "mm: Remove pud_user() from asm-generic/pgtable-nopmd.h" Date: Thu, 11 Jul 2024 14:00:03 +0200 Message-ID: <8870f6f84e611bbd3feeed7589c9db69fd6675dc.1720699192.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720699204; l=1378; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=VUlW/WnmW3lWWbXuUUb9fXEDL6iAgxyqWAXlpog9Zjo=; b=HgQEB+jy1GuN8G7qy2mbADJiQNfg80tpEQ4+y36hghfbE/ndSQH/W9O8PkhkdrLES0S72Fllp n/jdy4hgWbPDckhJO/41aTQ2VUPKhFvkoV5iQXwVnxi3yFq0sO2eZnZ X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4946310001A X-Stat-Signature: k3fcc8pzq6py3ctmcrzz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RDpi8csYzS9LMXngBO/7OqCF64DlMIv9xybg4Rp7EUP9P0gxMxptUYM7keHyHDAzWFu14ipCy0tE0TdIQ0zzC9coLEmzeGnHz+I8aWiQDDbq9Cx1Ksks8lCjG6Kiy9FFZFMbkKxDHfpc42h6BSXTzE1ZIGXwNHVBXYiOs/FRzXSOHtZ6Oz+Pv1bZzhhSbVfrveuLnqIV9rw/ePjQjabEiwCBwOGuJMiOx5BaSSegiipxX8D81T1eyuPFRdBtlivimiDBKc5CQTesUDfDagWQxaDFr2SdFSQj47tiYQ98V4rJ8qJx/YDacIg3Y6coXq6kVLpv3CtsWw== 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Fixup for "mm: Remove pud_user() from asm-generic/pgtable-nopmd.h"
|
expand
|
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index f8efbc128446..c818b3328704 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -812,6 +812,7 @@ static inline pmd_t *pud_pgtable(pud_t pud) #define pud_valid(pud) false #define pud_page_paddr(pud) ({ BUILD_BUG(); 0; }) +#define pud_user false /* Always 0 with folding */ #define pud_user_exec(pud) pud_user(pud) /* Always 0 with folding */ /* Match pmd_offset folding in <asm/generic/pgtable-nopmd.h> */
A stub pud_user() is also required for ARM64 after commit ed928a3402d8 ("arm64/mm: fix page table check compile error for CONFIG_PGTABLE_LEVELS=2") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reported-by: kernel test robot <lkp@intel.com> Closes: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Foe-kbuild-all%2F202407111706.tTA6kPdD-lkp%40intel.com%2F&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C7caf923d5d4a4ca5600708dca18a1c35%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C638562861750514044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=0BzPf75jJH9ok%2Bg69kthE24pZHTSoKfGBzpZEA2U91M%3D&reserved=0 --- arch/arm64/include/asm/pgtable.h | 1 + 1 file changed, 1 insertion(+)