From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com ([134.134.136.20]:37694 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbcDVHLJ (ORCPT ); Fri, 22 Apr 2016 03:11:09 -0400 From: Felipe Balbi To: Yoshihiro Shimoda , "mathias.nyman\@intel.com" , "gregkh\@linuxfoundation.org" Cc: "linux-usb\@vger.kernel.org" , "linux-renesas-soc\@vger.kernel.org" , "stable\@vger.kernel.org" Subject: RE: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset() In-Reply-To: References: <1461232154-7420-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> <874mavb7lk.fsf@intel.com> <871t5zb6xl.fsf@intel.com> Date: Fri, 22 Apr 2016 10:08:47 +0300 Message-ID: <87vb3a86io.fsf@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: stable-owner@vger.kernel.org List-ID: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Yoshihiro Shimoda writes: >> > > And, kernel log is the following: >> > > >> > > [ 1.565605] xhci-hcd ee000000.usb: xHCI Host Controller >> > > [ 1.570636] xhci-hcd ee000000.usb: new USB bus registered, assign= ed bus number 5 >> > > [ 22.270160] xhci-hcd ee000000.usb: can't setup: -110 >> > > [ 22.274931] xhci-hcd ee000000.usb: USB bus 5 deregistered >> > > [ 22.280158] xhci-hcd: probe of ee000000.usb failed with error -110 >> > > >> > > The timestamp is strange to me. But, logs of R-Car H3 (ES1.0) and >> > > R-Car H2 were the same. >> > >> > yeah, seems like your system timer is counting twice for each tick. >>=20 >> Yes, I will investigate this later. >>=20 >> > > Should I revise the commit log in detail? >> > >> > Sure, but let's first why this is the case. It's unclear, to me at >> > least, why reset fails. >>=20 >> I understood it. I will investigate why reset fails first. > > According to the HW team of R-Car SoCs, the firmware of R-Car USB 3.0 hos= t controller > will control the reset. So, if the xhci-rcar driver doesn't do firmware d= ownloading, > the reset of USB3.0 host controller doesn't work correctly. > The HW team intends to describe this specification on next datasheet revi= sion. > (In other words, the current datasheet doesn't mention exactly about this= .) that explains it, thanks :-) > So, I will revise the commit log and submit such a patch later. great, thanks =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXGc3/AAoJEIaOsuA1yqREA8YQAJCjV4djIrOF/x20tPiA6s2u pBKRoX11OZ4j2xhTGQAXVv2fs5s+/s2AEPY6aonSMUI1lAe/+SOLLmvEPpavcz8E KhqN8Cvj0Y05z9Tg+mov7lHt+mdOubagxj9oRWb7zRvQ4tY5vGwPCFZZNRujTDU4 gUqPN83/KK5R2Ba6ufbkdSZrHzx7A/hBzAMlurUBaCmV7HV1LQ9INs4hVZR+Aaqf nNAfcnnRttQqJ62a2oX78a3rIN0dVmSBOP6ZDAmLUhmHMEg+1RG5M3bGOcP8Wvxq vteTsiM1jLYnDTiEXLMSR8Y+Tysly+Lbvt9MZ3BDEkcGf1/yCTBqxmkxaHMTOOy7 eM3ywS3XAnbaVUIk6ySa1RvR1byPwdvbA1AOQu2J/nzAbOFItQTMa04QWdUVV71G 4QcBytSvZFyNGKmrB6ObOWfdZRlo1diIfVjin08fX71Xfvlw5WI7yruk9MStBoyS Njosk1YjFhyWYV6yEG/IdnA0ACsBz+yyywDOi+KqKWQoVV/RdOyzzA0Y61wXyx93 z+Sp7ZDqbey12VOjmGMUm8XYWDICRp8sANXIZSsQz8jto/pmA5R5z1+mgHeiPn9h /ynv6M7xzsmW6r74qYpP6zzMQ3qdE4RUQbm3Xj4OEtyb8VaAPo/UjLGgKG+ExgU4 0BBSro8CjR2oi9CF/y0a =6VqO -----END PGP SIGNATURE----- --=-=-=--