From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753910AbaEMP3B (ORCPT ); Tue, 13 May 2014 11:29:01 -0400 Received: from mga02.intel.com ([134.134.136.20]:47391 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbaEMP2y (ORCPT ); Tue, 13 May 2014 11:28:54 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,1044,1389772800"; d="scan'208";a="510952458" Date: Tue, 13 May 2014 23:28:54 -0400 From: Zhuang Jin Can To: Felipe Balbi Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, liping.zhou@intel.com, david.a.cohen@linux.intel.com Subject: Re: [PATCH] usb: dwc3: ep0: fix delayed status is queued too early Message-ID: <20140514032854.GB16153@intel.com> Reply-To: jin.can.zhuang@intel.com References: <20140507215344.GH19925@intel.com> <20140514014551.GA16153@intel.com> <20140513150534.GF1151@saruman.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140513150534.GF1151@saruman.home> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 13, 2014 at 10:05:34AM -0500, Felipe Balbi wrote: > Hi, > > On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote: > > Hi Balbi, > > > > Do you have any comment for this patch? > > do you have an easy test-case which I can use to validate on my end ? The issue was reproduced on a multi-core platform with f_mass_storage and adb (f_fs gadget) enabled. The enumeration will fail when it's connected to PC via USB2 cable. You may not be able to use adb (I think), but do replacing it with some other gadgets (e.g.f_rndis). And f_mass_storage gadget should be the first interface in the composite device (this is important to larger the chance to reproduce the issue, the delayed status request will be queued while irq is still enabling other endpoints of other gadgets). Best Regards Jincan