From patchwork Mon Sep 23 14:19:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincenzo Frascino X-Patchwork-Id: 13809667 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 2B635CF9C70 for ; Mon, 23 Sep 2024 14:20:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8A43A6B008A; Mon, 23 Sep 2024 10:20:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 838306B008C; Mon, 23 Sep 2024 10:20:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5E4486B0092; Mon, 23 Sep 2024 10:20:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 3A6CC6B008A for ; Mon, 23 Sep 2024 10:20:06 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E4DF2413A9 for ; Mon, 23 Sep 2024 14:20:05 +0000 (UTC) X-FDA: 82596212370.18.322965B Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf27.hostedemail.com (Postfix) with ESMTP id 4346A40010 for ; Mon, 23 Sep 2024 14:20:04 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=none; 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; dmarc=pass (policy=none) header.from=arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727101169; 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=ME/06rBWJWCtiTm5FPRXUJj42FK9dFCN3ZjoS10xJfs=; b=sIaoJ32P8QWwAn8ts9DvHgHkLtPZ61K3zA75k+SSMPKdJxNFItiXs2qa8NQ8nWIpxJBA9A e0IBEwVhftFb8DPLo6q0UHNj12OMLbu44YpNA8TcURh7P2fvrG0qBpkopYtgds4wYlgA8e qvg1U3SdGnr9KwQ4f1vYUaOPRNi2uy4= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; 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; dmarc=pass (policy=none) header.from=arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727101169; a=rsa-sha256; cv=none; b=uFIQdO0MVuIUN+hvMesuuJt8xYWmmkM9l1Olyvqxpt2zcwtLSPDeQzu4OrTthSSlXtxGJa SiDNg5zd4EzC7nSPjGOBG2iyB48RKd1Ulh6X75TH/feP2oCNza8RKZAtcQ0JfNr01dNFup F61K1+ZH/BNLB7m4RE7LyolyknFAmZU= 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 0DB0F1007; Mon, 23 Sep 2024 07:20: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 24BE43F64C; Mon, 23 Sep 2024 07:20:01 -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 v2 5/8] x86: vdso: Modify asm/vdso/getrandom.h to include datapage Date: Mon, 23 Sep 2024 15:19:40 +0100 Message-Id: <20240923141943.133551-6-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240923141943.133551-1-vincenzo.frascino@arm.com> References: <20240923141943.133551-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: 4fuikuxhokywmajk3o3uhnhhbpp8b1zp X-Rspamd-Queue-Id: 4346A40010 X-Rspamd-Server: rspam11 X-HE-Tag: 1727101204-802766 X-HE-Meta: U2FsdGVkX19a5NU+GZUs6+y0YSwEpCrpENE0X3sckh3wszpFwzWfKBFuNyoqpmtMHN1fw9/1JRqxhNnIJnqOVBYMXYMAgqd/QJplkjSyiUtUoZa0CzpKlBYuZcaTJgxuwvv+Ln4BZ74Q+oeCA6RUB1/UoLGaSwN+HEmzGjM5Q1lpY8q1DY31ty8IcUAuABBLid8sQOoYb5+WjPO2o7wGxQP7qXdROUNeqHrddlxOCS1ZRaglIq09CjHQlS7BNiXYIfjbOwnqOon5UGkwO18UDzkDQB2M5BEOqYmWnnDaQZK9Z+trKABrexctPuWfcjBzdI9eakbR6Y3B2Nzg0dCz5vKUVV5iTBU+gh0XRKlZsrcir87WCKxBMIsQdHja3IVCi9tW1t+hFjaunwlO1I4oUe8rIritvj37A7x7HPYpfLce7/S+4qEVB8ei3dtFNwvHzaqgWeLPXm+Bo5xH/v4FFugHBbIPvS5/FaV3MuqWgRiMJYy8/lsmmt+HvegzeybRGIifJ8M7FZ8xQ4FbQTgLWYi6/JSQYAYF4XoKjiJMkNNI83U0JjmnNuhFI0OvdiVl6hEVkAQCJK0i9JYgxJmAwj2s6SQ8gXo3qmPmxcskTaS3v+gD0X5jZhPrfmm0Q+GWVzFhso1bh8hZ9EALmj5Pk/psYju862ttT69vlLf8PIV2mWdzawK4C9o77C+Nxbre9kvhNNb0KJbSSZUmKD5FymijkRw+DSQ/iHUZLRxAjyIYVvGPMCrZPhr4Kh7D3Vdgs7Cifbn2jiPy6tyRQZe0XY4yy97rrZX4GmNxnda0ZYV6It88PSxCq3OPSgEbZPhnEof1m127A5HgrdJHp9q5mYLMYCtg6q3V2rmfrKt+qy5uUcGQKsSHFu+d6ggBv3gO8ISGXgufAFdsMx4lE/M06xK8IJNYbWFOurgsvVSkHW4FWxju4mVcJYeUzK7MynxiMZxRXAEI86MlfNB8lTJ 2KaFd0aa /iFM2nXLE8MIJJQkLzrdpu7sKz7uWPEx528GE38Ne125dNMHZpsNjQJJQM/fmVCWQV2siqYp5Uxf+zg1rClT9mWY+1rKieB2I2VL+J67H5Z0sy5WyzxjRgSOdKzO4iw7ucOSX91T+BpiBbdPBxONiBSN0mPYu3QldQZ/NiiT+XZjRsQAbvA4RxqJOjMlBruP5k4QurIhI0XNQXhuZwEt+i945treF0kmRt+Q0RA9xn+vqJQQ= 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. Modify asm/vdso/getrandom.h to include datapage. Cc: Andy Lutomirski Cc: Thomas Gleixner Cc: Jason A. Donenfeld Signed-off-by: Vincenzo Frascino --- arch/x86/include/asm/vdso/getrandom.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/vdso/getrandom.h b/arch/x86/include/asm/vdso/getrandom.h index ff5334ad32a0..4597d5a6f094 100644 --- a/arch/x86/include/asm/vdso/getrandom.h +++ b/arch/x86/include/asm/vdso/getrandom.h @@ -7,6 +7,8 @@ #ifndef __ASSEMBLY__ +#include + #include #include