Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp515704ybl; Wed, 8 Jan 2020 01:01:06 -0800 (PST) X-Google-Smtp-Source: APXvYqy6C2Bmcu2E6j1ZEi8rD2wIIZ04UzIY9AYSPh/4CYk88tuSqohDsi+Hwx1wInCtgQgjSBpq X-Received: by 2002:aca:ec4d:: with SMTP id k74mr2167729oih.64.1578474066482; Wed, 08 Jan 2020 01:01:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578474066; cv=none; d=google.com; s=arc-20160816; b=hVAG8qHyGEKBClekh/q7clFJOPPk/B35i8Qsxt4lzkl1jYtnHLvbDhU0swt52ZOVkH d3JPQL2eRPKJ6w2lEZORmvPz4u87B6b3ngXwqb4tghem38OKLt/ag2qTa52hHVcbjRC3 PLfDKO3aBv+e1zklcoFYXgEVvn0irfDrUihIDL6gLxJSMU2FwJf2bJEXA/pgCjmALMFq LDpDKMJrs9LQl4RggnyRUFI7lZdYcRt8+oQe2uVaJ5d/oOmK5xwAFUOiew7Vj97MJx2L RbdTgl4Mh27sLOBmln4X5MS3cjuDjjBDPvdkvx7SUmBzqh09gf6uBWOU6q++Cczl14lc vLuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:to:cc:message-id:date :subject:content-transfer-encoding:from; bh=xKVShiJtsFnyQ6t05XRH9QhctVU9US41k4+oadVMHeU=; b=IS/s1246M0J685D488Xyblr6Qzd2vgQN2DgB1KIA7CCXSk3gAij1IrutmKwqzaHlWX gbjxldU8u5S7PLsAYuyygLxpeEV1tLua7xU8WS2MXoPeg0jZqc8UdwKM8hYFt1LTVoVz e5zcrpPFg2A2K22busGwlpyQ1TOzCH4Y23j+CffM6ra2+3XasfPNrRQbQnuuqylzOPlR 1FtWEycWx6G4BytBinOG46OHqf/ydR/W7gRbC+HftPZaHctHgD/P54P4EKSXOsl+CrLY wAdMfa4KL/mSByonN6NNCBPzsNmXsPKizHJMNHx2EqQchtpAlnj4/mpNXLg7pxxdg4pK FJqw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l25si1639815otn.69.2020.01.08.01.00.54; Wed, 08 Jan 2020 01:01:06 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727429AbgAHI77 (ORCPT + 99 others); Wed, 8 Jan 2020 03:59:59 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.50]:9530 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbgAHI77 (ORCPT ); Wed, 8 Jan 2020 03:59:59 -0500 X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Qpw97WFDleVXA0PuFc=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 46.1.3 DYNA|AUTH) with ESMTPSA id a09dafw088xje62 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 8 Jan 2020 09:59:45 +0100 (CET) From: "H. Nikolaus Schaller" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [BUG]: usb: dwc3: gadget: broken on OMAP5432 Date: Wed, 8 Jan 2020 09:59:44 +0100 Message-Id: <703DD239-8E3B-405C-A531-FF7DEEED38DC@goldelico.com> Cc: linux-usb@vger.kernel.org, Linux Kernel Mailing List , Discussions about the Letux Kernel , kernel@pyra-handheld.com, Linux-OMAP To: Tejas Joglekar , Felipe Balbi , Greg Kroah-Hartman Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I noticed that the usb ethernet gadget driver is broken since v5.5-rc2 and 5.4.4, but only for our OMAP5 board. Our OMAP3 boards work with the same tree, kernel binary and user-space (Debian Stretch). The symptom is that I can see the interface on the host PC being enumerated and IP addresses etc. are set up. But a ping in either direction fails/times out. After inspecting diffs I found some changes in dwc3:gadget and indeed omap3/twl4030 uses musb and omap5 uses dwc3. Reverting a7f7e61270f1 ("usb: dwc3: gadget: Fix logical condition"); on v5.5-rc makes it work again. BTW: v4.19.90 works although it includes this logical condition fix. So the real difference between v4.19 and v5.5 may be elsewhere in newer kernels and only be revealed by the patch. If important: my setup is running with USB2 cable and speed only. So please check this and other recent dwc3 patches for introducing a stall of communication. BR and thanks, Nikolaus Schaller