Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1122385lqt; Fri, 7 Jun 2024 08:34:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9Cd2UEdk+ALKM9BehtwhEKKnwEdedHfBFk9mtguXEzVDPcfLZpNCVHQwqKotvfyAl5vVT9FjRnyAo1I6bQSnu+SLX2xbAjngaCaZNGw== X-Google-Smtp-Source: AGHT+IFoPSUrOI4n2/8bdr1UP1QaYyYUuvREKIeTKJqrO6ODynkJI9MAcYvWnzfhgXq0znva/fU1 X-Received: by 2002:a17:906:d1da:b0:a68:ae2f:ea42 with SMTP id a640c23a62f3a-a6cdbfec45amr191897566b.65.1717774473321; Fri, 07 Jun 2024 08:34:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717774473; cv=pass; d=google.com; s=arc-20160816; b=luh1E5zG4QiR/dbW0CKQdKCNbWR7qCiBYvcQO+D9walsfL+fZMBZTnEMMIObhPigD3 MFAfZbc9uq39NmDUja2+6McCLqbsASUbHIsixZW/09xyqpXudiZSmNY9+21AMyLBcb9g BYg99Je6uK/Hnl3Y552+lZYFf1xYJqPYeeob2Ufcoc3iwcza2noE/zrckzu9RgWtXJVk e8K961wYxxF2GZGuak6ngAjygiyF76rLkuY/HvgnoZ+D5+Ib2WrCh/uyfrRL9oJfACkP GnfLqnAc5pTTe+yZIzChvsw75bmD8C3x5HYJ3nv9Qv2Oi8C+kOxp9Ny6np6pefCxvhrf eszA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rHq94GHF3GdMXYFHCpfZbCia8tYe6XNuXS1o9WgDhFs=; fh=/bi8gig8P68SaRVGNfmQmJU8Cc3qpYiWYDzKNnPXF0s=; b=DFqCya69Al7+bL/9KtI2sSic7t79LnKEepBIhVl8VoDCzXp0qLGY3mcGt/CBZCRsjn UM21FftG0pgmgDuPJ7jSiYX2J6Dxhf2HwJ4luFZGlDanUGA6PCrVtv67E89KQcqaunHp nLrQl+ThUFt8q2w087v2h3haI9A1A2jZeDU9nP5KtZOlNqqgNhYPzpw4VHccRwF0VTne 75kolfUeo4+0tqs0EwW186/vJPH2q+UYl7gCyDG9SoIqxqJ7M5j3FwPqoQRcUuFAs0lS cxb3rtu+Fki+vrg6UadVKdLykTr+bcXEkE4hXK7tRHVRZAKAoFicYTKsZ2a+dEdc7ksc mMFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Rx09CVtk; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-206410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6ef81cdc92si12688766b.896.2024.06.07.08.34.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 08:34:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Rx09CVtk; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-206410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 00C641F2111B for ; Fri, 7 Jun 2024 15:34:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A28FF199E89; Fri, 7 Jun 2024 15:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Rx09CVtk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B025D19923C; Fri, 7 Jun 2024 15:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717774384; cv=none; b=LX1Icovnn/+eJJUzxHPFbFBvRWVCqlZRuLZc1IGeuEluCNGVPu/ZGq7ECqJwKwT2cBLvbr6mjNSvFpKxMCr4+3/uHB8fIfdE+u+JnJTUjMRO9LYR3MmzIqrfTmOq8QzKWr0Suqv0x2ZfMQhHIXd5OGQxKAZ1WW1fDB8wie727AM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717774384; c=relaxed/simple; bh=iA2i+g2wTu86Q04x1/Mccg6UPGiul5W8OAQcSTpjQzE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p544TZ542Xw5TuNq4OnBlpsgdZWft/eMZGVIXS7MBv9tA9zKm3aDQAoNnS77McXJz621GihY2KGoSmdVzpznFOlW7vAwYKpmGbyt4LZSvd5eq3Z1wRlvR6xm425ILQDvN7f+hldBMn7CyBbF8wlSHIFldc2vkMARvQtVrETFa6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=Rx09CVtk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2282C2BBFC; Fri, 7 Jun 2024 15:33:02 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Rx09CVtk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1717774381; 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=rHq94GHF3GdMXYFHCpfZbCia8tYe6XNuXS1o9WgDhFs=; b=Rx09CVtkP5YBlCzr0H2yCq3zMqkznBCz5bK2ar/0TvFxWsx4WQisGmz0Un/b2cTVW25+QA ZlbHngD90FrDqM4qy6PHUytJY828sCQv9aLnXv1qFelY52eqFf5eX9j4I3ElcZeAimPg4D I7sWmwI93l47KhhDmpPFMgWUDaoKih0= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id c03b755c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jun 2024 15:33:00 +0000 (UTC) Date: Fri, 7 Jun 2024 17:32:54 +0200 From: "Jason A. Donenfeld" To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-crypto@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, Greg Kroah-Hartman , Adhemerval Zanella Netto , Carlos O'Donell , Florian Weimer , Arnd Bergmann , Jann Horn , Christian Brauner , David Hildenbrand , Samuel Neves Subject: Re: [PATCH v16 5/5] x86: vdso: Wire up getrandom() vDSO implementation Message-ID: References: <20240528122352.2485958-1-Jason@zx2c4.com> <20240528122352.2485958-6-Jason@zx2c4.com> <87y17j2hk7.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87y17j2hk7.ffs@tglx> On Wed, Jun 05, 2024 at 11:41:44PM +0200, Thomas Gleixner wrote: > On Tue, May 28 2024 at 14:19, Jason A. Donenfeld wrote: > > + > > +static __always_inline const struct vdso_rng_data *__arch_get_vdso_rng_data(void) > > +{ > > + if (__vdso_data->clock_mode == VDSO_CLOCKMODE_TIMENS) > > Lacks an IS_ENABLED(CONFIG_TIMENS) Thanks, will fix for v+1. Jason