Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12122613rwd; Fri, 23 Jun 2023 01:29:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kwDz213+bkLRixD+hVknPmnUT/LBxY9TtwMFWoAePCQLaxsplsrymPbwksUhhV6TKs4wQ X-Received: by 2002:aca:db83:0:b0:38c:56d9:5976 with SMTP id s125-20020acadb83000000b0038c56d95976mr14914875oig.4.1687508955282; Fri, 23 Jun 2023 01:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687508955; cv=none; d=google.com; s=arc-20160816; b=CLmenxxPk5W9Err6XqJ0QXUj+/ZE6evbCUpfpdqIZGN2NTBb/aPoeCzp06rD8+7ZP2 ABWHX6QloohPV1MYjylFULuH0wGLNDfNiS/OhO+2QTALcoulB7wBCH9ShzEdUIVvmXYC GFOKfigzJaqW1/9bwFom/mCB+uLaPfi6qZzW2pOKRoFSlFC7P+zP6OSmMnAMT1nnNgMQ qxbT7qhb+XdSN2cCDfoixFJ5562XZ/KJDcBnGPmOtWfT6PTvm+V9nAnIYOlI6y13xVVK 5DXyMoH1a3kxHQy8qd9tilGahBWOaR3IG6X0o9rihiSLL22wu+JQ6lrCWhO/52WIVyAO /oHA== 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=KKqonlomIFHRoO+N3KOx2JWcg0X4oO7olKojOnPVc64=; b=GiTqRgRq8pPYfmxQlMfh0CpXWT5Aoa+TfeHjOt+X8GMH8zi88KOlprqe0mdogE1/Xu kGNcvUUvyHhZ/xe5Rh1EaiLTM8Crt7l4Rvv8zuJEU92w/QeJtC43HmDiZtWmZu7+Xnzo e7YyC6vFoqJLTL5iTXwKlSpoccLPolWNXFNyqENQSZCePx2xSb++J7YkdGQKhIZm7l1B F1kWMSdiZ1cFq8GqIbKgfWdxswI0f4ICf4EBQW1lCJgIBT5XQlZt6IrlB3WVtdaAds7i nnCRXDocHDyRFYKAGvBx4OoS/YVQQ1dDZKVDH7vP+aPlBbuP58IIyTxTDNIQhIbiWbvN YJqQ== 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 u70-20020a637949000000b00534e68cc8f5si2231464pgc.270.2023.06.23.01.29.02; Fri, 23 Jun 2023 01:29:15 -0700 (PDT) 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 S231621AbjFWIYM (ORCPT + 99 others); Fri, 23 Jun 2023 04:24:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbjFWIYK (ORCPT ); Fri, 23 Jun 2023 04:24:10 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7AF3212E; Fri, 23 Jun 2023 01:24:08 -0700 (PDT) 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 1qCc5G-006Kd0-OV; Fri, 23 Jun 2023 16:23:59 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 23 Jun 2023 16:23:58 +0800 Date: Fri, 23 Jun 2023 16:23:58 +0800 From: Herbert Xu To: Martin Kaiser Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] hwrng: st - fix potential race condition Message-ID: References: <20230616083618.1320824-1-martin@kaiser.cx> <20230616085813.1323082-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230616085813.1323082-1-martin@kaiser.cx> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 On Fri, Jun 16, 2023 at 09:58:11AM +0100, Martin Kaiser wrote: > Fix a potential race condition in the st-rng driver. There's a short timeframe > where the driver is still registered but its peripheral clock is disabled. > > Add support for compile-testing the driver. I do not have any hardware that > supports st-rng. > > v2: Remove some more obsolete code and rephrase the explanation. The point is > that devres does now disable the clock. > > Martin Kaiser (2): > hwrng: st - support compile-testing > hwrng: st - keep clock enabled while hwrng is registered > > drivers/char/hw_random/Kconfig | 2 +- > drivers/char/hw_random/st-rng.c | 21 +-------------------- > 2 files changed, 2 insertions(+), 21 deletions(-) > > -- > 2.30.2 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt