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 8EB2AC433EF for ; Tue, 15 Feb 2022 23:20:38 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l0KEZT9mWsUHvYpum/Tu0acFOr13VwoOBcpUWaJ83mw=; b=OS+sr4Uvm5spTh OKSMtklMPEuiDmgqdQlVNp2/w/N5WBOoiAskKQUYuOFTWZ91J76cus4NlszYL+tqcoPa1MnzHUpdY Ljr5JdiqdfzUuiMhNV5CwG2OdsgapPbLXHCbjuvGllskyVD660Q0/t20XF3y63WfDarJuiL7+613i 9qcMV6tqJvru7v1kY1jalKdTzolvzH3Stn/6XFvaw9J5FiNRFJT6xWZSAkimTOOqxqrG7iIjFOE7E 9iaMdBl93UG46zKMyP9zNs5J/c3cJzqdwZSc0dDzif67q9DXg3mYHxlAMMkFJNqO4QXhkgPpdNaBc PYaaNjGE/Ph/J4S7/F2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK76K-004sTu-9G; Tue, 15 Feb 2022 23:19:16 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK75r-004sJL-Si for linux-arm-kernel@lists.infradead.org; Tue, 15 Feb 2022 23:18:49 +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 7603FB81D53; Tue, 15 Feb 2022 23:18:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5041C340ED; Tue, 15 Feb 2022 23:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644967124; bh=IaHpG8AMgjgUhiAm0Vs/NPRHXOdnnTwyHBAxVQgC7uQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ns2uftT6HMQ6H47APNFniuB2SDy1//i/rgrp/7sOQfDNRLBc0a08PTpg/0BeX3IOv wDftekTKDQ+pzSdlJ2mQKilhmj0+jd+6PT3u2rghxkj3vek2XlRPE7/YyRti6ngzZ+ TczjK4sadDRYwTtoAgPgtY1fkpbm2PPvH7l59c1ZW69S0+5oNUKhjUsEyZqbxOveTK oa8AqJdrC6euKmkAQYgSy5Zs6LyoYLrBqt/d6Vm12DjFFiNFB2/GG/Ju0g6nMPucJ6 gx/mK+L+l+ggbDhkVJ9u8/0ySiSF/yEpdEcUQCl/nmuZD69I7HF8A9MPsKbrIeBnob 4YOUxSYLqK9Fg== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , mark.rutland@arm.com, Mark Brown , Andre Przywara , jason@zx2c4.com Subject: Re: [PATCH] arm64: random: implement arch_get_random_int/_long based on RNDR Date: Tue, 15 Feb 2022 23:18:23 +0000 Message-Id: <164493759988.3934502.9551696025967062638.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220113131239.1610455-1-ardb@kernel.org> References: <20220113131239.1610455-1-ardb@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220215_151848_101363_0FDA0E69 X-CRM114-Status: GOOD ( 10.94 ) 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 On Thu, 13 Jan 2022 14:12:39 +0100, Ard Biesheuvel wrote: > When support for RNDR/RNDRRS was introduced, we elected to only > implement arch_get_random_seed_int/_long(), and back them by RNDR > instead of RNDRRS. This was needed to prevent potential performance > and/or starvation issues resulting from the fact that the /dev/random > driver used to invoke these routines on various hot paths. > > These issues have all been addressed now [0] [1], and so we can wire up > this API more straight-forwardly: > > [...] Applied to arm64 (for-next/rng), thanks! [1/1] arm64: random: implement arch_get_random_int/_long based on RNDR https://git.kernel.org/arm64/c/35bde68bba54 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel