From mboxrd@z Thu Jan 1 00:00:00 1970 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 CF7A9C3DA6E for ; Thu, 28 Dec 2023 10:43:48 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:Subject:From:References:Cc:To: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2Py8wXEaKPmJU1JgvSeDk9MVSgUEm+93Pk4w9IFLYkk=; b=4FvtABZtWBHYpI UAAB/PTm2QyAwt7EKrky+TucDElUzE12XMkZKWLDUGofyX65qV+ug/fEQfvfRYH50E95yDMs4dF1I pfi7wDIstr5ZEm20PgFfqgDKkcSm8Ae4saEcpdBNXvlMnRAfZfdd3oqB/vJYwwDLDPr2pYCG4bSxf Vsw/0JCYx+6fcOCAJRcuFa5FYPI4dEZit7HRjuS9RMEuaK2y9H89LN1XrblsGx3+a/H84G0bN0hOV fWYfgtZuIPifgpgB/Pp0D72vD4kA5EyYW2H1X09yjz0KodZ1wXRHtMuasPc0bLbmlqeaJDs1K0E2V rz2OQ0+vTz2hiUphRlMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rInrH-00GZM8-0o; Thu, 28 Dec 2023 10:43:23 +0000 Received: from mgamail.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rInrE-00GZLe-0h; Thu, 28 Dec 2023 10:43:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703760200; x=1735296200; h=message-id:date:mime-version:to:cc:references:from: subject:in-reply-to:content-transfer-encoding; bh=WY3yN9WgNfUdqLLgZpbcv5qQY5jc6G9ySIJZSYYAyew=; b=WE287QJEZotZ3q73+ju5SLQr2oLMpCkmneXRjvJajg6Ejv5aWrbLULtO fSrOOp6aEIubzZoMgKyLFxYELME09zJ9k94i8zsK+2qDF0V447xhxgPZJ LaQ53dQRYOfuiakV6RSQUTWgN/pU50PgiagX9K7noZk75002y8ecMPuSX 3HxwmY6QDux5LXU0JRIUHRhH8lCRFC/sEriGiDv3TmZv/H1mDlTeicRUw BlZGDm7iO2ogI3fSSSLRGqzeAgXV/3jC4B/tCMcLMXK4G6DC3uPSuMhP5 A2LpiLTrJLTzpQESB7QEZ//HeklA1CAFZyMVBGH+L9W5v40S8oNr74FFB A==; X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="400345440" X-IronPort-AV: E=Sophos;i="6.04,311,1695711600"; d="scan'208";a="400345440" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2023 02:42:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="897169005" X-IronPort-AV: E=Sophos;i="6.04,311,1695711600"; d="scan'208";a="897169005" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.199]) ([10.237.72.199]) by fmsmga002.fm.intel.com with ESMTP; 28 Dec 2023 02:42:50 -0800 Message-ID: <1718f25d-3274-3e4d-0cdf-72fda8788e39@linux.intel.com> Date: Thu, 28 Dec 2023 12:44:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.0 Content-Language: en-US To: Chunfeng Yun , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno Cc: Conor Dooley , Matthias Brugger , Mathias Nyman , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eddie Hung , Macpaul Lin References: <20231227060316.8539-1-chunfeng.yun@mediatek.com> From: Mathias Nyman Subject: Re: [PATCH v4 1/3] dt-bindings: usb: mtk-xhci: add a property for Gen1 isoc-in transfer issue In-Reply-To: <20231227060316.8539-1-chunfeng.yun@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231228_024320_317550_22709D04 X-CRM114-Status: GOOD ( 11.89 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi On 27.12.2023 8.03, Chunfeng Yun wrote: > For Gen1 isoc-in endpoint on controller before about SSUSB IPM v1.6.0, it > still send out unexpected ACK after receiving a short packet in burst > transfer, this will cause an exception on connected device, specially for > a 4k camera. > Add a quirk property "rx-fifo-depth" to work around this hardware issue, > prefer to use 3k bytes; > The side-effect is that may cause performance drop about 10%, including > bulk transfer. Is it be possible to detect those Mediatek xHC versions that need this workaround in the xhci-mtk driver directly? This way we could avoid passing a new "rx-fifo-depth" property to it. Thanks Mathias _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel