Re: Removing sysdevs?

Benjamin Herrenschmidt
2008-07-02T22:18:35Z

On Wed, 2008-07-02 at 23:57 +0200, Andi Kleen wrote:
> > The plan is:
> > - remaining driver core cleanups to allow for multiple drivers
> > to be bound to individual devices
> > - add multiple binding support to the core
> > - migrate existing sysdevs to struct device, now that multiple
> > binding is allowed
> > - delete sysdev structure
> > - profit!
>
> I hope the sysdev semantics of running with interrupts etc. will be kept?

What "running with interrupts" ? :-) Are you talking specifically about
suspend/resume ? In this case, normal devices also provide irq_off
variants of suspend/resume.

In some areas, those semantics are even a problem for sysdevs. For
example, it's been a pain in the neck for cpufreq on powermac not to be
able to schedule in its suspend routine. Among others...

Cheers,
Ben.