Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752993AbdDDHi2 (ORCPT ); Tue, 4 Apr 2017 03:38:28 -0400 Received: from mga14.intel.com ([192.55.52.115]:16842 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbdDDHi0 (ORCPT ); Tue, 4 Apr 2017 03:38:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,274,1486454400"; d="asc'?scan'208";a="841529305" From: Felipe Balbi To: Minas Harutyunyan , John Stultz , Minas Harutyunyan Cc: John Youn , lkml , YongQin Liu , "linux-usb\@vger.kernel.org" Subject: Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors? In-Reply-To: <410670D7E743164D87FA6160E7907A56FD9F6F17@am04wembxb.internal.synopsys.com> References: <2B3535C5ECE8B5419E3ECBE300772909021B4A47FF@US01WEMBX2.internal.synopsys.com> <410670D7E743164D87FA6160E7907A56FD9F691E@am04wembxb.internal.synopsys.com> <410670D7E743164D87FA6160E7907A56FD9F6F17@am04wembxb.internal.synopsys.com> Date: Tue, 04 Apr 2017 10:38:11 +0300 Message-ID: <87inmkipwc.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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2557 Lines: 76 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Minas Harutyunyan writes: >>>>>> We've noticed that when using usb ethernet adapters on HiKey, we >>>>>> occasionally see errors like: >>>>>> >>>>>> dwc2 f72c0000.usb: dwc2_hc_chhltd_intr_dma: Channel 0 - ChHltd set, >>>>>> but reason is unknown >>>>>> dwc2 f72c0000.usb: hcint 0x00000002, intsts 0x06200029 >>>>>> >>>>>> dwc2 f72c0000.usb: dwc2_hc_chhltd_intr_dma: Channel 11 - ChHltd set, >>>>>> but reason is unknown >>>>>> dwc2 f72c0000.usb: hcint 0x00000002, intsts 0x04200029 >>>>>> >>>>>> Sometimes followed up by a usb error in the driver, something like: >>>>>> asix 1-1.2:1.0 eth0: asix_rx_fixup() Bad Header Length 0x36000807, o= ffset 68 >>>>>> >>>>>> Curious if you've seen any reports like this? >>> >>> The core version is less than 2.71a, am I right? >> >> So it looks like its reporting 0x4f54300a for hsotg->regs + GSNPSID >> which looks like DWC2_CORE_REV_3_00a >> >>> Please send full debug log to do more investigation. >> >> Full dmesg, or is there special debugging you want me to enable? > > Full dmesg around issue. >> >>> Also send us regdump after connecting ethernet adapter. >> >> Sorry, can you clarify how to generate this? > > cat regdump. To locate dwc2 regdump file: cd /; find -name regdump this won't work if his distro doesn't mount debugfs. Please give complete instructions ;-) # mkdir -p /d # mount -t debugfs none /d # cd /d # find . -name regdump The directory name is the same name as the dwc2 device name, AFAICT. So, check your DTS for the name of the device. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAljjTWMACgkQzL64meEa mQYf/RAAlGlrTnpedMttIa2+AkBIegRvZSk61d3SEjZPrmdUMIMd/Ke7e/NAnix/ wto+3A/8i8FfNcfsizGiMFTcGjqLS4DHe1bWiNndwKYHOIlWxYk4d1dSdYznVOqL V/Ule231jJE95xKYrozer8Eg92KZuqhMASP5Xbh8W7LKbKv8ZPfMsWbVwVLkVn/Q V2TKxzDOiU4HT2pRktYmG8eSOFwso+tc495hVYcwtno5bPA/XNthFfJbAPSz2vOt 30pj0eG/deUiZCbDLOmVM3DrHFm89T82SnVzu/WGF+HkzZ3eQCmPaR4uO5GMy1ja GbTd1pmb8H0FWCg1Xf0YclcKXxtwBBn3/20byI13iRlrOx7ik5ctEpXlVci0hlTS Sa6XTEEFL1CrV5ASEjAKGRVJweyw/64QuM0oilcMYXNULveUFjaqUh4v9GnODviS KnM0tncw/txRiS6Kxr1oeboniye9xl8yHJWV0JATl86czj8n+0D+L5R1TErorpgj rt5tQGP0LAYkhyPf65OurVeZJbqBAvKFhfH8d56RSZatkOoxBUkDVDbObrTeqFqi RlS6GqW77cLTaOwbSYrL0CiKf0jruXKqu6kufsx1fff96Zkc4KZv324H02JQOMbB r+2X19f7SpyVSOG/EgRmgoGyd7IhFkp8yW8dgbDEXduQ+1IkzRw= =1kq+ -----END PGP SIGNATURE----- --=-=-=--