Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp209860rwj; Thu, 22 Dec 2022 01:41:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXvRbg0JPGhr5F2Gb7+FzxJ4iRiEqn/0BSbOOVUVNqhvgOxhfQ2fQam3x9gokvhtKdfJr7k4 X-Received: by 2002:a17:90a:7101:b0:21f:e5c:9852 with SMTP id h1-20020a17090a710100b0021f0e5c9852mr5726580pjk.1.1671702088599; Thu, 22 Dec 2022 01:41:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671702088; cv=none; d=google.com; s=arc-20160816; b=riKOUwfxThpeQ1xg5+Ra1CYzDj3c/zuGU+Tq263Nbwe9/RXU+7cccIpXPbs/6Rb3xd jRl3AUleJfaMhLRIUCVQSdS5VQXfB8wolZtqw8+V8f0o1AWEFqiFc739B51rGOdNoRGD mM23hKrjg2z/fD/VhGoUmVl1lcifQx5qudnfZiQl3X2gN5pPWp2RRAlhPgGrptfttZiN r4sirFvPsJtTZk2GlZ1q3HJLF60uOXl9+1bSdK1hf/7vJ8fX33G1upI2D/4RI80DyG7X QjpaNDVRmyY5IfegP7o7vKC0eVnGfdyDp0OhjiZkln4tt2/bOxwqGvhyEunj0EVN1nbH zRtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=3wWIMsDwB1N+5fWPyZXceR4pxur+a5qC6WFEpdJdiRM=; b=OsOSAh09NY9iN5Pde0n1vrpdxmXW2k/Nfqu2e7F0VDVl/6n9QmaaeIQNC1wl92r2u2 2iA/h4A8XCbrOEZ36qW5G+3TluruXzBOkyOzvlKBosAB1CU+nPyVJJjJvZMig5FiCBxi BxsoB1CmjADjLZg+YoAP7TffzeVXTAnf4Z/OG/5KjHcGKJpUSeNMlGDly8ZgV7PswRKv QLVghkXpDhAuq2USvK2dLKK4Eox/HiwomVlYdFOLXJalxG8RbpZODGxHP6bXkXTGndpZ odr/3MBq5FS3vrFPQoWGC8QgS5/ilss7KV9AoVoKXx0iszRAR5wTjsvRgQgisYnM6zhW 6pGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a17090a9b0f00b0021e41006030si235884pjp.76.2022.12.22.01.41.10; Thu, 22 Dec 2022 01:41:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbiLVJf1 (ORCPT + 99 others); Thu, 22 Dec 2022 04:35:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235074AbiLVJfZ (ORCPT ); Thu, 22 Dec 2022 04:35:25 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CABD275DD; Thu, 22 Dec 2022 01:35:21 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 33E1224E346; Thu, 22 Dec 2022 17:35:09 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 22 Dec 2022 17:35:09 +0800 Received: from EXMBX168.cuchost.com ([fe80::3c2d:dee5:4938:3fc4]) by EXMBX168.cuchost.com ([fe80::3c2d:dee5:4938:3fc4%16]) with mapi id 15.00.1497.044; Thu, 22 Dec 2022 17:35:09 +0800 From: JiaJie Ho To: Krzysztof Kozlowski , Olivia Mackall , Herbert Xu , Rob Herring , Krzysztof Kozlowski CC: Emil Renner Berthing , Conor Dooley , "linux-crypto@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" Subject: RE: [PATCH 2/3] hwrng: starfive - Add TRNG driver for StarFive SoC Thread-Topic: [PATCH 2/3] hwrng: starfive - Add TRNG driver for StarFive SoC Thread-Index: AQHZFRwx15kE4gLKu0uxN2CW96B+Oa53kqwAgAIT3RA= Date: Thu, 22 Dec 2022 09:35:08 +0000 Message-ID: <69dca1be673a40729d750c00d927b437@EXMBX168.cuchost.com> References: <20221221090819.1259443-1-jiajie.ho@starfivetech.com> <20221221090819.1259443-3-jiajie.ho@starfivetech.com> <05aaa9f8-7a97-51c9-e18a-1c3753f2006b@linaro.org> In-Reply-To: <05aaa9f8-7a97-51c9-e18a-1c3753f2006b@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [161.142.229.243] x-yovoleruleagent: yovoleflag Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBN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