Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp12852084pxu; Sat, 2 Jan 2021 14:09:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0RgQmoNswBzOoNJWzPf6Z+W+YstyweB2WQcJZ/qL1C0QKYOG/BPPZsa93kokFOSbraBrd X-Received: by 2002:a17:906:351a:: with SMTP id r26mr59288434eja.204.1609625387569; Sat, 02 Jan 2021 14:09:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609625387; cv=none; d=google.com; s=arc-20160816; b=H6ApTLuJhoKB8k5ocA0/kho15g9b7T/IzO9TbaifPezcT9hcq4GlOfjOCt3/Tbfims a5jy4t19X57+s85s9slPhUExYCUiudCLYfvzkrbVb9injUcCDU3EgucWsOm4xrVcEZdK H+8cZc3UfISTTd99sLidTZOYa/o7SMIBE1iVw1UAPUeu9Rd2sHB+N3/RXrMAYXikihKD qrvjSu0yxVCIhSn+mkoJSRKHEvCBXJWeCcsxfbRWyblV+uEzaAZ9WiOGIr5ttF/zfyR0 wI77es78XEzjsomWkrHqWvmESWwlatdKTWfJ6VL3LO3aXiZxxZx1uVNdNpzQgTpgQ76w Rvrw== 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; bh=jVMCFreqqasxxVpJ2B9qFjFAaW/qm1acacvQ9JRVCF4=; b=mvKbMy6qfi4lX3Wr8nL+w8lL78yJjTh5TcuJcvDYCKD6x9o007m2lMMofdOBL2q95M KO+BKNoNRCjD3sxwFQ49u+PgGz7D7ZnldPWfD0p4QwF9/ZMUE0lp9t3byQjDJhF122sN mRftw5qaGfq8XK6oSAkDzW4lpUxJsHih3teCqUIPMDUO2fPg6ohJV4F/d1Xuj9Pztc3i UX+XFt3Q+2iHBRDKowv7jFb3R1NbYrl3yHcU+Plji3iBZGGccUB6aaTiFsNWpizL7dZU sSpY/N4sCdqiFOG0P25Zy7UtiBr3+VuV96WTRPMahSZr+wxGMNI27mYonKgYz6pfcR8U wlLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si25669249ejg.220.2021.01.02.14.09.28; Sat, 02 Jan 2021 14:09:47 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726844AbhABWJ1 (ORCPT + 99 others); Sat, 2 Jan 2021 17:09:27 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:37382 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbhABWJ1 (ORCPT ); Sat, 2 Jan 2021 17:09:27 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kvp4a-0000bx-AZ; Sun, 03 Jan 2021 09:08:33 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sun, 03 Jan 2021 09:08:32 +1100 Date: Sun, 3 Jan 2021 09:08:32 +1100 From: Herbert Xu To: matthias.bgg@kernel.org Cc: mpm@selenic.com, rjui@broadcom.com, sbranden@broadcom.com, f.fainelli@gmail.com, linux-kernel@vger.kernel.org, Julia.Lawall@inria.fr, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, nsaenzjulienne@suse.de, linux-crypto@vger.kernel.org, Matthias Brugger Subject: Re: [PATCH v2 1/2] hwrng: iproc-rng200: Fix disable of the block. Message-ID: <20210102220832.GO12767@gondor.apana.org.au> References: <20201218105708.28480-1-matthias.bgg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201218105708.28480-1-matthias.bgg@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Dec 18, 2020 at 11:57:07AM +0100, matthias.bgg@kernel.org wrote: > From: Matthias Brugger > > When trying to disable the block we bitwise or the control > register with value zero. This is confusing as using bitwise or with > value zero doesn't have any effect at all. Drop this as we already set > the enable bit to zero by appling inverted RNG_RBGEN_MASK. > > Signed-off-by: Matthias Brugger > > --- > > Changes in v2: > - fix commit message, dropping Fixes tag > - drop inverted RNT_RBGEN_ENABLE in disable case > > drivers/char/hw_random/iproc-rng200.c | 3 --- > 1 file changed, 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt