Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp208014imp; Wed, 20 Feb 2019 23:16:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IaRyoCFCX+XnB8uOVLGSFcNRGJWp1qAz8rQ4KL75haXgmLWov7SJzIWGOReQ3HeG2Sc2Mtx X-Received: by 2002:a65:6294:: with SMTP id f20mr32666301pgv.174.1550733362555; Wed, 20 Feb 2019 23:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550733362; cv=none; d=google.com; s=arc-20160816; b=HrvsnXafNVOKFjf1NpJbY4CznUH+HUmzGL2SNvjwoRNahzCKUPNhh5xhgjq6EztHpL M09p1nS2mk4UPXzU9dLPP4yIy/8SOu3XsgUUS46az3QPiqvwOjYH63Zg1AyFSRitnH2B msdG3dPWz055vcZrRoGMQgKwWP3ab6A3HL6hrDAtb6lY2ySBRwY1aiaGy+XzsCw8la4R tVb5miDjJyqun8ZAxQ7Td+lBgEHR3OJ8lZeDUXHzTdQJPUJfIV6D7PeAnWWtkKaAhluB yhKBweZD2pXKOIXYubu6Q6hZpuXEs+N+qpNXRki/lk/lGQ2ijgYLga+ND91m+5IYFWD0 EInA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=KoPwAf6C1wZzCRXJ6cYh/8CTE+2btLVRGhnGeJxot9U=; b=tbPUjspFugbjMKanzqq6CC86cMo9CxGRRC6UxFKN9X6R/V1+dV0Fc4lvS14tHkQDfv ObvfovUIfDOAFZ6M4z9YtDriz+HBhYWJUTH9w1Jo6day73Vtbh+nOtbGMaTWoM/klu4i yjG8SBbPxoC2prVTaiXSxgOPqWYUu6GIqa8YYq53x46wvPSxphoblLmQIDh3IviK4WHT kL8+NrkD/FxhQes3N2PXrq97P+Edh5kgFEyA7gDxGjCHVm/u+bltSb9BobM917InJQLA KzVm0g1w1QFPmtgBf7+u6aBo+13NsMRx8TuSBdBdOkuWZJvHOKlct3J8xkc29oEomSxJ 8Z7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si21173247plv.137.2019.02.20.23.15.46; Wed, 20 Feb 2019 23:16:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbfBUHOj (ORCPT + 99 others); Thu, 21 Feb 2019 02:14:39 -0500 Received: from mga09.intel.com ([134.134.136.24]:15184 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbfBUHOj (ORCPT ); Thu, 21 Feb 2019 02:14:39 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2019 23:14:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,394,1544515200"; d="asc'?scan'208";a="126075896" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.72.175]) by fmsmga008.fm.intel.com with ESMTP; 20 Feb 2019 23:14:34 -0800 From: Felipe Balbi To: Pawel Laszczak , Roger Quadros , "devicetree\@vger.kernel.org" Cc: "gregkh\@linuxfoundation.org" , "mark.rutland\@arm.com" , "linux-usb\@vger.kernel.org" , "hdegoede\@redhat.com" , "heikki.krogerus\@linux.intel.com" , "andy.shevchenko\@gmail.com" , "robh+dt\@kernel.org" , "linux-kernel\@vger.kernel.org" , "jbergsagel\@ti.com" , "nsekhar\@ti.com" , "nm\@ti.com" , Suresh Punnoose , "peter.chen\@nxp.com" , Rahul Kumar Subject: RE: [PATCH v4 6/6] usb:cdns3 Fix for stuck packets in on-chip OUT buffer. In-Reply-To: References: <1550173514-23573-1-git-send-email-pawell@cadence.com> <1550173514-23573-7-git-send-email-pawell@cadence.com> <67da432f-9c95-d644-65b5-dbc5b942d24c@ti.com> Date: Thu, 21 Feb 2019 09:14:30 +0200 Message-ID: <87va1dbokp.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, (please break your emails at 80-columns) Pawel Laszczak writes: >>> One more thing. Workaround has implemented algorithm that decide for wh= ich >>> endpoint it should be enabled. e.g for composite device MSC+NCM+ACM it >>> should work only for ACM OUT endpoint. >>> >> >>If ACM driver didn't queue the request for ACM OUT endpoint, why does the >>controller accept the data at all? >> >>I didn't understand why we need a workaround for this. It should be stand= ard >>behaviour to NAK data if function driver didn't request for all endpoints. > > Yes, I agree with you. Controller shouldn=E2=80=99t accept such packet. A= s I know this > behavior will be fixed in RTL. > > But I assume that some older version of this controller are one the marke= t, > and driver should work correct with them. > > In the feature this workaround can be limited only to selected controller= s. > > Even now I assume that it can be enabled/disabled by module parameter. no module parameters, please. Use revision detection in runtime. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlxuT9YACgkQzL64meEa mQb0KA/9G9q4320JmbOLoOs7lhzSroaa+cRfzRqvFN84Wt1jcLdbt427Hmei9KQD hSuWJCN8XfbS0SQouEf+ijLXOloQoj++Po57Vr9hhlciVwbfd//pREYlwv3KqEhc 9B29m84tEBl762fesbu+r6jEhyIEFoj5QvKSQQQ6Sn3mjBwDHuX9rT6XPqYBgR93 uemDLnIKVpt/U56jVtkTofBSEFnlaQXnCMjrB7pZhWLUG0WEPABJ+3oyVBGqzEYQ Cqw8QTh/jr1EB4qj9ArHOXPRqC0NXFhWLNV3N/BuN0No/yVeVv/WntgXMUo4aOQ6 veeG3/YuvO3UxzrR3ChUkqQXpQK0oynIjOdCSEuZ8EyWjHlPfYParu0y0M86RZCN uMQLBt53g3gOtoyfEq0U9Xn6fxeIXVB2SPWBJrL/dt+0iLfksS634RxD4xH90jp+ RkktSilOQzwHqhlvF+SWC/ilY4Y4NKheFN3MAz7USTyBDhIKaxkQg9aZmQf5Vr/F puC3+syTKBrnmF6bPaTzvSQJJ+zYO6Dyhs7EsZDET3+ye08BZB7KDC5h3SsISeY2 vHG6NxaZm37kzY9d6MkOC9JYupyQhLbHD0imgYAEjU7DncNjlR2Fb5N1JNgW9pxV 5qQeZbY4dVJycXG8vrrLEnB6oBM4tJFpCiBN6vyG+//+RQ5jmPM= =9xvx -----END PGP SIGNATURE----- --=-=-=--