Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15587585rwb; Mon, 28 Nov 2022 13:31:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZpEBQgR/ZOfaHcOiQucjY6xDAnlnQASQ9WLBO3Gl0kLdFygrs2Iu9Sct/0f5IT/dg98jm X-Received: by 2002:a17:902:ca92:b0:17f:7f60:480a with SMTP id v18-20020a170902ca9200b0017f7f60480amr38314475pld.145.1669671073081; Mon, 28 Nov 2022 13:31:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669671073; cv=none; d=google.com; s=arc-20160816; b=JCWDMvT3hqoKgHb4TAsK9W4XrzOO9+SP5q2weIowDUswZ6FnsdtbTMPjIr3HVIpc0t oedg3lNxnbsEC3BUifoVtdQ1m1ZnFbjxslBnpbDWhMy8QzWvVh9rvz728BKIHkukpSdR FA7oQ/emdgC/+Wh8Roqh+RE7BxD/ObdPnDb+0GLYau2tGlRGtNVVCToYQRE/ONiSGjmI ODrkN0E8bIafNkLzVOdp32uAaP4TxjL8MuftUtrus6AiozqMtegW7cjJBhI5lccNGYLk +JJdy7NHYQncGhHSQ7K5EB64vJ32mAdLsqsLZTDGtEbDaSzwqVudAmrJavFufprMQfim ES/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=FDwebM2uChEaCsi7MjosOH4+1tmg5eYzvcVHA1vHqwc=; b=tHca5uXs2yc0qDJ3Rsa4NwWYtM8yZTijMqPGgYV6qe+/6KZwqt9NgiCRpV7KhBK4on LqHwUd7vW1a0U4Lz7xKxX77QZpAC4xluQ0Xgzx3F18V6CusD1uI+nTOiIF9t341BUJO5 hVle1kFCxdFVGzm7vVbf6XxH6xx/t7unW7aDO/91VFy/yjJk7+F2eqqwyle0ZDdz8v4b h5RnFFZo5xTiVDUs9RJD8K6u6hcKQEpc/hq60xUaj3EHVZdvaNlLyITRd00zdL/mDITB 4jnKkgncXKqLWjFovROWS7ChvJTLp3gXQH+TjtqH0QLj6v5SGjXflatKM/2a3N4K0LVo APCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=O8+J0w7n; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a056a00114100b0056b82fbafebsi13911061pfm.379.2022.11.28.13.31.00; Mon, 28 Nov 2022 13:31:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=O8+J0w7n; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232457AbiK1V3r (ORCPT + 99 others); Mon, 28 Nov 2022 16:29:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbiK1V3q (ORCPT ); Mon, 28 Nov 2022 16:29:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C0C29375; Mon, 28 Nov 2022 13:29:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 822426147D; Mon, 28 Nov 2022 21:29:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9735BC433D7; Mon, 28 Nov 2022 21:29:44 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="O8+J0w7n" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1669670982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FDwebM2uChEaCsi7MjosOH4+1tmg5eYzvcVHA1vHqwc=; b=O8+J0w7nm1u1C2pniytxA8ewP3/rfWk30E/nTkJpDltBj9Z9JT4504xRuwSXOjDSImv8hY rDH4eOoF9kMaUA5YyZ8Vs6m3tWGIUwHo8jcZCDvRhHrXFdbjFOHLKgeGL/PAfhj+qDtPX5 qX31szZE1/vZ/ohSQngxnuu9hdBjMxA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4355c8cb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 28 Nov 2022 21:29:41 +0000 (UTC) Received: by mail-vk1-f173.google.com with SMTP id bi15so5940313vkb.11; Mon, 28 Nov 2022 13:29:41 -0800 (PST) X-Gm-Message-State: ANoB5pkIwe65uyEK8U1cBKF76F/GYQpJaioUyaBNWtRrCI+IyT+v6FSq 0qjFXr7+Dj1XCq9HyghgQCvOhfo9/I+xszQH8Lg= X-Received: by 2002:ac5:cdc7:0:b0:3bb:ddbe:899d with SMTP id u7-20020ac5cdc7000000b003bbddbe899dmr22572652vkn.41.1669670980428; Mon, 28 Nov 2022 13:29:40 -0800 (PST) MIME-Version: 1.0 References: <20221128111829.2477505-1-Jason@zx2c4.com> <20221128111829.2477505-4-Jason@zx2c4.com> <8f9326ba-f879-4b9e-9e5d-b65cad7cd726@app.fastmail.com> <2cb4b4a7-1d39-4f63-aee0-b4fc43efa68d@app.fastmail.com> In-Reply-To: <2cb4b4a7-1d39-4f63-aee0-b4fc43efa68d@app.fastmail.com> From: "Jason A. Donenfeld" Date: Mon, 28 Nov 2022 22:29:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 3/3] x86: vdso: Wire up getrandom() vDSO implementation To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Thomas Gleixner , linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , Adhemerval Zanella Netto , "Carlos O'Donell" , Florian Weimer , Christian Brauner , Samuel Neves Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Nov 28, 2022 at 10:13 PM Arnd Bergmann wrote: > > On Mon, Nov 28, 2022, at 21:02, Jason A. Donenfeld wrote: > > On Mon, Nov 28, 2022 at 8:57 PM Arnd Bergmann wrote: > > > Okay, I can split it that way. If I gather your meaning correctly: > > > > 1) generic syscall C code > > 2) #define __NR_... in asm-generic/unistd.h x86/.../unistd.h, > > x86/.../syscall_64.tbl > > I mean all syscall*.tbl files, not just x86. There are currently > eight architectures using asm-generic/unistd.h, the rest use > syscall.tbl. Oh okay, I'll add this to all of the *.tbl files. Jason