[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 04 Apr 2017 10:38:11 +0300
From: Felipe Balbi <felipe.balbi@...ux.intel.com>
To: Minas Harutyunyan <Minas.Harutyunyan@...opsys.com>,
John Stultz <john.stultz@...aro.org>,
Minas Harutyunyan <Minas.Harutyunyan@...opsys.com>
Cc: John Youn <John.Youn@...opsys.com>,
lkml <linux-kernel@...r.kernel.org>,
YongQin Liu <yongqin.liu@...aro.org>,
"linux-usb\@vger.kernel.org" <linux-usb@...r.kernel.org>
Subject: Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?
Hi,
Minas Harutyunyan <Minas.Harutyunyan@...opsys.com> 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, offset 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.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)
Powered by blists - more mailing lists