From patchwork Mon Sep 23 14:19:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincenzo Frascino X-Patchwork-Id: 13809668 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 DEAE4CF9C70 for ; Mon, 23 Sep 2024 14:20:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4FA056B008C; Mon, 23 Sep 2024 10:20:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4A9F06B0092; Mon, 23 Sep 2024 10:20:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 371246B0093; Mon, 23 Sep 2024 10:20:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 1920E6B008C for ; Mon, 23 Sep 2024 10:20:09 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 88DC04138C for ; Mon, 23 Sep 2024 14:20:08 +0000 (UTC) X-FDA: 82596212496.13.EB22EE7 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf01.hostedemail.com (Postfix) with ESMTP id E520B4000C for ; Mon, 23 Sep 2024 14:20:06 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=none; spf=pass (imf01.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=1727101147; 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=zsNs11n69htr6UMzLaPpUXDs7ESsTM7Di0tsH6nHGQs=; b=P4Apub3Aq7aBGHKkGK4hTDonaylhVGrNol6SBTE+vlnIGxzxuwc28xAcjMHI26Feela/i5 7piRJgR0FrBK5hB5Fp5A3TVhwi2p4Lux1+7JSrLzg+xONCmEvAm4i9uUD6s+RgqbwIYGCz CHvA3m/sxM1ZS4yJ56Jwjq1laARg1AY= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; spf=pass (imf01.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=1727101147; a=rsa-sha256; cv=none; b=z7cJ44VwmnhTGYiDg16OojKc+3gDG7IdiXjlPnE+qGS0e086UmPx577wSWlSp6cLeL4zdq BSQD3ilf9tFsM4FmwkFm9F32nIeylhHpvObxNzMIvAPo3e/tS2NrwUwtp5Dk1ZctZFKVeh vsxXzygUs1/3M3e+zLsurgrW0dudMDY= 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 B6FACFEC; Mon, 23 Sep 2024 07:20:35 -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 CDBCE3F64C; Mon, 23 Sep 2024 07:20:03 -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 6/8] vdso: Modify vdso/getrandom.h to include the asm header Date: Mon, 23 Sep 2024 15:19:41 +0100 Message-Id: <20240923141943.133551-7-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-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: E520B4000C X-Stat-Signature: xj57raraa9ksbmq1zy9k9yotwaeobk5n X-HE-Tag: 1727101206-452742 X-HE-Meta: U2FsdGVkX1+BuKfHEoQaNuubBr2OPGNWO73iVVDoF4A+18DF6wgTOL1ZVCfk/JRd06W722ly5OQ6YU8w1OLx59/rHTOK0NmHod30Yzh7vlBmwjc4Kl7aF717Jpf4r/LduupFtrktECkho0026wss9VEkXrPl/utcp1/385XTOmA3g2bmlpgKutwrGoifxRtW1YZaQLXJvHXZqD7wQF8EsMBRpyaM66YtxIaNTWnKUgv6/MkCrQF4g8ZhNLXQhGcWRNuyKUOV10qn2nZddigcFzdbm6MDJCbDP6jAkHxb/VfEAa4hm/X0HCleXKdW1amVJAka8KBrUZcMKeOE4ufaHciSfIsMa//uInLAVbFD/PmKkURpPPut/U/ORh8ew/q44L0bKfTBFMAcf3eAmsPrxu6rmto1uO8S3suxg0AjcMmT4eqtEGf3I9scaz2uZ6T5wTbeRxXEKovvwTmsta/4REv7A3p54JTe2HKZm2V/7GdbVWZk7f8bl7xX1dkql2qOivAIXrTZJqJ7rsG+gcsbvhf9NCnOSjRQgSfbgC2R1B5fpo9bTyo1lzB6VsQgpUu5q0+8TVpJ/glvdmQg0Rkr9WagdqH8a62H3NWUIK4qCG60g0ZSz2zLfHuIz/KTAmZvbjEoLrs+9xsJhx9C8K+uHGvtiTel3Fy1TOILqOxLDT2j6/gHxHDiBCbOE01HvUaVRCKFE7v0yhFFEvpylnVW9UM1ju1P0eSNkG69ymeU1JI8t113nrHPqG0Xp0ttm9IKBRLetnHDkM8x/7P5Q+YGItEAMAFQQTC3DDlZ7TnTgjjUpdoxdLIfD4OtxCV6NeCTf3HsUNV1C4a/q9Km2z1UeKrhvQuZmdRS0/BKH95zEQYG/6TpoUs+XzhvHCLi+ZETjCQ438g4dU3PdQaDLGsC0IOm295o6plcc+yBIf3yJah8g6lCcS3vzM0Ny/mft4mEYyphC9zqB1oQovZTOic /KhsD0sB CP5ttbfjCLy5WZ+NMciWEeM/rHwQ6aAYvZdUjrkpcyhyrBi2oI5nkdJdlcfHNzDo5mT3YsjtDjRh6X+3+ziy/bP1FEq+OCX0WSFtYOaN1/JBPCK8xNmAsL4JqnCWJ8kz3ytVuEYF+Us1vC1EzBBeLJSlCy6cUebEe2d2DVzMNgGRmysKXL8aDHMCW9x1rv4g0GaFc8xYtMxGitPGU1xduehdwe6/5qCkWLYIIQurICYo212E= 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 vdso/getrandom.h to include the getrandom asm header. Cc: Andy Lutomirski Cc: Thomas Gleixner Cc: Jason A. Donenfeld Signed-off-by: Vincenzo Frascino --- include/vdso/getrandom.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/vdso/getrandom.h b/include/vdso/getrandom.h index 6ca4d6de9e46..5cf3f75d6fb6 100644 --- a/include/vdso/getrandom.h +++ b/include/vdso/getrandom.h @@ -7,6 +7,7 @@ #define _VDSO_GETRANDOM_H #include +#include #define CHACHA_KEY_SIZE 32 #define CHACHA_BLOCK_SIZE 64