Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbdFEEvJ (ORCPT ); Mon, 5 Jun 2017 00:51:09 -0400 Received: from mail-cys01nam02on0087.outbound.protection.outlook.com ([104.47.37.87]:56379 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751234AbdFEEvF (ORCPT ); Mon, 5 Jun 2017 00:51:05 -0400 Authentication-Results: spf=softfail (sender IP is 192.88.158.2) smtp.mailfrom=gmail.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=gmail.com; Date: Mon, 5 Jun 2017 12:51:04 +0800 From: Peter Chen To: Johan Hovold CC: Greg Kroah-Hartman , Linus Walleij , Peter Chen , Rob Herring , Arnd Bergmann , Sricharan R , Zhang Rui , Eduardo Valentin , , , Subject: Re: [PATCH 5/7] USB: of: fix root-hub device-tree node handling Message-ID: <20170605045103.GB20014@b29397-desktop> References: <20170530162554.26159-1-johan@kernel.org> <20170530162554.26159-6-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170530162554.26159-6-johan@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-EOPAttributedMessage: 0 X-Matching-Connectors: 131411118624778724;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39410400002)(39380400002)(39860400002)(39840400002)(39850400002)(39400400002)(39450400003)(2980300002)(199003)(24454002)(189002)(9170700003)(77096006)(1076002)(110136004)(6246003)(4001350100001)(73392002)(189998001)(50466002)(23726003)(5660300001)(356003)(82202002)(33656002)(104016004)(81166006)(46406003)(38730400002)(8936002)(76482006)(229853002)(81442002)(83322999)(2906002)(83506001)(7416002)(6916009)(2950100002)(305945005)(4326008)(8676002)(39060400002)(86362001)(53936002)(9686003)(97756001)(498600001)(33716001)(6666003)(50986999)(73972006)(105596002)(76176999)(106466001)(54356999)(6260500002)(8656002)(47776003)(87572001)(54906002)(55016002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB2803;H:az84smr01.freescale.net;FPR:;SPF:SoftFail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD013;1:UDouojksJ+6PNXDKQV9nNK/rBAnk+n57mbXcNiS1PQBUA4dStxdX8IdiRKO7zMjTt4ZKbLdkVgBozt4+Md/RAvBFOQhKHtxdBfmWv3f0jxTZ+prUfDebLUQMy1yTm/TBjIgwSJ9N5MY3D5b2ZN+8vMuQlBZeHnoyQPlT81gyIW9NvQhD7+MFTeywyHDBck6jIBmX7DOjOZA3dqhkHLqur+g6DBbVkVMeBShT6OPJuvWdMgc5Ns0Ox2kDhoKfIhDvR/A67XxGpxkEE0deHBLNV5P8eNmGrj0nFP7bjFR4CWoEy4QY7x4PtjyOiR36RrvLBu0oyYx63kWxA92phDAcaFhXhIaakoSnPT1QreAoAIVTxPtrt6/HcmTBeh8Q6HZQqfHEAOyVJo4U6EIr4jMrj9v64fImN5vBGAsfZRdVdyJuvDW57ld25vTzLNCot3j3kud1d/wBoj8Nhq/ou0DXyaL/a3x/iZM9X4BD5uvpSGiP4/RUUnTb752mkwDU6nrpvAE700lZoKrPMwe0iXJCAQtYqCcBhPbx7UWmR1zW1XFMgWIMQvZYOHGd9WhXJqyVubFPR95ZWLYD0dqmxBcZovRhjgoSVsbzp5JcYE8TSaQ= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR03MB2803: X-MS-Office365-Filtering-Correlation-Id: e6cda7c7-9ab7-41ad-4886-08d4abce779f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BN6PR03MB2803; X-Microsoft-Exchange-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7JoYoFeeMhSHXvOBHWkfUUWqsTVB6k4Nb8F5odieWDI7FCdlig/XmGGsD547ZlV8tNCx3ycIUF41RLOP8DFXbAtwZlvAWWDD9O/cjYGozTi2pJ59KuNVM1F2jPxPdh+sV6jABGoD8TZgMdXUSuNaSIdYSxEOiYY9SSJ/xxLQ4yC+w1K38IO4aXBBC0AyWRtsXSh2N6SklQDLAfA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR03MB2803;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR03MB2803; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR03MB2803;4:Omk5gvsWnKOWxV4miQLLSI62rfR/RDVpBxVxzBkaMA?= =?us-ascii?Q?mrbqXoplJWmgm4j5RfZv9XcOHkOhGaUwW0rlm/eju4D0yF/Ky7tjCDItXMY7?= =?us-ascii?Q?WYUbH0rEnSmrCB68KtDWGZDJLvbtc/rQQlfebjQjZw3myZBR21BZnY5sRfTC?= =?us-ascii?Q?aHFyAgTM+QFH6DFlfWUG16tx4LJGTilIKZZC4z1/ccrle8rhcXem6ax7Nzow?= =?us-ascii?Q?iZKEdSXO0XewLx5QiFxt64OgUKIh2NdbXfEnCoaYRPNwOC2WU4llHc/v9+8V?= =?us-ascii?Q?HNeQZyblrzDBGV97svZByT/kF9y51+4tOmu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SG6oaLx1atfZw2CpUMuV6M+MtbV2Q==;24:kWRg3ZXmNlRvOlaCFLnOWbWqv+j+lvKoLLxY4Ezzw5r7MxlVMZbK9b84qLJD4wmm1JGIX2gG/f7s+z4HJfKirpSifAKhYp6PD1I5YVwwF1s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2803;7:n7hT4NAFKoNYFUt/gWikb0PXwJqtWd71xbzeaPbbPWpngMrEIoZRV4v7curh8l27oGs/dlGXD6Fs6vScrpU3O+8fu05ZWwEPtwDup56p8XYNsrizuOapU/tNb6xqtKJy4rurXtJeahSZznbRoMCq1FY3qIKWQRLhhm0BsT2D9McMRCKrsR122uFgU0WmSQsslsZx9mYeMD5azZRoN4NaoTTOuI/HDn7XHGO/O/Tuk3ZUZrD0VWHE8ifJu16QKlQM5HfC9KtpFZ/caD0QWxdxa9BRIbp0Nts51hLZZaqx+UiBH13VGqKAOw2JtLi4V6ldtyREaItX5utGKDr8FxN+FQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2017 04:51:02.1814 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2803 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2934 Lines: 76 On Tue, May 30, 2017 at 06:25:52PM +0200, Johan Hovold wrote: > In an attempt to work around a pinmux over-allocation issue in driver > core, commit dc5878abf49c ("usb: core: move root hub's device node > assignment after it is added to bus") moved the device-tree node > assignment until after the root hub had been registered. > > This not only makes the device-tree node unavailable to the usb driver > during probe, but also prevents the of_node from being linked to in > sysfs and causes a race with user-space for the (recently added) devspec > attribute. > > Use the new device_set_of_node_from_dev() helper to reuse the node of > the sysdev device, something which now prevents driver core from trying > to reclaim any pinctrl pins during probe. > > Fixes: dc5878abf49c ("usb: core: move root hub's device node assignment after it is added to bus") > Fixes: 51fa91475e43 ("usb/core: Added devspec sysfs entry for devices behind the usb hub") > Signed-off-by: Johan Hovold > --- > drivers/usb/core/hcd.c | 2 -- > drivers/usb/core/usb.c | 4 ++-- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c > index 5dea98358c05..2cff59e9c268 100644 > --- a/drivers/usb/core/hcd.c > +++ b/drivers/usb/core/hcd.c > @@ -1076,7 +1076,6 @@ static void usb_deregister_bus (struct usb_bus *bus) > static int register_root_hub(struct usb_hcd *hcd) > { > struct device *parent_dev = hcd->self.controller; > - struct device *sysdev = hcd->self.sysdev; > struct usb_device *usb_dev = hcd->self.root_hub; > const int devnum = 1; > int retval; > @@ -1123,7 +1122,6 @@ static int register_root_hub(struct usb_hcd *hcd) > /* Did the HC die before the root hub was registered? */ > if (HCD_DEAD(hcd)) > usb_hc_died (hcd); /* This time clean up */ > - usb_dev->dev.of_node = sysdev->of_node; > } > mutex_unlock(&usb_bus_idr_lock); > > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > index 62e1906bb2f3..17681d5638ac 100644 > --- a/drivers/usb/core/usb.c > +++ b/drivers/usb/core/usb.c > @@ -416,8 +416,7 @@ static void usb_release_dev(struct device *dev) > > usb_destroy_configuration(udev); > usb_release_bos_descriptor(udev); > - if (udev->parent) > - of_node_put(dev->of_node); > + of_node_put(dev->of_node); > usb_put_hcd(hcd); > kfree(udev->product); > kfree(udev->manufacturer); > @@ -616,6 +615,7 @@ struct usb_device *usb_alloc_dev(struct usb_device *parent, > dev->route = 0; > > dev->dev.parent = bus->controller; > + device_set_of_node_from_dev(&dev->dev, bus->sysdev); > dev_set_name(&dev->dev, "usb%d", bus->busnum); > root_hub = 1; > } else { > -- > 2.13.0 I am OK with it, but I suggest adding it for new rc1 since it is based on the 1st patch which is a bug-fix. If this one is really needed for stable tree in future, you can cherry-pick it. -- Best Regards, Peter Chen