Received: by 10.192.165.156 with SMTP id m28csp1568889imm; Wed, 18 Apr 2018 11:48:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+pZZC9HhAHZyvSicifbKiIIbB6UtP88zcpEbnttN8E+I0ISTFgCyk0C66D5HnDY1ZwxGPQ X-Received: by 10.98.118.130 with SMTP id r124mr2987794pfc.80.1524077286928; Wed, 18 Apr 2018 11:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524077286; cv=none; d=google.com; s=arc-20160816; b=u2JkGtS6fprsZN/eI0cXSt1jU0y3wQrdNTRqBCtKxdydv8ie1ThSaiBlAS1F9DAEGg NrC0pJaftYrb5qrIE80cm+mt4sqKhnptWhGpXhEp8gDBYwbIgy2fNdH9KJfY4lrapKfL 0Cu2mroiSFZ6SCpjXz/0XElbHUsnwHoOwDezQ7QzmnadXPjb4kc9y/QbkNKXlChQlqfH /yU69OAkQBQHm1BBdqV+tcbzzj+zM/XYmvpsxEXxK+xmfaqRCiGj3jyTn3zXmARs+DBy DQye5SUXca6KRwmonTttnO1OatTbXGGrTjjsfQgNnDpvbIG9p5cvuXK53TTf/I4yHTnk SnAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=D0MGkjrFYb52vrWGMUEs7IAD30E+yX007eFGYUIjhpk=; b=beO1DVum7wE0u56iz0YKOSxgO0uj02S0zVNUETXNiCHBjAOs52z27f5NlxsQobCy3y +M18aiRstfgFWvbaUINMcnEOdopxIFYR22iMZGtI8jB78VPMEUSQK/1LTBMDA0UKmFqQ c7N2t6BcNoh1/CBugw3wqHC6mAnbsCxfTGd4h2alFQHpYnlfJwJL3AJaaMwV/pcnGFuL sNe7T3NCkp4kETQNSk+NHNLFphvIJ5dEZCesID9VKBhCuNA+X9ldA6z1XN6en25GWEeK C2nOjsLhxV46ambmUgT51uYGUD+mfqBVFta8gKOJ+GDIK+jxFh8Aj3K4ZFosEwYctBju 9YfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=SjXatkJX; 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 q21-v6si1760438pls.3.2018.04.18.11.47.53; Wed, 18 Apr 2018 11:48:06 -0700 (PDT) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=SjXatkJX; 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 S1752785AbeDRSqq (ORCPT + 99 others); Wed, 18 Apr 2018 14:46:46 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:43255 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbeDRSqo (ORCPT ); Wed, 18 Apr 2018 14:46:44 -0400 Received: by mail-lf0-f65.google.com with SMTP id v207-v6so4122744lfa.10; Wed, 18 Apr 2018 11:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=D0MGkjrFYb52vrWGMUEs7IAD30E+yX007eFGYUIjhpk=; b=SjXatkJXmcBUWhgus9qFyez/rwIIrV1apnrywnk3fUeUJ8+CsGXOXR951gPuv/Itgt gjUhCmpGIDy34SPZLDWZtgEo8mVOTkXAx1e9W8EZ4hsZ9BEm7T9KP9zLAi1cJxuDzbat Mep5YmXq/7l5CgoRu3A73BSb8TsUzkatY0/41cPov7A1QVdTtP/cRWWUW+iAjj1yxwd9 KFN+2IdWj2tVsnGJfpmZISu1/B8A6BI7BhyIiNT0VYD/IdUtNPQVhdgx+Cm84S8QGvv+ QkhtJXStWuBo5F0GhDOSfLDWcF9bYduz/huOfyQv2i3Hv32jOxdqXeDr26dm5hsBOVUb qOGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=D0MGkjrFYb52vrWGMUEs7IAD30E+yX007eFGYUIjhpk=; b=cwH5kHLOm7hTtaNDhkl+obiPNSHSBRwdG/+BnyGRX5VnuB+Qnx4ENHcZMLi/YZ2YVh lwjPVxvdTSOFqSYERwLy1GL0pW5GDV3EqLA04kIFzNUO1HmbejLUTwljk233/OyowjnJ RCEzyTD5YE47XkshIsz5wJ4roZVq2o7QLNA/8VD/WMpICRiPF7j6DpkQrl6TghRW5V5f jSOMTYCCT2TTeDEDgq2S2zNqHsg9cGlDPUqg6Z3nrAq7ltLgI47srTH62GBbq1wkt/IM +cnes82wZiWSnziF2/uMHCdg8eTl+1eSnYg8FPb/5cs/N+zGlBHpT9e2r/vthLi1yRA3 GDSA== X-Gm-Message-State: ALQs6tBQL+xdHAHfwAIPOIVHJPH0qfNwAbE8R+7PNeyl9iezg6U8GSZA HnUCBDVpVU2uyFsOeEoz0Xg= X-Received: by 10.46.131.197 with SMTP id s5mr2159468ljh.72.1524077202492; Wed, 18 Apr 2018 11:46:42 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.cust.bredbandsbolaget.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id q83-v6sm386353lfg.46.2018.04.18.11.46.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 11:46:41 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1f8s6K-0007Sc-2w; Wed, 18 Apr 2018 20:46:40 +0200 Date: Wed, 18 Apr 2018 20:46:40 +0200 From: Johan Hovold To: Bin Liu Cc: Johan Hovold , Greg Kroah-Hartman , Alan Stern , Arnd Bergmann , Kishon Vijay Abraham I , Martin Blumenstingl , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] USB: musb: dsps: phy fix and DT-topology support Message-ID: <20180418184640.GJ9198@localhost> References: <20180413151505.32663-1-johan@kernel.org> <20180418162015.GG14921@uda0271908> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180418162015.GG14921@uda0271908> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 11:20:15AM -0500, Bin Liu wrote: > Johan, > > On Fri, Apr 13, 2018 at 05:15:02PM +0200, Johan Hovold wrote: > > I've been carrying a patch out-of-tree since my work on improving the > > USB device-tree support which is needed to be able to describe USB > > topologies for musb based controllers. > > > > This patch, which associates the platform controller device with the > > glue device device-tree node, did not play well with the recent changes > > which added generic phy support to USB core however. > > > > Like the recent dwc2 regression fixed by Arnd after the device-tree > > #phy-cell changes, the generic phy code in USB core can now also fail > > indefinitly with -EPROBE_DEFER when the controller uses a legacy USB > > phy. > > > > The second patch addresses this for musb, which handles its own (legacy > > and generic) phys, but something more may possibly now be needed for > > other platforms with legacy phys. > > > > In the process of debugging this, I stumbled over another issue which > > caused the dsps legacy phy init two be called twice on every probe and > > which is fixed by the first patch. > > > > Johan > > > > > > Johan Hovold (3): > > USB: musb: dsps: drop duplicate phy initialisation > > USB: musb: host: prevent core phy initialisation > > Are the two bugs only affecting you with your out-of-tree patch? It > seems don't have any functional impact for me. I need to make a decision > if these two patches need to go to the stable trees... The first bug is independent of the third patch (the "out-of-tree" patch), but as Uwe also noted it seems to be mostly benign since it took two years for it to be discovered. For that reason, and to minimise the risk of any stable regressions, I did not mark it for stable. The second fix is really only needed with the third of_node patch since I don't think any of the glue drivers propagates the device-tree node in this way currently. Hence it could also wait for 3.18, and it is in any case not stable material as the generic-phy support in USB core is new in 3.17. Note that other host controllers may have a device-tree node with associated legacy-phys however and that this could now lead to similar problems starting with 3.17. Thanks, Johan