Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp454571ima; Fri, 15 Mar 2019 06:39:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqymHo+NZgnS++av7wDvcdUzoGLP3KNMsqbmovxP7PGQgXvWdotSTG01qAnqJfwYKF5HhQ4o X-Received: by 2002:a17:902:380c:: with SMTP id l12mr4315843plc.238.1552657194610; Fri, 15 Mar 2019 06:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552657194; cv=none; d=google.com; s=arc-20160816; b=1INlQ4mo5TtTDL5ddCxvbIQBXWGlslOB432J75+KdLHSoJS0Ly/DDXgWKnmqH/7X7z SnUPKOdFSzqzbSsVQfIhHBNs7ExZG0L0I7rIb9Tw3nOKpQcoROJc05xkcGAEute+ZKmJ c+JFm8CVeZd9WUhZIPc+Gqkci8Ehmpw06zTtg113iKoegnWz6HzmtyZsv4hRvau0Ipb3 iN8y+/qtuaX6R8BI3o8E2FD4KsL38S018hnZTc4trz49H8mozf4gijJCCAUOxb8lEP8q oFRMwrQaywBsD1H+tHRNlhsUD/CJI2Pjxk73T6DBCscdS7qZMIZnRw6e6vguquvn8mpG tPAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bR+eKCyJFZeis89XUCW9jYGf405HpaFMCVHmwZI6kws=; b=gecVPlsHscfjm6Tu8G1q0H2HsLQAb9Kgfvfh8GRessONZWjMOpAWA5+J1w0J12gFW8 iV7+hJo+q9GrRdn6zKwNZ1WJ/ISQbXoLxx/9i2nbeoxwJeZz18VOssx0Q/660LDL+H7i Dm9n5ajunN0wDzFPcPprSor/2tUuGRiJ4hcx4hr2xCbkUZwbfYWFIRGm+l1aI+AirgJu 7gc/4SCxf11p7bbgufY9kTHmGlW9gQjTVNGtMA0XAyBvO3YK4Poe2CvbtEIpEvJdZi0L hQW9oM9KCR90kWyU+TFk+1yEIDQvcCPKLwjivlUMgk1ikdQuM8KRNiRnW0blAevSTcMX SGmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=bGYfWOy4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si1913347pff.162.2019.03.15.06.39.39; Fri, 15 Mar 2019 06:39:54 -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=pass header.i=@nxp.com header.s=selector1 header.b=bGYfWOy4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728784AbfCONi4 (ORCPT + 99 others); Fri, 15 Mar 2019 09:38:56 -0400 Received: from mail-eopbgr70079.outbound.protection.outlook.com ([40.107.7.79]:44737 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727248AbfCONi4 (ORCPT ); Fri, 15 Mar 2019 09:38:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bR+eKCyJFZeis89XUCW9jYGf405HpaFMCVHmwZI6kws=; b=bGYfWOy4qdjWiDisokdL/ChS1WSxBS++Q4kVwC4atrByt3gxfhhb02uknXGmfC+m5tnzZD+TZ4Dq3ahJ2BJBOw3iXrX/f1DOSefiethWtwdG3WFJaCithI9qHppB0fv+QnRdlZENXUlDSRgL5loPHYMYS3gEp2kTgNScXrnzcm4= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.92.158) by AM0PR04MB4435.eurprd04.prod.outlook.com (52.135.150.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Fri, 15 Mar 2019 13:38:50 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79%2]) with mapi id 15.20.1709.011; Fri, 15 Mar 2019 13:38:50 +0000 From: Aisheng Dong To: Peng Fan , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , Anson Huang , "arnd@arndb.de" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: "van.freenix@gmail.com" Subject: RE: [PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate Thread-Topic: [PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate Thread-Index: AQHU2Xv1SFnRc4p0SkOOn59vTkEkO6YMepnAgAAsWECAAA3s4A== Date: Fri, 15 Mar 2019 13:38:49 +0000 Message-ID: References: <20190313091757.16410-1-peng.fan@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c2fefdfd-f949-4816-d2de-08d6a94b8ea3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4435; x-ms-traffictypediagnostic: AM0PR04MB4435: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 09778E995A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(366004)(39860400002)(376002)(346002)(199004)(189003)(966005)(4326008)(71190400001)(86362001)(4744005)(76176011)(6116002)(33656002)(3846002)(478600001)(7696005)(486006)(6436002)(102836004)(105586002)(106356001)(14454004)(476003)(2501003)(8676002)(74316002)(81156014)(305945005)(68736007)(7736002)(44832011)(81166006)(256004)(11346002)(2201001)(6246003)(8936002)(2906002)(71200400001)(5660300002)(53936002)(229853002)(6506007)(110136005)(99286004)(26005)(97736004)(9686003)(316002)(186003)(66066001)(55016002)(6306002)(446003)(14444005)(52536014)(25786009)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4435;H:AM0PR04MB4211.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: optquMhBTAAB6MYAhZsW33f4311PqrohmD9Z0qkQg5k6Zfe2L0AQ6CKuk0XXDnd0Hox5a+ckUhKpXV/QEJ0dZBYpk+Knvgt0cMg396bW6uoifYbqH/AnfhYopxSVUWlwLLYYi/0m6BNcrnFmJozv+gGoXeHcRrgKDY6r+4a3/H5ebqYL400XKEcWLpEgyHOmMDTe3B1hTPv9nR8niTVplRhK/dYxiw7i7uYV35QmilGlFkTpXG0eOHPOMGhcMmG3C7cYJKU/Xm9DibnPREmPieucm59n59WYfBNNiLk8cUCvEOpY27lbfJ1WrLpn04S/4K7WE35FEtQMSoXZxW9qX9UreZI7yfvc3vHYu+Zyco7cIXfUjJju4uex1TOsExGrIrV81hJ3y4zQBhl7xB573RNc/Sz1aW7gJRvMZZepFNI= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2fefdfd-f949-4816-d2de-08d6a94b8ea3 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2019 13:38:49.8995 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4435 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > > Originally devices are registered in arch_initcall. Now it will be a > > bit later in arch_initcall_sync and this may cause a bit risk if the > > code under the default_populate want to access the device service provi= ded > by early probe. > > > > Probably it's more safe to leave as it is unless you can double > > confirm there're no such code depends on accessing early probed > > devices as follows before we can make the change. >=20 > This has been boot tested on 6Q-SDB/6UL-EVK/6SL-EVK board. > For i.MX, I only see pinctrl driver use arch_initcall from the link, > https://elixir.bootlin.com/linux/latest/ident/arch_initcall >=20 > From my boot test, the pinctrl driver probe will be delayed a bit, but I = do not > see issues. >=20 From what I saw, imx6q_1588_init() and imx6q_axi_init() will use syscon whi= ch is registered with postcore_initcall. Without having syscon devices populated, I wonder those calls may fall. Can you double check it? Regards Dong Aisheng