Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3994506pxv; Mon, 26 Jul 2021 18:00:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzav8s4ow9lCGHLlI1Ns7bBPKrECOrbs3s9M46Hpot2QFopEcE6FqjLmhvsjYTVTFx9FKon X-Received: by 2002:a05:6402:152:: with SMTP id s18mr24302981edu.221.1627347631878; Mon, 26 Jul 2021 18:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627347631; cv=none; d=google.com; s=arc-20160816; b=NEAbIJuV+96TzJW13ZYnJd/L5S5/GTrLTIgsVZEDgqnida3W2s4x5FkbhwODzKiALu L36I27NcOboruw1vjk0nG/X9JYtiU6fxcTmFa3MeN+bLC6qxuXjR+xYn2vqe3OGu5KEl yvQ5Ad0cdZOGrw1LGQcwPL4pqwaZtQKjEcp7uOMizQvDND67zK5Ba2pGkbLQG/2qm9+5 FIS+pGap5PrKIgwsvNTClnMbPGdZBLn/ZX2zv2D7r+X2VmtK3nsvrqWDJ01jW4zzOvr2 ts9nbKpME0BddeI7hoznkgm1Ypo9u3u2RnifjMsaSk+Gq3YAqsW17FbQphPpwfq8D2Hx tutg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JhaVN5IfMdFXWWgSRfQeJuoGJgjwaZop9CUTnjtLZJY=; b=oMu6Ww77RWRQFagXnZJ/2lFtdx7fPKEznpuuTnU8jfgn5rTafThacA/9T3w5bPqsSB fYNW1JQvxYFpH6MCiRBe1m4D4aGt80OI6QYvnBi7KCMtGU8z5cWOSD1BHNFfUMesFj8E JkQn994VAacwmoxXR4U8MjlAZuxlF/or7KXPYkfFRcMERfJ+gp7anRQt57xk6/kKaw+1 FJwop/LwZoAA1T72KSMAVfattUD37ex2Tgch1j/K4NJE9xURNAywt5j7FOvhlLplCiJp zHpRFuIXoJ8WjbogK3elKl3xXjHoMHIVyK9hGf4ecNi5COLkrtudGZbaMGVY0v7l260j VROA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eiGOvjL2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kd12si1312541ejc.39.2021.07.26.17.59.32; Mon, 26 Jul 2021 18:00:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eiGOvjL2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231752AbhG0ATD (ORCPT + 99 others); Mon, 26 Jul 2021 20:19:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:37562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbhG0ATD (ORCPT ); Mon, 26 Jul 2021 20:19:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0964460F57; Tue, 27 Jul 2021 00:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627347571; bh=JhaVN5IfMdFXWWgSRfQeJuoGJgjwaZop9CUTnjtLZJY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eiGOvjL2h66Cmuz8vxkxeGAJR7rAM3fgTzeK8yEylTv4PVVyZdihL/PuwOcat1SBL BVB2zwSMGjWXTJDWgRydQ0i30vLyozFFS7OdjrJhNL3MHmKnKsc1UjO+jnzr9yHez5 gF/MhPdQ6+7Uf1Q5RDzwoccmgNybM0I3+crSQVzw9OGF2Qq6ixnxx7MXeDQmYKN6Ha U5comA6bOYP8DM51R7gx0aUQc2Z2OwVE00wg9vFa9QicVQ/ENo+n0RtrwudEVEo1+h kdrmU+OC0imPq+pQVjRYN8xk9Rt5hG+3+DEAeb5eD9C3tEqxo7Pfvsc8WOjmiyLF1j L0gLavyE8MHYA== Date: Tue, 27 Jul 2021 01:59:22 +0100 From: Mark Brown To: Andre Przywara Cc: Matt Mackall , Herbert Xu , Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Herrenschmidt , Ard Biesheuvel , Will Deacon , Ali Saidi , Jon Nettleton Subject: Re: [PATCH v3 2/2] hwrng: Add Arm SMCCC TRNG based driver Message-ID: <20210727005922.GN4670@sirena.org.uk> References: <20210726175610.3311-1-andre.przywara@arm.com> <20210726175610.3311-3-andre.przywara@arm.com> <20210726223738.GM4670@sirena.org.uk> <20210727013004.4caca28f@slackpad.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xTKfHyrFnSV9DG3y" Content-Disposition: inline In-Reply-To: <20210727013004.4caca28f@slackpad.fritz.box> X-Cookie: Vini, vidi, Linux! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org --xTKfHyrFnSV9DG3y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 27, 2021 at 01:30:04AM +0100, Andre Przywara wrote: > Now thinking about this, there would probably be some value in making > the TRNG UUID somehow available, as this can be used to identify flawed > implementations (general problems in the hardware or backend bugs). But > this should be some query-able interface, rather than some line in > dmesg. Any ideas? Might be beyond the scope of this series, though... I guess you could append it to the name (eg, "SMCCC TRNG ${UUID}") though it'd be a bit of an eyesore if anyone displays that in UIs much? A separate version string queryable in parallel with name would be more work but possibly a bit more sensible, some other hardware entropy sources will have firmware version numbers or similar they could usefully report I expect. --xTKfHyrFnSV9DG3y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmD/WmkACgkQJNaLcl1U h9DxSQf/SRmE+SMJ3GxdX20HOP2LsvMm9R5rJCf0HK/MQYavnz151pAb5OICJWLT YC0FOoXaXwAgzz1b8y3MkC+9aAV0d3eSvfGCpbEF7lQ4imCwjnXZPSjZZkLexRcj r+9yXM2U2iDKtUxrngwh2+OcZlaagC9oJYgxB9YhK+lkuxgsA9Y4PC7QzQ8I9nzN vgygd/7t4DV4cjadSUdmlcSYKuZlF4ORWUHIUb8KFbLYZ01PlAtcHwUXtXP+mL8S xK+H5YBAEoIoeSlYPirKHKyOgEnL9We0grsN0JhgPz04oLLLP2WeYBIwEm5w4iHn gTBNJ39Xlzeq7LOzWJ2I7W/CG2UQ8A== =Nq3c -----END PGP SIGNATURE----- --xTKfHyrFnSV9DG3y--