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 X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E6BDC433DB for ; Wed, 6 Jan 2021 13:11:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2167123102 for ; Wed, 6 Jan 2021 13:11:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727016AbhAFNLs (ORCPT ); Wed, 6 Jan 2021 08:11:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:39072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbhAFNLq (ORCPT ); Wed, 6 Jan 2021 08:11:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F7AF22EBD; Wed, 6 Jan 2021 13:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609938665; bh=79wddeIkl6fxtztJZXYazG9ptPsHlnjqs/ligBQXeMs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hOzTNsUZRihG5hwg4TULYCcxSKgCU6r010mu39TRym7YLpOhDKFtVfI3v4cU1TtEo J6MKaaqzwtTHyaOLn4auZKqaFjzotTiWHYuPNh2LGtBrEWPwSvNFWWSEK5zy4grMy2 kuubSjxLqyIy9i7lpG2q7XpMUkJliW3sGOUGSgeHgA43lBDEXjhufwIGhcUrBlsgsR EMyjD8YWQBiaFQLlVnPwlXPvtEa9zzME1+6S3n2IwzrAYiKTUx2pD7KiIx+n8iscQp 5l5tY3A8+2pi7h5RcuBjluaHZYxZ9IOCyGA6jHVZxcE/cNLSGq3FSmiKvpX5ZtS6pH THoMKkqSI5fzA== Date: Wed, 6 Jan 2021 13:10:37 +0000 From: Mark Brown To: Andre Przywara Cc: Will Deacon , Catalin Marinas , Ard Biesheuvel , Russell King , Marc Zyngier , Theodore Ts'o , Sudeep Holla , Mark Rutland , Lorenzo Pieralisi , Linus Walleij , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 4/5] arm64: Add support for SMCCC TRNG entropy source Message-ID: <20210106131037.GD4752@sirena.org.uk> References: <20210106103453.152275-1-andre.przywara@arm.com> <20210106103453.152275-5-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UfEAyuTBtIjiZzX6" Content-Disposition: inline In-Reply-To: <20210106103453.152275-5-andre.przywara@arm.com> X-Cookie: Happy feast of the pig! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 06, 2021 at 10:34:52AM +0000, Andre Przywara wrote: > The ARM architected TRNG firmware interface, described in ARM spec > DEN0098, defines an ARM SMCCC based interface to a true random number > generator, provided by firmware. > This can be discovered via the SMCCC >=v1.1 interface, and provides > up to 192 bits of entropy per call. Reviewed-by: Mark Brown --UfEAyuTBtIjiZzX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/1tswACgkQJNaLcl1U h9AU0gf/WEpGA7/Gqcj19WM0HyGcWr3K5f9j/Oet7jlOJd3xp5/OK/lHnRGxQ3UT u51f8W2bmXF6OQ645seYsM+hEkcDJq+VFk+/wFE2w7TORZRLs1r9tFb6KrWrOCt2 A6ogtATKDYDwQeYIzf5+Ed3h/BP1Kgs3bPKo65hBulxWZUnRpIm3JlZegTGYC7hz IXW3Ok1pRiyBbzBSR90NC8MW3TfPrBQEZEz8cmdSwu9ft1uLJqFumPB7nFVv747q lCno+cS55Ikyj2OrdzQTLmsIYYutBgfd5yP9h3LHRIXZz5NC6eWlkKMqx/gL/sTO XHQHqe3gdxNQ5gduTzONG4LqoOrw6Q== =FSJJ -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6-- 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 X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B9D1C433DB for ; Wed, 6 Jan 2021 13:11:11 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id DF05723100 for ; Wed, 6 Jan 2021 13:11:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF05723100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 531544B35B; Wed, 6 Jan 2021 08:11:10 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ipuc8ZBfDS1t; Wed, 6 Jan 2021 08:11:09 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 1F8BF4B32B; Wed, 6 Jan 2021 08:11:09 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id D4EEB4B32B for ; Wed, 6 Jan 2021 08:11:07 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mhc-Md40Y2yK for ; Wed, 6 Jan 2021 08:11:06 -0500 (EST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id ACAA34B30E for ; Wed, 6 Jan 2021 08:11:06 -0500 (EST) Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F7AF22EBD; Wed, 6 Jan 2021 13:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609938665; bh=79wddeIkl6fxtztJZXYazG9ptPsHlnjqs/ligBQXeMs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hOzTNsUZRihG5hwg4TULYCcxSKgCU6r010mu39TRym7YLpOhDKFtVfI3v4cU1TtEo J6MKaaqzwtTHyaOLn4auZKqaFjzotTiWHYuPNh2LGtBrEWPwSvNFWWSEK5zy4grMy2 kuubSjxLqyIy9i7lpG2q7XpMUkJliW3sGOUGSgeHgA43lBDEXjhufwIGhcUrBlsgsR EMyjD8YWQBiaFQLlVnPwlXPvtEa9zzME1+6S3n2IwzrAYiKTUx2pD7KiIx+n8iscQp 5l5tY3A8+2pi7h5RcuBjluaHZYxZ9IOCyGA6jHVZxcE/cNLSGq3FSmiKvpX5ZtS6pH THoMKkqSI5fzA== Date: Wed, 6 Jan 2021 13:10:37 +0000 From: Mark Brown To: Andre Przywara Subject: Re: [PATCH v6 4/5] arm64: Add support for SMCCC TRNG entropy source Message-ID: <20210106131037.GD4752@sirena.org.uk> References: <20210106103453.152275-1-andre.przywara@arm.com> <20210106103453.152275-5-andre.przywara@arm.com> MIME-Version: 1.0 In-Reply-To: <20210106103453.152275-5-andre.przywara@arm.com> X-Cookie: Happy feast of the pig! User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Lorenzo Pieralisi , Theodore Ts'o , Catalin Marinas , Linus Walleij , Sudeep Holla , linux-kernel@vger.kernel.org, Russell King , kvmarm@lists.cs.columbia.edu, Marc Zyngier , Will Deacon , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8205609677858372413==" Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu --===============8205609677858372413== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UfEAyuTBtIjiZzX6" Content-Disposition: inline --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 06, 2021 at 10:34:52AM +0000, Andre Przywara wrote: > The ARM architected TRNG firmware interface, described in ARM spec > DEN0098, defines an ARM SMCCC based interface to a true random number > generator, provided by firmware. > This can be discovered via the SMCCC >=v1.1 interface, and provides > up to 192 bits of entropy per call. Reviewed-by: Mark Brown --UfEAyuTBtIjiZzX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/1tswACgkQJNaLcl1U h9AU0gf/WEpGA7/Gqcj19WM0HyGcWr3K5f9j/Oet7jlOJd3xp5/OK/lHnRGxQ3UT u51f8W2bmXF6OQ645seYsM+hEkcDJq+VFk+/wFE2w7TORZRLs1r9tFb6KrWrOCt2 A6ogtATKDYDwQeYIzf5+Ed3h/BP1Kgs3bPKo65hBulxWZUnRpIm3JlZegTGYC7hz IXW3Ok1pRiyBbzBSR90NC8MW3TfPrBQEZEz8cmdSwu9ft1uLJqFumPB7nFVv747q lCno+cS55Ikyj2OrdzQTLmsIYYutBgfd5yP9h3LHRIXZz5NC6eWlkKMqx/gL/sTO XHQHqe3gdxNQ5gduTzONG4LqoOrw6Q== =FSJJ -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6-- --===============8205609677858372413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm --===============8205609677858372413==-- 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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF0F3C433E0 for ; Wed, 6 Jan 2021 13:12:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D05322EBD for ; Wed, 6 Jan 2021 13:12:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D05322EBD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=i3q7fd1dqKMVLqgWYKqzu/kG1qLbTrPDxGd1Fg4+FVE=; b=AeUW9cDmN20WpvNEFE7muUWRR efCL5VRexxpuybYsy3Ap9QO5745rJsFsB6h1EtxHkMPLZ9DtZyCTMSruYu4WJkX5lwx0Gu4GR6gjb gQeYywdsDsROrkDVWHKoPAxqRTNJ6N1jtnlbXcoYMeul2lqWQK3ziBTcR36B6WeUYhHbu41bHXTUy YEk9ppvhyXNyVE/iRkiuiqQV0lxtUtZwwjEV+nEon8ozDI8MJKc123Wl8i5ZvVfiZII44n9wiRALG YhlwU8cwhI3K4eAPDa9Q+1Pf7kG7ZasVHXERgvzfGD7HQwnrR+w0ahh8hROXAy48BqQ5Gx0tErZid 5xOJ7U62w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx8aj-00045i-Mj; Wed, 06 Jan 2021 13:11:09 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx8ah-00045I-Co for linux-arm-kernel@lists.infradead.org; Wed, 06 Jan 2021 13:11:08 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F7AF22EBD; Wed, 6 Jan 2021 13:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609938665; bh=79wddeIkl6fxtztJZXYazG9ptPsHlnjqs/ligBQXeMs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hOzTNsUZRihG5hwg4TULYCcxSKgCU6r010mu39TRym7YLpOhDKFtVfI3v4cU1TtEo J6MKaaqzwtTHyaOLn4auZKqaFjzotTiWHYuPNh2LGtBrEWPwSvNFWWSEK5zy4grMy2 kuubSjxLqyIy9i7lpG2q7XpMUkJliW3sGOUGSgeHgA43lBDEXjhufwIGhcUrBlsgsR EMyjD8YWQBiaFQLlVnPwlXPvtEa9zzME1+6S3n2IwzrAYiKTUx2pD7KiIx+n8iscQp 5l5tY3A8+2pi7h5RcuBjluaHZYxZ9IOCyGA6jHVZxcE/cNLSGq3FSmiKvpX5ZtS6pH THoMKkqSI5fzA== Date: Wed, 6 Jan 2021 13:10:37 +0000 From: Mark Brown To: Andre Przywara Subject: Re: [PATCH v6 4/5] arm64: Add support for SMCCC TRNG entropy source Message-ID: <20210106131037.GD4752@sirena.org.uk> References: <20210106103453.152275-1-andre.przywara@arm.com> <20210106103453.152275-5-andre.przywara@arm.com> MIME-Version: 1.0 In-Reply-To: <20210106103453.152275-5-andre.przywara@arm.com> X-Cookie: Happy feast of the pig! User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_081107_519433_FA6E3EDE X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Theodore Ts'o , Catalin Marinas , Linus Walleij , Sudeep Holla , linux-kernel@vger.kernel.org, Russell King , kvmarm@lists.cs.columbia.edu, Marc Zyngier , Will Deacon , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============4724178749086591879==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4724178749086591879== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UfEAyuTBtIjiZzX6" Content-Disposition: inline --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 06, 2021 at 10:34:52AM +0000, Andre Przywara wrote: > The ARM architected TRNG firmware interface, described in ARM spec > DEN0098, defines an ARM SMCCC based interface to a true random number > generator, provided by firmware. > This can be discovered via the SMCCC >=v1.1 interface, and provides > up to 192 bits of entropy per call. Reviewed-by: Mark Brown --UfEAyuTBtIjiZzX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/1tswACgkQJNaLcl1U h9AU0gf/WEpGA7/Gqcj19WM0HyGcWr3K5f9j/Oet7jlOJd3xp5/OK/lHnRGxQ3UT u51f8W2bmXF6OQ645seYsM+hEkcDJq+VFk+/wFE2w7TORZRLs1r9tFb6KrWrOCt2 A6ogtATKDYDwQeYIzf5+Ed3h/BP1Kgs3bPKo65hBulxWZUnRpIm3JlZegTGYC7hz IXW3Ok1pRiyBbzBSR90NC8MW3TfPrBQEZEz8cmdSwu9ft1uLJqFumPB7nFVv747q lCno+cS55Ikyj2OrdzQTLmsIYYutBgfd5yP9h3LHRIXZz5NC6eWlkKMqx/gL/sTO XHQHqe3gdxNQ5gduTzONG4LqoOrw6Q== =FSJJ -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6-- --===============4724178749086591879== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4724178749086591879==--