Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp909247rdb; Fri, 1 Dec 2023 01:38:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJqfuI0BAfyOF68DIYD/Pwf69BiY8W3+gvHNFEa5CkZqReH7Y6eBOD3bQo7kVxm2PHA8zF X-Received: by 2002:a05:6358:ca7:b0:16f:2478:a87 with SMTP id o39-20020a0563580ca700b0016f24780a87mr9037093rwj.0.1701423532397; Fri, 01 Dec 2023 01:38:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701423532; cv=none; d=google.com; s=arc-20160816; b=GxG5QmgJj342tEjmPlBMWO6ygorNaxZuV7ugeBuyZGt5cFcxK9i6D1JfmQC/28daAH CW5zkvcoRdNpBbxIPxV7OwaTyzDhmtc+LYNdzj61PdmLO7OuN4WG57HgN8qOkTR4451C qYJAL5Y9GQK/Me4WJoZRbG3WzY8l9TNkgPI76/AOunz3yPGmujKysoJQOeJLjF2Z52Vg ZRjghd8YTDB3sTcHI/kdwjKyZGYB8/KoSfc4sAAZXBqkRNceLe5+NsgEcnSRyC3fXV5m hk0kCmmzVMpHhuMyzsSAm9n/Lmb8N2eVv6ivKrlcivdhB6xdLkfhXTsNBHkHGktstFsl c0mA== 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; bh=VdrhIuWmC4kenwgYVrxaaT6x0s0JPu0l8sHluYhOJLU=; fh=h6aFmPrr3iBbqHWFUNBaDXDrREuvAVpTJeHTooNtUfE=; b=cdxBowvDgvPkOeI8Do7TnwxtaRNGrMoS9w8omcDooR1/hayTuSE2Gw/5B/Hk5jkd04 ecjY/do70+xoZBgiDWVpmb1ePY0F66Jq2ewcGtwOWLl6zXlUaY/toxdF5p6Rdm7V/348 JALghsWlEhw85sP7egeAsa11aXJ3UrOmBbHMwO0B7dBikcZWEndKGuF7JcOSIj+hk7NU kPKq2u7xY3TUQCxMiIexs8Z59seiddbqQ0Tf+1dc8+xqSzWIjwue/GqIJSEGAD94LkMa K9560DRXobChXIG/PWirxdx0TjNHHOdfTHB44t2SbM1BcxBRTzXSfhWQ/1tON7CQjd+c KKgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l12-20020a65680c000000b00565e865d381si2883005pgt.447.2023.12.01.01.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 01:38:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AB4CE80FA9C3; Fri, 1 Dec 2023 01:38:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378117AbjLAJil (ORCPT + 99 others); Fri, 1 Dec 2023 04:38:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378118AbjLAJi1 (ORCPT ); Fri, 1 Dec 2023 04:38:27 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D93F91BD1; Fri, 1 Dec 2023 01:31:18 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1r8zrN-005glj-UX; Fri, 01 Dec 2023 17:30:59 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 01 Dec 2023 17:31:07 +0800 Date: Fri, 1 Dec 2023 17:31:07 +0800 From: Herbert Xu To: LeoLiu-oc Cc: olivia@selenic.com, martin@kaiser.cx, jiajie.ho@starfivetech.com, jenny.zhang@starfivetech.com, mmyangfl@gmail.com, robh@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, x86@vger.kernel.org, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, YunShen@zhaoxin.com, LeoLiu@zhaoxin.com Subject: Re: [PATCH v2] hwrng: add Zhaoxin rng driver base on rep_xstore instruction Message-ID: References: <20231107070900.496827-1-LeoLiu-oc@zhaoxin.com> <20231121032939.610048-1-LeoLiu-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121032939.610048-1-LeoLiu-oc@zhaoxin.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 01:38:50 -0800 (PST) On Tue, Nov 21, 2023 at 11:29:39AM +0800, LeoLiu-oc wrote: > > +config HW_RANDOM_ZHAOXIN > + tristate "Zhaoxin HW Random Number Generator support" > + depends on X86 > + default HW_RANDOM Please remove this default. > diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c > index a9a0a3b09c8b..6d1312845802 100644 > --- a/drivers/char/hw_random/via-rng.c > +++ b/drivers/char/hw_random/via-rng.c > @@ -35,9 +35,6 @@ > #include > #include > > - > - > - Please don't make unrelated changes in a patch. > pr_info("VIA RNG detected\n"); > err = hwrng_register(&via_rng); > if (err) { > - pr_err(PFX "RNG registering failed (%d)\n", > - err); > + pr_err(PFX "RNG registering failed (%d)\n", err); Ditto. > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Please sort this alphabetically. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt