Message ID | 20230912143117.55965-1-martin@kaiser.cx |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp465435vqx; Tue, 12 Sep 2023 07:59:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2v0FqEXjCegXAFs9s243uzjYQPcEstKknmtzxlbVG+4k9qRB2GzlTCMgTPENUOkj71jWK X-Received: by 2002:a17:902:cec1:b0:1bb:35b6:448f with SMTP id d1-20020a170902cec100b001bb35b6448fmr2038plg.15.1694530791347; Tue, 12 Sep 2023 07:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694530791; cv=none; d=google.com; s=arc-20160816; b=oGNzBiQh4f2eGxrpI8SFZwNfE+6qghU9mteZ804s+LrZqK3Xf6VZ1sY2ahUFIhVnoA s8N4sEi6PImwEWgPph9FMo942OtbWcvPsu5P+HguyvdLgXYJ7sh8YFd2wgMLrXHZYuQC T78wBGehobcj/xM/eZc3oASRiF09I+JSYC9d+gontp2AoexAPXSOoDXGqhDpaCH72I1O y+J108tB1Afj3DdwA1cCLaYM3MYwmdB/Af3xC0ov02tbR83THBkZEWDRK2vfRtlr+U/q gwzFwrCRWHPLHtiLdATkzkyL4L9x1eZCpWiDRUaxH/2N5nsq6nKXW7b0mf7ey8to1GAF uAUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8dpUKgFXvu2D3iIKNWoSISTN4z3Px2zfP+z4FjpXTD4=; fh=SqCs7KZ8ytcbnkiRESvNRChZIthYOwhcUjFjEDfWP4k=; b=eCapAfRUgEHAm0bjE7MoIQ/jQm9rgXyu6dIyhi3ntW+HuVCrwJwst7bGoCuLfbYcMO qYVulO72egsAtDkRND+2dWyIiXPzPyhAt2zJIAJ0bKK3ePK1/PYNJstzy7gC9iChhnDp BXJELva/M8W23PL3YRwW4jmb5LXGuVbJQO8lJqAgwp/gQdB5MqIUn+GNuYC1I67Yi+sR 7caMVVYPyfmooU9gn0sUaSnjg0VyZ/nBV9+vaTnqsSGk13KlBZcFDr0G0gZI/AgMqAqJ npbQU5+fMUeN/ZKNXu6nHF2QH3+kF4uL/zU4JGveix+pfX+8glHsuj2hvsCslOem9/wv iCTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id kh7-20020a170903064700b001be025f8407si1151722plb.37.2023.09.12.07.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 07:59:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id AD52D81DF241; Tue, 12 Sep 2023 07:35:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236038AbjILOet (ORCPT <rfc822;pwkd43@gmail.com> + 37 others); Tue, 12 Sep 2023 10:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236034AbjILOeq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Sep 2023 10:34:46 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7600CC7; Tue, 12 Sep 2023 07:34:42 -0700 (PDT) Received: from dslb-178-004-201-190.178.004.pools.vodafone-ip.de ([178.4.201.190] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <martin@kaiser.cx>) id 1qg4TO-0005wr-RF; Tue, 12 Sep 2023 16:34:38 +0200 From: Martin Kaiser <martin@kaiser.cx> To: Herbert Xu <herbert@gondor.apana.org.au> Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx> Subject: [PATCH 0/2] hwrng: imx-rngc - adjust the timeouts Date: Tue, 12 Sep 2023 16:31:16 +0200 Message-Id: <20230912143117.55965-1-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 07:35:03 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776844318937213920 X-GMAIL-MSGID: 1776844318937213920 |
Series |
hwrng: imx-rngc - adjust the timeouts
|
|
Message
Martin Kaiser
Sept. 12, 2023, 2:31 p.m. UTC
Set the timeouts for selftest and initial seed to approx. three times the maximum possible duration. This replaces the series "hwrng: imx-rngc - use polling instead of interrupt". Martin Kaiser (2): hwrng: imx-rngc - reasonable timeout for selftest hwrng: imx-rngc - reasonable timeout for initial seed drivers/char/hw_random/imx-rngc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Comments
On Tue, Sep 12, 2023 at 04:31:16PM +0200, Martin Kaiser wrote: > Set the timeouts for selftest and initial seed to approx. three times the > maximum possible duration. > > This replaces the series "hwrng: imx-rngc - use polling instead of interrupt". > > Martin Kaiser (2): > hwrng: imx-rngc - reasonable timeout for selftest > hwrng: imx-rngc - reasonable timeout for initial seed > > drivers/char/hw_random/imx-rngc.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > -- > 2.39.2 All applied. Thanks.