From patchwork Tue Sep 12 14:31:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 13381839 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B22C2CA0EEC for ; Tue, 12 Sep 2023 14:35:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1RqDCMdMJPzxoX16Vqu0uvXp+VhC1dvIgOslorpjyJM=; b=yo5LwI1HLxwmrY Ejgtc6T3NI/Fql5+9yKywsHesALbrh4G+1MlyuRFlZ3t8jI4uD8b91RghP2zZ/d00Qxjn1AhAr/44 1dJXb9Mqe1lo+m1rakU4ClCC9yzpJXZlbbrlBQTGnb4GOM1W2SEIP5rWTqE1fQHy2j6G0I3CU5vZE nkK4ODII6nipCJTbrSvciFmZpRfvHnpYWptV+aQjQtOhxL8EPq5pe+WIBR6NliiiB9p8gZK1Mrt/i C5QUBY/A1lYZtwr2CZnG0u4pmbd8x107RTkHLwxOjMJa6UAVhJEabfYe4mXwfBTnZYOHjBMkW/XQ3 jZi7fg2ps2k3NYyhzKuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg4Th-003bB4-2Y; Tue, 12 Sep 2023 14:34:57 +0000 Received: from viti.kaiser.cx ([2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg4Te-003b7h-0E for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 14:34:55 +0000 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 ) id 1qg4TO-0005wr-RF; Tue, 12 Sep 2023 16:34:38 +0200 From: Martin Kaiser To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_073454_273287_A59B07F0 X-CRM114-Status: UNSURE ( 6.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-)