From patchwork Tue Sep 3 15:14:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincenzo Frascino X-Patchwork-Id: 13788873 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 04320CD343E for ; Tue, 3 Sep 2024 15:15:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 862308D0193; Tue, 3 Sep 2024 11:15:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 812388D016E; Tue, 3 Sep 2024 11:15:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 68BFC8D0193; Tue, 3 Sep 2024 11:15:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 45F548D016E for ; Tue, 3 Sep 2024 11:15:10 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id D094B140547 for ; Tue, 3 Sep 2024 15:15:09 +0000 (UTC) X-FDA: 82523775138.12.A5449A9 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf27.hostedemail.com (Postfix) with ESMTP id 026B14001C for ; Tue, 3 Sep 2024 15:15:07 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf27.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725376402; 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:in-reply-to:references:references; bh=9csaeOdq2aH+eR6j8IiHx8Ly0MCrnUlj3wQSt8Ht9F0=; b=omiCiJrZlZSe0qXDWj+Jy/7DP1EVzEbcHFgjKJU3XRhPj4ps7TESHwlcVXQHJdxrW2+Phi JM938G2v7zoc4O+2+Bp6KhQ/7llMU4p2cRkuP+VOZvFXKgmCvKu3Dbht+dcM6gBFl8fdev DB5P+foC5YTuviSnQ/J8Fyo6h11/NJ4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1725376402; a=rsa-sha256; cv=none; b=hnoeqVTsuKNftonKQ2u3ZYHgVqHA5OVHdrv6urmrfGvSidWmVjZk3yDxyq7CnV17s40w/l Smb0apx5ZKM9AzdoffZj402lMyezGg2Ml6jeMR+ll5mTwJTJy5ITwYecFZxctZ5MwrUNq3 sgeP7grIAEp/mm8XYbtNTSdvfuZu/0E= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf27.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A63EEFEC; Tue, 3 Sep 2024 08:15:33 -0700 (PDT) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 504DF3F66E; Tue, 3 Sep 2024 08:15:04 -0700 (PDT) From: Vincenzo Frascino To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org Cc: Vincenzo Frascino , Andy Lutomirski , Thomas Gleixner , "Jason A . Donenfeld" , Christophe Leroy , Michael Ellerman , Nicholas Piggin , Naveen N Rao , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Theodore Ts'o , Arnd Bergmann , Andrew Morton , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers Subject: [PATCH 4/9] vdso: Introduce vdso/page.h Date: Tue, 3 Sep 2024 16:14:32 +0100 Message-Id: <20240903151437.1002990-5-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240903151437.1002990-1-vincenzo.frascino@arm.com> References: <20240903151437.1002990-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 026B14001C X-Stat-Signature: xiy9rh97mrdxg5payzmb5h5955bwspk8 X-Rspam-User: X-HE-Tag: 1725376507-906575 X-HE-Meta: U2FsdGVkX19xzX/62ahK20s5OiIlp7AG5fwsuufUY9lGpq3j40MM6BB/q0fdKES1yFo94iWEKRmTns9oCg2uhMPJtAoHDddLedl5jUQy2GFDyIupJqkX4DH6gQ6ZcmFmjWIPuC5h4JRvvnHuZjIozVvAZ4+bY0x2ddDWHKDuv/+FeqKc5YuOFgL+3bm0ScOuuYYdYKJf+T6Wx8GIvUf1PlG47WZED6pxK7sdwp+VZTMIJMXMaJN7Rs4nB/OmoOkAzkDzhfMA3i+F/LA+OISHUiT0AYr5g/UtcFLVLY7xSl8UsxQ4QAohqlrMR5gcbFQh3PbhnHzRrYuX5lt5CdihAz7VyTiBQKbRAciQbAUhS5fsnYQaouORXmvDnN9RnTWmTQTF1v2VcaQ/3CNXlx+gDGQ+G09Ht2TK2tnRr6pnwNIiycLQ2vIGa9TZwhL+PeTRWspJEJpjysZZ8zZ+ZG0+Sa8+bPSfeeuzvCviA038DuGq30McmXQtu9Xo36a9V0gfcnRW4m3mtwfME0e+DljSKlPX9moxHoDqKpFsdI/IaTKNZFBdTkNBOJ13mSyGpHAjXCPjzMgGWkTIvSnT+EZ5FgQTGr0lRi0fjks0KY0zsKcfqyCgBw5rqHogv/mHiXHceH+WHEGuuCJVPpcRzuTGqj8uAu2VwLE8DA777/Nqor5qx6D+nmsQfTqBqhK4uTlydG12KErk6lMnhp+qGxOngtK58QiNZ+NMrgEwPddrVmCYyIfGlUTj3w7Qx6sU7f+RLAqUmVz8m5kRVv5bdMU05H7rZTjeND4AzkJMgAXi7WW9BMKbOAIcsR1c7SDIKEwPaoLQau5Z08yLrWNfb5BQM+LHG13hxgy16Mzzx3IkkV9BwoLB1yKluPwepmZJ5fxLEi6uv7Joeb80tzyoTyKJPhmafzVvGZlqE+sPQnBmNsuDOC8R+8BJ/sRhQMNtI9/KSe8ZQN5UipuftWnyeWV 3HMMttFE IglqlptBRLlUsQURMnkMZSENRWNpXMC7pOiuab6T+JyEFFzJGSko3Ck5zt3ZVKUybSR9wM32CMt2Gb0SgTEyWP+xc4HZw3rB9dLxTHhXueEwds4uk5DXBfhCj+PHzsDMek6RNyYfzWlDlT5tdjAxTdMhQTEmWf9ZE2sBUPg0jI9Kn8OaMx2f5pyPfnX3Qusmdu/jyKuOm341uvlw4fbs5njuYaogqupkffUXBYzEGbQG9UuagHHRzLIOtX+LAtNM4RCt+hlTB0YCvVlY= 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: List-Subscribe: List-Unsubscribe: The VDSO implementation includes headers from outside of the vdso/ namespace. Introduce vdso/page.h to make sure that the generic library uses only the allowed namespace. Cc: Andy Lutomirski Cc: Thomas Gleixner Cc: Jason A. Donenfeld Signed-off-by: Vincenzo Frascino --- include/vdso/page.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/vdso/page.h diff --git a/include/vdso/page.h b/include/vdso/page.h new file mode 100644 index 000000000000..f18e304941cb --- /dev/null +++ b/include/vdso/page.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_PAGE_H +#define __VDSO_PAGE_H + +#include + +#endif /* __VDSO_PAGE_H */