Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19801C433E0 for ; Tue, 19 Jan 2021 14:54:01 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3393621D1B for ; Tue, 19 Jan 2021 14:54:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3393621D1B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A0306189E; Tue, 19 Jan 2021 15:53:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0306189E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611068038; bh=qxNVJaCd1A2eYCrKmv6RdrjjKvh15c8Zqp3Z6CRJSno=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=u0J3/0lvEuQHiS3I6kH/xwTv0Xr9N2piFgQzHnYlW0r89U2CHkXx6w7/gwqthOXYt dZPDwde1CqwsjoJvLkLBfP9INKB9lmmJjjNYxslcD9hiUzoss+lGW52gQJApBcGInU d6cr1q8BDpTGOtbC5rlGGLxycoi2Wk0xaHrGlNEw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 32003F80257; Tue, 19 Jan 2021 15:53:08 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0DDFAF80272; Tue, 19 Jan 2021 15:53:06 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 41EEEF80255 for ; Tue, 19 Jan 2021 15:52:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41EEEF80255 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Zw6gIJz9" Received: by mail.kernel.org (Postfix) with ESMTPSA id 54B7B22241; Tue, 19 Jan 2021 14:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611067977; bh=qxNVJaCd1A2eYCrKmv6RdrjjKvh15c8Zqp3Z6CRJSno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zw6gIJz9J8Dkh3C8aPffue9lQz5JRjQ0/BCqd6vB9rfolgW9GNePqh+edfMAuNcQR MdwWbXeXbmQEdcWNj2Z9Kmz9ugGvMKrQRbLVaUeXOSkUtfGy2DXtkRg50UG9r2AheR p6w6mrBy8zxVTHB1/zcZ2mVES1K3q/8cm1LbGm4tXWOmbKhW1IajL+A841Di8o7OxF BtJ7LFF3H0VEHmY2gicHNvFEZ5N+jjmOy8uag+SYQqhiW1mqOkxZJnrd2fJ99LKd/T A/nPe0jiIFnNJ8jCa2LIYf7MP2q0ZFz5LyhOpnua0JXYojbCevxtFiV7zm6uXdXWHi qXYqf9pKMe5Mg== Date: Tue, 19 Jan 2021 20:22:51 +0530 From: Vinod Koul To: Bard Liao Subject: Re: [PATCH 2/2] soundwire: cadence: reduce timeout on transactions Message-ID: <20210119145251.GT2771@vkoul-mobl> References: <20210115061651.9740-1-yung-chuan.liao@linux.intel.com> <20210115061651.9740-3-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210115061651.9740-3-yung-chuan.liao@linux.intel.com> Cc: pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, sanyog.r.kale@intel.com, rander.wang@linux.intel.com, bard.liao@intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 15-01-21, 14:16, Bard Liao wrote: > From: Pierre-Louis Bossart > > Currently the timeout for SoundWire individual transactions is 2s. > > This is too large in comparison with the enumeration and completion > timeouts used in codec drivers. > > A command will typically be handled in less than 100us, so 500ms for > the command completion is more than generous. Applied, thanks -- ~Vinod