Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755098AbbBONQf (ORCPT ); Sun, 15 Feb 2015 08:16:35 -0500 Received: from mail-wg0-f41.google.com ([74.125.82.41]:63282 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754714AbbBONQe (ORCPT ); Sun, 15 Feb 2015 08:16:34 -0500 MIME-Version: 1.0 In-Reply-To: <54DD5CAF.9040006@mm-sol.com> References: <1423585882-5464-1-git-send-email-matwey@sai.msu.ru> <54DB0A52.4090907@mm-sol.com> <54DB1EAC.3060302@mm-sol.com> <54DD5CAF.9040006@mm-sol.com> From: "Matwey V. Kornilov" Date: Sun, 15 Feb 2015 17:16:12 +0400 X-Google-Sender-Auth: Wz3hd88aAKagoqu5cn1fCokxrbA Message-ID: Subject: Re: [PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register To: Stanimir Varbanov Cc: linux-kernel , Bjorn Helgaas , Greg Kroah-Hartman , Mohit KUMAR , "linux-pci@vger.kernel.org" , Viresh Kumar Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1387 Lines: 41 2015-02-13 5:08 GMT+03:00 Stanimir Varbanov : > Hi, > > On 02/12/2015 11:07 AM, Matwey V. Kornilov wrote: >> 2015-02-11 12:19 GMT+03:00 Stanimir Varbanov : >>> please don't top posting. >>> >>> On 02/11/2015 10:38 AM, Matwey V. Kornilov wrote:HI >>> >>>> It sounds reasonable, but does current implementation support deferring? >>> >>>thor >>> yes, it uses deferred probe see devm_phy_get() and devm_clk_get() calls in >>> .probe and how the returned values are checked. >>> >>>> Struct spear13xx_pcie_driver just dissapears from memory after init. >>> >>> >>> IMO this is expected because spear13xx_pcie_driver is annotated as >>> __initdata. >> >> The question was how deferred probe had been expected to work? When >> probe has been deferred at first attempt, then second attempt >> performed after init section, so proble() function must be available,at >> but it is not. Isn't it? >> > > That is questionable, maybe it works by chance?. Or maybe it doesn't work at all. -- With best regards, Matwey V. Kornilov. Sternberg Astronomical Institute, Lomonosov Moscow State University, Russia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/