Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2651022rdh; Wed, 27 Sep 2023 08:42:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6a27Fuda0LFn/Fqwvcrty1L5mOr0XnWNDLuZNWJ0GuFSUsJXZkmoV6fhsynLsax90EmZ/ X-Received: by 2002:a17:902:7596:b0:1bf:8779:e03f with SMTP id j22-20020a170902759600b001bf8779e03fmr1760837pll.68.1695829378750; Wed, 27 Sep 2023 08:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695829378; cv=none; d=google.com; s=arc-20160816; b=ImNZKDgX0JBbflncn5z3omuiLAQfhA+80/SthXhjyFukS1OXb1Kv28CjPf/IqqrHZK olIc0kEd+op4Ktn8n30NHErxPY+PrhLbJ/AnJoG1uziZema0rZpz6mU5q8J97/QWkZKx onJB170vI8fuNSKb27R+/iGUL6t7UZvMFhMnRvNwTEwmJWP9J4cdTM1qx7nd6NV63Wqa pDsf8uBk2FgMLQSubq873yjDcU2Tww4rgu6ahjIkGo9lvIn9kM0K1EaIXMtcVbx/skKW 4q4DMZdHSokE1nldNdlHRQIvhiCf9QGC6de+Zm9QboJk5tyr3nFi8m4LVh9Vc4xYGwqV gT9w== 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=sZTkgSBXbrqhDh66BGejmkHcgP6jhySkdcYdOri47Hk=; fh=CPV1bfoKA8Sdxkw+xxj8FOJ3cMbvIzArDSlQDD/h45g=; b=fD0ACoYlwDutPFi1vzlKUA+WfQEck4/kKCCf8jCeaJqpiBMzEjt3zZEKUa+MI+AdGZ rRMzacP8lp12SflBra7CehLebXdjFRPT9w+R8ZeNaH35v576Tgq3svOuOdsyf40Hb8f2 wLQoexh2cZsb191l3NC0/0dxb5svcrwHayqsatc9ZylXQhypLnzU//DJrTpe2Bz0cZib EHGkBvPqg2xrD+DJm2r76f0ATnfM8JvoQ1bWLiZQwwR3MIfL2weSqjnSbCQ1aatCi6hC 7E/FMcLZt41hlgcDMGFl9e+EpLMeVLG29Fygiksvf7wjGCUpuw+s6050J5oSWZGMhI+Z N3Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xqxl9Ytf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w11-20020a170902e88b00b001bef085a37dsi3927982plg.86.2023.09.27.08.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 08:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xqxl9Ytf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BADA7802F56C; Wed, 27 Sep 2023 07:50:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232231AbjI0OuO (ORCPT + 99 others); Wed, 27 Sep 2023 10:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjI0OuN (ORCPT ); Wed, 27 Sep 2023 10:50:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 976C6F4; Wed, 27 Sep 2023 07:50:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E43D4C433C7; Wed, 27 Sep 2023 14:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695826212; bh=S3t6WfkBtrlDPyuQRQNCERHweGiWYZNq6In/oIlqkrY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xqxl9YtfF6gBWEWkIBqKeC00ViFsurxit8aICZyKBgxLkzQoi3sNactgDQgsQQnLv M/g88sOmrJaThi22O6njdm/mYIzheuoxffYc0hYtqL7HMoLB+8XJ9kSLofzNbW8/Oe TycmM4/lWZKFT1/C64CKzRK8G1w/Yr1mjU/BZi3Rj8QECEh+FQ/NTHxeFVnxwpK2E2 j6cmNrD0z6R/jlTDbqOSGXX09wxZeq9QU+3IGq6ehOSy+sFAPa9EJ5W9VRJCK3QTFg iuxAe4AmbO4cZA/iEEAacM4CnYJ8D/q9UsycbydPntdakXXnAP+rERnjji24AVVDb7 dANP334bOgQEg== Date: Wed, 27 Sep 2023 16:50:09 +0200 From: Mark Brown To: Wesley Cheng Cc: mathias.nyman@intel.com, gregkh@linuxfoundation.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, Thinh.Nguyen@synopsys.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v7 09/33] ASoC: qdsp6: q6afe: Increase APR timeout Message-ID: References: <20230921214843.18450-1-quic_wcheng@quicinc.com> <20230921214843.18450-10-quic_wcheng@quicinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="68PF2jVZjsLysHnC" Content-Disposition: inline In-Reply-To: <20230921214843.18450-10-quic_wcheng@quicinc.com> X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 07:50:22 -0700 (PDT) --68PF2jVZjsLysHnC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 21, 2023 at 02:48:19PM -0700, Wesley Cheng wrote: > For USB offloading situations, the AFE port start command will result in a > QMI handshake between the Q6DSP and the main processor. Depending on if > the USB bus is suspended, this routine would require more time to complete, > as resuming the USB bus has some overhead associated with it. Increase the > timeout to 3s to allow for sufficient time for the USB QMI stream enable > handshake to complete. ... > -#define TIMEOUT_MS 1000 > +#define TIMEOUT_MS 3000 That seems worryingly large but if it's what the hardware/firmware needs I guess there's nothing doing - even the 1s that's being replaced would be nasty if we ever actually hit it. --68PF2jVZjsLysHnC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUUQSAACgkQJNaLcl1U h9BZgAf/cEFWzCSLaDAf1NhbSXiH8O1hyl3xIAiZQXxybdY1U6/Tveia8sc7xRZq ZMFhARjaEtXLKPUh5UH3IpUKdSWAo7Tf/4tF5Z6H40kY0j9WYhzeM7ciaxZc8LC9 Ftmj8/TB2CZ+AQj3At+M2lO/LL39vyBdhBntF94GF8jcnti2PbW86dvm9swf01hx JOKfMH3zsHDKBw9/0SoDVR7Db1ZfXbgzePottCPmleVVNqVT0NTzQmadCVyfsZk0 8dJWSynhbPUGoCy7ujs9wtWPEgNHCqjsj75W+4pDSA1x8fOAyPmRsWEqlwaX7fSr tKy9Yo3pp0eL9YD7mwrpBHUe4OjDrg== =SlIC -----END PGP SIGNATURE----- --68PF2jVZjsLysHnC--