Received: by 10.223.185.116 with SMTP id b49csp1013742wrg; Fri, 16 Feb 2018 10:49:27 -0800 (PST) X-Google-Smtp-Source: AH8x224tPS3PZh73GG5pJ6l/3wwScwBEWZhghhIKLAc32D/yVzF4POaEim2NKpW+XxE57hUkvN7d X-Received: by 10.101.69.13 with SMTP id n13mr5926401pgq.62.1518806967578; Fri, 16 Feb 2018 10:49:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518806967; cv=none; d=google.com; s=arc-20160816; b=KflaSqOhO37egjKp/B0LkYwTZjwQ3/FaSOeDEoxZNMcrzFTAJ8qoDqzqjO1Khbg66v ugUWIneIpEuZkazB1DklWll6UShg1ukKItGbpeOvB1S8KrK/3Nj/9zwTjZQmEid+2GqK eu7XwxsNhyyBUrpo/MTl/vLdjrQNPFfUkYJrSRCJJuZezqCDWtC6fGCCsWLAQhttqB74 oHcGSzUPZ0QV1V9A+hOWF8PiIlUjkytvl8usz0wTPpWffdZFgASGfysbYhmZwrt7IwW+ VSDVZmjg2kyfbWAjIio2ExKEFUJR6iPRj2vPARLWUmiw25tolgNuXBSGsIQ8Q07aVBB7 4X2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=rxjUPlQsq/DjoXfjZUiPkm5z2OXmn4O5TwZwQOUGwpQ=; b=fyoUS19BCkN95FDxBYApA7xyOvXWGS0cOktVTjx8UpT34AxAiN2h0dm6ZcbjMvHv0i EGNabptDw9QYid2jk3zXRAEuW/iPdwRjT/pQTwaqjk57+fTsVnf+cc7jRLBFj4v/CqL+ 61rj1H2VvdzYnf+fJMxnUn0xEiPCWyh27bjLCfYTU6lcAS6LAXXqUfh0kEv76r9V0rY7 ul52/yd2lr0yFmYk4ApirLFPILogM1eHTf8x5hum5xDAz23lJ8ApRWxvuoAPwWM5yyIw FtaCDKaBhV5PK6R7itykJ0EpgLJ+AnD1bN1WIv4bfML2Wl6w9fK0rZGHtT7Wowig2cXf Jj6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e32-v6si1799805plb.34.2018.02.16.10.49.13; Fri, 16 Feb 2018 10:49:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753502AbeBPHKv (ORCPT + 99 others); Fri, 16 Feb 2018 02:10:51 -0500 Received: from mail.andi.de1.cc ([85.214.239.24]:54059 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753481AbeBPHKu (ORCPT ); Fri, 16 Feb 2018 02:10:50 -0500 Received: from [2a02:790:ff:7:1a3d:a2ff:febf:d33a] (helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1emaAQ-0005L4-NR; Fri, 16 Feb 2018 08:10:46 +0100 Date: Fri, 16 Feb 2018 08:10:19 +0100 From: Andreas Kemnade To: Bin Liu Cc: , , , Tony Lindgren , Discussions about the Letux Kernel Subject: Re: [PATCH] usb: musb: fix enumeration after resume Message-ID: <20180216081019.2358584f@aktux> In-Reply-To: <20180207203700.GC3992@uda0271908> References: <20180127083403.928-1-andreas@kemnade.info> <20180206184605.GA3992@uda0271908> <20180206200024.18d40735@aktux> <20180207203700.GC3992@uda0271908> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/pldPNWCzzYBd0rP.lqF1I0/"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/pldPNWCzzYBd0rP.lqF1I0/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 7 Feb 2018 14:37:00 -0600 Bin Liu wrote: > On Tue, Feb 06, 2018 at 08:00:24PM +0100, Andreas Kemnade wrote: > > Hi, > >=20 > > On Tue, 6 Feb 2018 12:46:05 -0600 > > Bin Liu wrote: > > =20 > > > Hi, > > >=20 > > > On Sat, Jan 27, 2018 at 09:34:03AM +0100, Andreas Kemnade wrote: =20 > > > > On dm3730 there are enumeration problems after resume. > > > > Investigation led to the cause that the MUSB_POWER_SOFTCONN > > > > bit is not set. If it was set before suspend (because it > > > > was enabled via musb_pullup()), it is set in > > > > musb_restore_context() so the pullup is enabled. But then > > > > musb_start() is called which overwrites MUSB_POWER and > > > > therefore disables MUSB_POWER_SOFTCONN, so no pullup is > > > > enabled and the device is not enumerated. =20 > > > =20 > > > Do you see the issue with the v4.15? > > > =20 > > Yes. Tested without other patches.=20 > > It was also there in earlier kernels but I had not had motivation enough > > to debug. =20 >=20 > Applied to my tree. Thanks. >=20 > > So maybe it deserves a CC: Stable =20 >=20 > I would prefer it is first tested on each stable tree. >=20 Tested with 4.16-rc1 with and without that patch The problem still exists and can be fixed by that patch. Regards, Andreas --Sig_/pldPNWCzzYBd0rP.lqF1I0/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE7sDbhY5mwNpwYgrAfb1qx03ikyQFAlqGg9sACgkQfb1qx03i kyQTdA/+JaigXLuJVsZnMcOw1nY9j9yLZ1YdTe8LLF6urK6xszigXxEXHFkuPB96 gMcpdB2Ely/xQDGrnMp+fBIfgQ68RHEBwbeafRbKSm0bIhA4hDgi+LzgE2oi6OYo y4UkvQ3kn8PV32pYrQV+BPgnNhM2uefgPjZ/hCCgAGmE7OmqolJBG9AhafgD4ZDf efKxtvyJxE3kmYC4pW91Ual7SIaOm/xhFWPOHUax+hQZ1EyDqN+18jSAmT33Xrz9 arPKbjPh7BacuN3XvLnXITimUarPnQpv6ODOvLgPAwp0ckbpBhHe3mSFW3VG9OuB 0VgqW7OXRnVhL1nnKraFdUnG4MkwXQW2d2mrNwPEGIW6//+TW0iVYsB+7K19L0k3 zU7mVZBPCMCL1s53wkeKAoVdy9nuap1+cbRA43emOU/xCCrxNRxTSeqT9WVbRIYM +EqC/vqEqwwkXNLoIK2co1LhxC7uEw7JBbOii5QH91a0I5xGTbtpwE2yGiAuuJRy 5F+FpgjGlWTk08VMrzGC+uaCxa5oEp50auOdmn3waMskMNwmJ+GT1Sd+eEqTMkLk 7vLwkM8nM+698ES0gT7N5R5OHYnMbvwYkF+ubwMwRQmRopnMgDkWGSb9+6jkMJfc uXk38E3OhFkXxXnwoqFk4+q8ZfvOXDGVa36c4PaohdEyKfLZ9J0= =UUOx -----END PGP SIGNATURE----- --Sig_/pldPNWCzzYBd0rP.lqF1I0/--