Message ID | 4ba87b8daeb2f3c0f98e62e16bf60c7e97fb53d5.1724309198.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 B24B1C5320E for <linux-mm@archiver.kernel.org>; Thu, 22 Aug 2024 07:13:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3C4F06B0200; Thu, 22 Aug 2024 03:13:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2DC056B02A0; Thu, 22 Aug 2024 03:13:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0B7146B02A1; Thu, 22 Aug 2024 03:13:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id DAD296B0200 for <linux-mm@kvack.org>; Thu, 22 Aug 2024 03:13:45 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 841AA413C8 for <linux-mm@kvack.org>; Thu, 22 Aug 2024 07:13:45 +0000 (UTC) X-FDA: 82479016410.10.354159A Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by imf22.hostedemail.com (Postfix) with ESMTP id 7ED34C0014 for <linux-mm@kvack.org>; Thu, 22 Aug 2024 07:13:43 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=pass (policy=quarantine) header.from=csgroup.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724310743; 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=BXI2w538Qd1aThuSRJTZpr+CLSlO8H192+GbJKxMuxM=; b=INo3Yv34To82bnepd8vdxn2e4R83peyOCMZa8U+2JjI6wxC3G2A1RE7nbVArNRTZlqUvmh TVwy6/JeJid9a1/qJy4X5HiE4rhkn0UFXZLbP43BeHhLFzlr7CBBqdEWZ0FcBz7kS420xS Cp7NfmOmLWIBD2dC3CLa4S3QquDw400= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724310743; a=rsa-sha256; cv=none; b=NF+l+2iHLOFs9Gph8KYkvExV0aO047WTHt5AMv1h2ZPWFyuDHsTHqh5+dTDrK9c1TrztHX D5Z+JVHsqCf0aJ2ybCX8RpUKlLcOt/sUM9DTr4hP6zwaDo5NYIaEmBDYvIkB4MlFSkY0cT aNcXLfMydMfYwEh3IAkGiHi98okQy2g= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=pass (policy=quarantine) header.from=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4WqDvB6wCcz9sSS; Thu, 22 Aug 2024 09:13:26 +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 j_PpJleCxFhw; Thu, 22 Aug 2024 09:13:26 +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 4WqDvB63W6z9sSH; Thu, 22 Aug 2024 09:13:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BD35D8B77D; Thu, 22 Aug 2024 09:13:26 +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 YjBIjwOuIeHr; Thu, 22 Aug 2024 09:13:26 +0200 (CEST) Received: from PO20335.idsi0.si.c-s.fr (PO16920.IDSI0.si.c-s.fr [192.168.232.181]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B20CE8B763; Thu, 22 Aug 2024 09:13:25 +0200 (CEST) From: Christophe Leroy <christophe.leroy@csgroup.eu> To: Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Naveen N Rao <naveen@kernel.org>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>, "Theodore Ts'o" <tytso@mit.edu>, "Jason A. Donenfeld" <Jason@zx2c4.com>, Arnd Bergmann <arnd@arndb.de>, Andrew Morton <akpm@linux-foundation.org>, Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Shuah Khan <shuah@kernel.org> Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 04/17] vdso: Add missing c-getrandom-y in Makefile Date: Thu, 22 Aug 2024 09:13:12 +0200 Message-ID: <4ba87b8daeb2f3c0f98e62e16bf60c7e97fb53d5.1724309198.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <cover.1724309198.git.christophe.leroy@csgroup.eu> References: <cover.1724309198.git.christophe.leroy@csgroup.eu> MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1724310793; l=917; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=+zsbiRN1Rsvt2mjgra0iuNna45++1Wbks1WsFgQokwI=; b=2AfI70PEj4f7IlK/0JPNIuIysPxZX41Nyq8vstRlw5T4vE5uGLfODApjwg2SJ4Pz/gF8h97/4 zakI/eTMUjpBA1Xm+QvdyQWVNPrgotgD0KB4hiOOMH8kcDGdiZXSdcS X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 7ED34C0014 X-Stat-Signature: j1pm4w61h4g94wjqt6t4u8cycwzmdete X-HE-Tag: 1724310823-36120 X-HE-Meta: U2FsdGVkX1/NU7y1zdArewNHLpQTymZJuVJ80TTaHenZ6RlrdHjKg0azL8JYA1ZYtd9VvtreXO+B5dzcNqbft0heEA47/vHnvEqEHNUKQ1x6RqygSY2rQTFkj3m8gnNdtfkxyYl+Q/KThSw05yt7oBfDrFn9qG5TPQ+v3khx/Sa9YwaOB+Npob13O9RtxiJOBO+MAGl2WPaLMOUjYK6F6BmX6HaAmx1OmYrm2Mhv24zO/cvTyUQykm1T/dPBzrMudNvWPqANgiSCzQL/EqRQJ4jNA4gtDKASx+jVcpue5WK0SlCPajhV1EDNDS4aiiPjQh/6uV/H9uUABZu5ck5qe+9rMSTu/osGLV72D3AkMGYQWp404uRRdTMoyKuHwlCGw8WbDrWK11hmqmAdKjTnIWZ1jYfZrhFY8/dy++9HpqG1FKa001owAgJLkej0AC0p2K/ne86kP2xgLQVC1oq/B74gxBicrt2jrmOfvVAN8HahbpVxNpVXJ1/UJyiNlf9DlLUcJZSh4+WRJQk5i4MQAe25LOpowwJLeX1KX0cg+xdLUhAE+qpJed9jH+WPrrcCzVU3NXhCe3Se+1zrrRmLVUI1qAurtXroPYRvjMSpjM67G6qYkN0X784T0k09/SeZEiGliAYganIOo7m97VVPOEPvmi/pXBYgTkjtbKzhC1CPxqNUlm8BGPG6saP9n84Wg15X8xhFg5tqSFcITbwWtkmrYRsKL2Xh2emlIPS5IrcmddBptbraD1fQfW5Df1B9HUmMy/ROalxystMKHeI0UGtO7xtJ3IQYl5mPBZANA/12a2sITugmXjMrFveifWKK/LJuIFXKHhDx104RVBw4L4TE3VX+f2ysUn3UnzHh1Fl4FuCHs7jt/qchiIFGYZYGaMk0N2/ptI7tGUy5CXlSm6ZQxwHDZeuOZXX+Flt3A6CStJ4tCbWDuKC5d+jBa3mwmZ2u1xhya9i3aj+tV1G G4RrIGLp mfSjMh8oZayH7Ar8PMFCGIzFupzD1PTwr7EVxe0gRMOKV6VHbXO4PVsvKBBazLuFqTvXI1I2eA+g3uoVVaGq3AmbwkZrE5Qs856dT3lTZ7WZXpGNC+cJQ8IY9L/qvBg6NLzTn+q7ZCnaGUEcUHlHzm8MaGg== 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 |
Wire up getrandom() vDSO implementation on powerpc
|
expand
|
On Thu, Aug 22, 2024 at 09:13:12AM +0200, Christophe Leroy wrote: > Same as for gettimeofday CVDSO implementation, add c-getrandom-y > to ease the inclusion of lib/vdso/getrandom.c in architectures > VDSO builds. Thanks, seems straight forward. I'll apply this now as a fix.
diff --git a/lib/vdso/Makefile b/lib/vdso/Makefile index 9f031eafc465..cedbf15f8087 100644 --- a/lib/vdso/Makefile +++ b/lib/vdso/Makefile @@ -4,6 +4,7 @@ GENERIC_VDSO_MK_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) GENERIC_VDSO_DIR := $(dir $(GENERIC_VDSO_MK_PATH)) c-gettimeofday-$(CONFIG_GENERIC_GETTIMEOFDAY) := $(addprefix $(GENERIC_VDSO_DIR), gettimeofday.c) +c-getrandom-$(CONFIG_VDSO_GETRANDOM) := $(addprefix $(GENERIC_VDSO_DIR), getrandom.c) # This cmd checks that the vdso library does not contain dynamic relocations. # It has to be called after the linking of the vdso library and requires it
Same as for gettimeofday CVDSO implementation, add c-getrandom-y to ease the inclusion of lib/vdso/getrandom.c in architectures VDSO builds. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> --- lib/vdso/Makefile | 1 + 1 file changed, 1 insertion(+)