From patchwork Tue Sep 3 15:14:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincenzo Frascino X-Patchwork-Id: 13788876 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 D983CCD343E for ; Tue, 3 Sep 2024 15:15:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 68C968D0196; Tue, 3 Sep 2024 11:15:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 63C6E8D016E; Tue, 3 Sep 2024 11:15:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4DC918D0196; Tue, 3 Sep 2024 11:15:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 2D6F48D016E for ; Tue, 3 Sep 2024 11:15:20 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id DC8FE1C1468 for ; Tue, 3 Sep 2024 15:15:19 +0000 (UTC) X-FDA: 82523775558.07.5AE071F Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf18.hostedemail.com (Postfix) with ESMTP id 01AA41C0019 for ; Tue, 3 Sep 2024 15:15:17 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=none; spf=pass (imf18.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=1725376471; 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=S7TKvuQSZyFQZNwV9WFQBJSwf3Spk7ANpr4GweyabZcqHY76nkgm5OFbI20g+kpMpak6vF PagLv1OlZbC3Nx/Z3jF8W0ee1rkdyzuEu6Q2jDFvghKzOdQdP23nA+FuffPqHPOfa5KE4M Oi1Ke0Ku/2NFSr/e5RBoPFK+HFEli3Q= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=none; spf=pass (imf18.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=1725376471; a=rsa-sha256; cv=none; b=BitbVrcFBTOFNdYrkz9V0p0BvfXsUmU3VNPWC04KXpRk5I6Jb+Lp1DenXUkNV47MW+8vFX MBpzGEwKDngK+pd/Jyj/gZxKZLX9AQvRV2a4AytsfhgAhM/8XKfj/nL+ffhJ9NyDObwnRl zVybytvLOI7YDuviSLGF+bEAym1T6AI= 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 3CE85FEC; Tue, 3 Sep 2024 08:15:43 -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 DB2E13F66E; Tue, 3 Sep 2024 08:15:13 -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 7/9] x86: vdso: Modify asm/vdso/getrandom.h to include datapage Date: Tue, 3 Sep 2024 16:14:35 +0100 Message-Id: <20240903151437.1002990-8-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: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 01AA41C0019 X-Stat-Signature: 9hsucfpgdts1h8xaf3uzaac6e9xk81ns X-HE-Tag: 1725376517-764437 X-HE-Meta: U2FsdGVkX182rkV5M4yI/gZCcqr5uCn9tIrFIZsZX3eh2JZTyvYDiU9qE0be+pJ5fY05huyXi2oYd8lzQVLPQfv/9/EZooUuxFt7q17Zl41mWWy4pXZzHffunmbuK7Exf3xaoqY5dfH1YhAOUyyvDnMyD/+aRjWz5oTaVcirJJe0dCptZvaEn45pbgUBOgpNiTjMQxWeJEMML7RUHSe+UJ673hi9YNnoJJHQAjNOmS1mcdSPhG9ksW4iBzC/W/k+s97iOrlQSu6NmyXxo0JRVz/OJZOW+LuDYWgo1g/5nnct9K5DAxomdgqoBAw6znYZEBujn4tK8HVww+fOo/I3ETpLAUfCZf5Ohnzle5S9rSPcuyQuhxtH1qND3gHbwVyNNImcfI6sbzUUtNDgEskXa6hrvBveQvLnpk0o+VF5T56NGNu7q2OOyDgSrW+WWv2l5otKBdqITvLZdXP+s6TQdqJtncYzwG7FqIzLVcY5dEY183F56k683YHpCJMAmcsQBLBb/s8u5clEkvtpf4U3vMi9zwvciWbZStr/kjNyQzSWvunti7SqLQaLLJbyMIb1jsy4588kOUqAQXJncUZchig2tDZLc5wSA39/IkuaIgZpPOwHEYjRZsFCO2u83F8NKfXr3lELNEccCmWKqmi0d/pLK7zMJ7OhGLuuFv5HKz6XRXaltqwDO1FWSRHn7G43kFR3LDisQHcciDS21iMy6H3M/f5vKAgkAqZo+w/Od7mjOwhLkAUaSv9VaZ42e6bwQuOmMS6Un3sYRO0Rksnzg5ah9Jcs+3o5r8fL/8MYEGS+Yi93YOpcTPJuJFwuIIYQ/ecVNK8FBmqobOyw6acUk4snTreyXPU6dRffaUxmkZE0AT2ZwwqoXndfSCDB+MSej+QpaKgOhR0xnFnJ/FCcHATpW5kpvSA49I8jgYU2s9MI5CI86nVMFkVme/JxYDAhdF96oNyAWIvZdNKFzDm Bx1bqbic wlaCeRI0Wifk/XIuLFvPlBDVJdZq1Xu9qTCDL2LPMlx2Heod4uH1t4Szz+j9cfcolTcUkiokRi7mzJaP2JdsDuaOsKRKGKgGZqwcEXLZflpMtDMBywlmJavTCMsWyj+hi5h2SCo6OmfdipUMENl6IAjMHX+pfahtQylz1lnHhDHVcdf9+9P56dPPTvBf0b5dJ5G9MCAZdQfpBktiYMuixzP4O9gukknPL5CRxjT75bNdxCeI= 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