Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2472680rwb; Sun, 6 Aug 2023 19:54:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHccm74RgnQEa99c7mUe2REgEnI9SFXHppofQDWYXqyNVxdoZc6/DqPGyguhv03/Gof6n6e X-Received: by 2002:a17:902:ab86:b0:1b8:400a:48f2 with SMTP id f6-20020a170902ab8600b001b8400a48f2mr8215508plr.62.1691376897361; Sun, 06 Aug 2023 19:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691376897; cv=none; d=google.com; s=arc-20160816; b=GTPaqlNRjiuZRPajqold/HzoTyms1py/Pn0ZJAdnPNDUD0y4ReKXybIOPyEcQScWLM gk/DCuyzndSsCgkDwFEh/1GBpxibJ/V3MK7Q1gmboDHgwDyA21bT+voAClD6B7MiGLi0 We4oqrkdtWimTqLirA/L8JmJ8beGdAHjo9lhFNtlF31CBsaGSARMHXa30o9mCcEWPVpp W5zaU73AAN4IAA0wnwDR4Veeygz7cBvtbDUVLxHuvAsRpxPzf3wsdJNgVV9xYV07mq7k syARy0chkiBRQZy/D/rArU8Swu4Y+t+zEL+yqSd8Lik271E0ss/BYpjEvYn2JJh4MjY2 2mBw== 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:dkim-signature; bh=CRCGvuP0Iu0vMV8jwxZxZYMKrUJMXLbEkbb/4USa6wY=; fh=tYR0/3O20M2Vb127Q5PU6annTyorU6+tcRqpEXSy8nY=; b=EMrnFn8c6sWcXH7ylWSCZ6hSNNgKUujir2FbRwLubs1qdgCWrd/25iRIthvk3Dadix 5fCpEPghwgVy8L+ZfEbXFhjMn1XTYSnUK0tn6YFjuwq5TZR8kCn6PYaBUKM425Zbc7dd j867bH2JQu1jNrFZmeTJd+bgpMEXfFo0jx21L2w5og6JdrYMmineBC6lXxT2NTluQ9ws FMZWOfa5qKuGBU5yfjgJd/8DpdtFdu0O8MnO0LWMmOGJdlc9HJO89Rkdt8wwfLPPGAc0 k3DgfgXHMJdQZu7mEAygyC48R6C7IhOMAFm6HvsIfZHTT5PVz6XmDgRq2Wz1ThNqSeyA lMIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kEOZQRoW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020a17090322c500b001bc671d6d15si1646898plg.614.2023.08.06.19.54.44; Sun, 06 Aug 2023 19:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kEOZQRoW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229676AbjHGC1o (ORCPT + 99 others); Sun, 6 Aug 2023 22:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjHGC1n (ORCPT ); Sun, 6 Aug 2023 22:27:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD4F795 for ; Sun, 6 Aug 2023 19:27:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4479B61305 for ; Mon, 7 Aug 2023 02:27:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 999E5C433C7; Mon, 7 Aug 2023 02:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691375261; bh=iJ2z82p0DxEKxBAy/Uy/k+cv7auNTA6XBM0RzAeWTYw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kEOZQRoWl2w1znZJpNHYIudRisLtK7+FSJmJrGxABK8lDHJWuGZX+dbSAvPCs7g8G KdG9+KG9DXnEL56dA8ZE1mcTp9ZTGWRMLcPzP5FT2qixOeMT1xzQL6Lso4qqhTWTTB 3Jn/PiGFLEB190PvqVWP0rxo4F/eWAzMQcCXnmvD+odGVUL1fPJQA6H9Xm3ruRnQ9i UZKvmPICjKkDVl0lp8rtF3BnaOtslh1ghOgvMyCsYVO7ic2KwffsOEfTdWu9pX85cX DiQnG0ieL/bG9WnoE9DOFJg7CucRkPY5PLFqSmIV8rL4iCp9s/RpFWDwFmCfqg2Tg2 TtXOGsm+UGZgA== Date: Mon, 7 Aug 2023 10:27:29 +0800 From: Shawn Guo To: "Peng Fan (OSS)" Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com, alexander.stein@ew.tq-group.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH V5 2/9] firmware: imx: scu: increase RPC timeout Message-ID: <20230807022729.GK151430@dragon> References: <20230731090449.2845997-1-peng.fan@oss.nxp.com> <20230731090449.2845997-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230731090449.2845997-3-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 On Mon, Jul 31, 2023 at 05:04:42PM +0800, Peng Fan (OSS) wrote: > From: Dong Aisheng > > When system loading is high, we can met some command timeout s/met/meet > issue occasionaly, so increase the timeout to a more safe value. s/occasionaly/occasionally Shawn > > Signed-off-by: Dong Aisheng > Signed-off-by: Peng Fan > --- > drivers/firmware/imx/imx-scu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/firmware/imx/imx-scu.c b/drivers/firmware/imx/imx-scu.c > index 2d24359420d8..14ff9d3504bf 100644 > --- a/drivers/firmware/imx/imx-scu.c > +++ b/drivers/firmware/imx/imx-scu.c > @@ -20,7 +20,7 @@ > #include > > #define SCU_MU_CHAN_NUM 8 > -#define MAX_RX_TIMEOUT (msecs_to_jiffies(30)) > +#define MAX_RX_TIMEOUT (msecs_to_jiffies(3000)) > > struct imx_sc_chan { > struct imx_sc_ipc *sc_ipc; > -- > 2.37.1 >