Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379320

Re: [PATCH v7 1/2] drivers: base: add support for registering notifier about deferred probe

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH v7 1/2] drivers: base: add support for registering notifier about deferred probe
Date 2016-04-15 00:00 +0200
Message-ID <rnXsS-ux-13@gated-at.bofh.it> (permalink)
References (1 earlier) <rnprc-7F0-1@gated-at.bofh.it> <rntOa-2uP-15@gated-at.bofh.it> <rnK2B-6Al-3@gated-at.bofh.it> <rnWQa-aC-21@gated-at.bofh.it> <rnX9w-mF-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 14, 2016 at 10:33:22PM +0100, Russell King - ARM Linux wrote:
> The problem that's being addressed here is that there's no way at the
> moment to know when the drivers on a different bus (namely the platform
> bus) have probed and are providing the clock and power domain resources
> necessary to be able to read these identifying values.
> 
> I guess if you don't like a notifier, the other alternative is to
> setup a delayed workqueue and have the workqueue repeatedly attempt
> to register the devices until they all succeed.  That's not
> particularly nice, because we'd be wasting CPU cycles running
> that workqueue for no reason until all the devices get registered.

I like that idea, it handles the issue of this crazy hardware where it
belongs, in that bus subsystem :)

thanks,

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v7 1/2] drivers: base: add support for registering notifier  about deferred probe Marek Szyprowski <m.szyprowski@samsung.com> - 2016-04-13 11:40 +0200
  Re: [PATCH v7 1/2] drivers: base: add support for registering  notifier about deferred probe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-04-13 16:20 +0200
    Re: [PATCH v7 1/2] drivers: base: add support for registering notifier  about deferred probe Marek Szyprowski <m.szyprowski@samsung.com> - 2016-04-14 09:40 +0200
      Re: [PATCH v7 1/2] drivers: base: add support for registering  notifier about deferred probe Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-14 10:50 +0200
      Re: [PATCH v7 1/2] drivers: base: add support for registering  notifier about deferred probe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-04-14 23:20 +0200
        Re: [PATCH v7 1/2] drivers: base: add support for registering  notifier about deferred probe Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-04-14 23:40 +0200
          Re: [PATCH v7 1/2] drivers: base: add support for registering  notifier about deferred probe Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-04-15 00:00 +0200

csiph-web