Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2428831rdb; Wed, 4 Oct 2023 00:13:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFS7kdQ/jemhUMzClvvwbDioY1SwLIPgOMTN3i0utpSlWAgc9nOwU3w2YLLyirlAx6e8x1I X-Received: by 2002:a05:6808:1313:b0:3af:8050:369f with SMTP id y19-20020a056808131300b003af8050369fmr2258836oiv.6.1696403629856; Wed, 04 Oct 2023 00:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696403629; cv=none; d=google.com; s=arc-20160816; b=ritgl71VZY8CIU0I3LZkajubaXkm0WcqFTp86V23ib74hsFpxCpu90e+js1kDB1QPF M+a7uxqgo3qRKwy1Gj3WTU061uR0AMMHbidUUZLuZJNupxRCXbpba6/7kkCHWNKMGNKi nusONLGGjgkoiaqmU4cLDNO+bs1QYNQEOq/BazAo/k0nxAtpg/Ntq/UtyXIeY00AsdAX 4zHIlLTYYkmqoh6ceeS2JKPyIfWA++84o/0q5JEerEi4YVtAmdXAzb8HL4i/Hej+ZOax bk7qFmsN9OYHXjwzbkJMmGqo0p3meM5mP5NZ8thNwM7CCtptYKYlLXJQ3IxYASpy0EH+ Cf1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1xXUNx6sgw0jJo7Di4O9yNA31P2PEBLMrNrUoskhEKs=; fh=mmOwR5rBP6WKO4AiqV13mpmh84labPwDQtKB64PtinA=; b=mDnABjFmd43UAA/0eUuBH2rl9PSDlEQYbGTwCvxXYCvTaTE/FejLuBOc6enzqmbLsh CZ71YKTkyl0AdATivVlFYvJ8RU8EuxbNbAFyH7DxXCO5PdnBzKgZPKTvzMhrFwHxWjBr wXly6xStJD0ceUL1mezunYJGB8TavFBjM0BLzWGHlMVsAPEUMB8wCa4oMxXhwm5Eq8iy XO2VNelV+cG3EjTweW//aTRPCK3bm66AzBVGQ56fdxdQSXZKyMTUGuI6XWaCiLC0arMI QysLo5l2v4Olsy/idA6Mbuj7sSfR1X6YvxKIvFaHbtsURZZ+zlxkWmPunLwKB64f81LF cnkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SFB/MuUt"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id 1-20020a630b01000000b0056952b496efsi3049749pgl.366.2023.10.04.00.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 00:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SFB/MuUt"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CC14882372FC; Wed, 4 Oct 2023 00:13:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241371AbjJDHNr (ORCPT + 99 others); Wed, 4 Oct 2023 03:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241375AbjJDHNq (ORCPT ); Wed, 4 Oct 2023 03:13:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E03DCB7; Wed, 4 Oct 2023 00:13:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 867FDC433C7; Wed, 4 Oct 2023 07:13:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696403621; bh=slTWOyAU1ZBbYv/JtLRY8Y7iFRGILVvZKFfcQRK6mjU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SFB/MuUtKtRQlI+MlBjIu76Wg/9CWWZCq098e2vitg2omxQz5qn3UE4ZUrfY/35FJ LgF6gT4VCSaymC9cZ3j5PiHnPcupI0nL5LsWb4ycLcNyWEnA3FRjfSbwJColtsvO6v 0oHI5TYuwd1LWmKvmbejzDOwSMmCL9SFFV0Cdqx0QOMnUEvJJgQ9whChh1wSWFS25Y uRNbhcglC2j8bl5Us4pWA9bNRDvB6vY21MAhpb2SDFkmYRVo652LB4Zo5VsU3G6YVJ zWjeHW41UsSiqFrg05HBCBakP6j2GrLMk5iZdDvAGoiT2uaCfkYzy6DEZgl2Mu9CLp OZwc0e/sikbFw== Date: Wed, 4 Oct 2023 12:43:37 +0530 From: Vinod Koul To: Neil Armstrong Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Om Prakash Singh , Krzysztof Kozlowski , Bjorn Andersson Subject: Re: [PATCH v4 0/5] arm64: qcom: sm8x50: enable RNG Message-ID: References: <20231003-topic-sm8550-rng-v4-0-255e4d0ba08e@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231003-topic-sm8550-rng-v4-0-255e4d0ba08e@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 04 Oct 2023 00:13:46 -0700 (PDT) On 03-10-23, 09:10, Neil Armstrong wrote: > Enable RNG on SM8550 & SM8450 by reverting the PRNG bindings & DT > for SM8450 and correctly document it as a True Random Number Generator. > > - SM8550 QRD test run: > > smccc_trng qcom_hwrng > > qcom_hwrng > > rngtest 6.15 > Copyright (c) 2004 by Henrique de Moraes Holschuh > This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > rngtest: starting FIPS tests... > rngtest: bits received from input: 209420032 > rngtest: FIPS 140-2 successes: 10461 > rngtest: FIPS 140-2 failures: 10 > rngtest: FIPS 140-2(2001-10-10) Monobit: 1 > rngtest: FIPS 140-2(2001-10-10) Poker: 2 > rngtest: FIPS 140-2(2001-10-10) Runs: 3 > rngtest: FIPS 140-2(2001-10-10) Long run: 4 > rngtest: FIPS 140-2(2001-10-10) Continuous run: 0 > rngtest: input channel speed: (min=9.219; avg=63.879; max=19073.486)Mibits/s > rngtest: FIPS tests speed: (min=24.965; avg=29.093; max=118.469)Mibits/s > rngtest: Program run time: 10002827 microseconds > > - SM8450 HDK test run: > > qcom_hwrng > > rngtest 6.15 > Copyright (c) 2004 by Henrique de Moraes Holschuh > This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > rngtest: starting FIPS tests... > rngtest: bits received from input: 420580032 > rngtest: FIPS 140-2 successes: 21014 > rngtest: FIPS 140-2 failures: 15 > rngtest: FIPS 140-2(2001-10-10) Monobit: 2 > rngtest: FIPS 140-2(2001-10-10) Poker: 0 > rngtest: FIPS 140-2(2001-10-10) Runs: 7 > rngtest: FIPS 140-2(2001-10-10) Long run: 6 > rngtest: FIPS 140-2(2001-10-10) Continuous run: 0 > rngtest: input channel speed: (min=15.711; avg=50.033; max=32.493)Mibits/s > rngtest: FIPS tests speed: (min=136.239; avg=203.833; max=227.065)Mibits/s > rngtest: Program run time: 10000978 microseconds Acked-by: Vinod Koul -- ~Vinod