From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10412C433EF for ; Tue, 19 Apr 2022 19:04:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3ulwz/cu6YvkAfKKAPwLYqZpAJeCJgByUuyn7k39jKw=; b=kOUe+voysL0hPl 8jX/SK9vN0q1fnnLufITgv+lRVFo5ZCHkwdN7aF25416n89rfpZi+7AAGIfTx5FDT8x31sBeH5gN9 R7DhPeT520qhRXBCVXapucIN4iUoJr/X4YKq/JPGmlNdTTvkQjU72PT2GALY4XiJVVch1ye9gZGtn 5DCU2fr9EhyAb1Ejr/L1w7PuSBqxBQOVV2IoRIN9mTWlvllEBqIxxQvzcKyin54VGWwMpdIg8meKB jxpWLOvwWo9zlBwezgkUWj3At1elOVgg1es6STDmJkh1V8nnU/lRpKMvtkpKFRF2HpvFEcr3/4Ixg F0i/yNCYSaft69GEl3tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngt7e-005uCu-1g; Tue, 19 Apr 2022 19:02:46 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngt5Y-005t0c-7x; Tue, 19 Apr 2022 19:00:37 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id D85E8B81866; Tue, 19 Apr 2022 19:00:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DC8CC385AD; Tue, 19 Apr 2022 19:00:33 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="VPxIfagV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1650394828; 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=N8yac2TcoM0oB2N8o8RD8oOMSu6h8CMOQ/2gSGccCdo=; b=VPxIfagVX8jVXSQ2FJMbGH5bYX0Dgbp60w5dZ+EWZrKhmlk1trnXLmtjaZDzkG0N6SZWmD SqzuwKuF2a96BSk5omJHyx/UggkD1KgSukR30bgCsbchTnEVm2EbpiHRZIz+Ns52EjKYEJ VbyfuroTLWLnVjOallKTUkLNMqhorZc= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ec1024e4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 19 Apr 2022 19:00:28 +0000 (UTC) Received: by mail-ot1-f47.google.com with SMTP id i3-20020a056830010300b00605468119c3so6086238otp.11; Tue, 19 Apr 2022 12:00:28 -0700 (PDT) X-Gm-Message-State: AOAM532qRQGHBVEp5ArqAZuUO0MjHFA9DjyHsrP0TcItqhPu8LeJAW61 3QXFS8HOK0DYCY+oxc/MzmW1+E1VPRnpvyzBtmc= X-Google-Smtp-Source: ABdhPJwRc+bdyLezDAgNgTxENBqQkZz9Fe0qv2Ndkg8iOqE2wh+a0hjP/G2ABFOAPTKw6cDikwVfRb4lj/Ti4WdfWac= X-Received: by 2002:a81:6a84:0:b0:2ec:c59:9d22 with SMTP id f126-20020a816a84000000b002ec0c599d22mr17880030ywc.499.1650394817507; Tue, 19 Apr 2022 12:00:17 -0700 (PDT) MIME-Version: 1.0 References: <20220419111650.1582274-1-Jason@zx2c4.com> <20220419111650.1582274-8-Jason@zx2c4.com> In-Reply-To: From: "Jason A. Donenfeld" Date: Tue, 19 Apr 2022 21:00:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 07/11] x86: use fallback for random_get_entropy() instead of zero To: Borislav Petkov Cc: LKML , Linux Crypto Mailing List , Thomas Gleixner , Arnd Bergmann , "Theodore Ts'o" , Dominik Brodowski , Russell King , Catalin Marinas , Will Deacon , Geert Uytterhoeven , Thomas Bogendoerfer , Paul Walmsley , Palmer Dabbelt , Albert Ou , "David S . Miller" , Richard Weinberger , Anton Ivanov , Johannes Berg , Ingo Molnar , Dave Hansen , "H . Peter Anvin" , Chris Zankel , Max Filippov , Stephen Boyd , Dinh Nguyen , linux-arm-kernel , linux-m68k , "open list:BROADCOM NVRAM DRIVER" , linux-riscv , sparclinux , linux-um@lists.infradead.org, X86 ML , linux-xtensa@linux-xtensa.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_120036_614831_09309255 X-CRM114-Status: GOOD ( 18.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Borislav, On Tue, Apr 19, 2022 at 8:59 PM Borislav Petkov wrote: > > On Tue, Apr 19, 2022 at 08:38:41PM +0200, Jason A. Donenfeld wrote: > > I think I prefer doing (a), and leaving (b) for another time when you > > or another x86 maintainer can do so. But I'll do whichever you say. > > Which would you like? > > We are switching all feature checks to cpu_feature_enabled() so you > might as well do the new preferred way of checking when adding a > new function and so that we have one less place to touch. Which is > appreciated. :) Okay, no problem. I'll make the change there and get_cycles() for v+1 of the patchset. Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel