Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752687AbdDDDEb (ORCPT ); Mon, 3 Apr 2017 23:04:31 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:34470 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbdDDDE3 (ORCPT ); Mon, 3 Apr 2017 23:04:29 -0400 MIME-Version: 1.0 In-Reply-To: <410670D7E743164D87FA6160E7907A56FD9F691E@am04wembxb.internal.synopsys.com> References: <2B3535C5ECE8B5419E3ECBE300772909021B4A47FF@US01WEMBX2.internal.synopsys.com> <410670D7E743164D87FA6160E7907A56FD9F691E@am04wembxb.internal.synopsys.com> From: John Stultz Date: Mon, 3 Apr 2017 20:04:27 -0700 Message-ID: Subject: Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors? To: Minas Harutyunyan Cc: John Youn , lkml , YongQin Liu , "linux-usb@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 37 On Mon, Apr 3, 2017 at 5:54 AM, Minas Harutyunyan wrote: > On 4/3/2017 9:23 AM, John Youn wrote: >> On 03/31/2017 04:04 PM, John Stultz wrote: >>> On Thu, Mar 2, 2017 at 12:00 PM, John Stultz wrote: >>>> Hey John, >>>> 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? > Also send us regdump after connecting ethernet adapter. Sorry, can you clarify how to generate this? thanks -john