On 20 November 2013 12:23, Pavel Machek <pavel@xxxxxx> wrote: > On Wed 2013-11-20 11:52:05, Ulf Hansson wrote: >> On 19 November 2013 16:35, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: >> > On Tue, 19 Nov 2013, Ulf Hansson wrote: >> > >> >> At the moment, system PM is already affecting behaviour of runtime PM >> >> since it is preventing runtime suspend during system suspend. >> > >> > Sure. And that behavior is documented. In any case, it's a bug for >> > drivers to depend on runtime suspend for carrying out a system suspend. >> >> Why do you say that? > > Because that's the way it is? > >> A significant amount of drivers should be able to cope with only the >> runtime PM callbacks, if only the PM core have respected the drivers >> in the way my RFC proposes. > > So what? It is not as additional callback is huge burden -- code is > the same -- and we do want option of disabling runtime PM. > > Don't make system suspend dependend on runtime PM. I get your point and for sure I respect it, even if don't agree. :-) Do note that, the intent with my RFC is also to simplify for drivers in general using runtime PM. No matter how you put it, the consequences of preventing runtime suspend during system suspend are causing confusions. Kind regards Ulf Hansson > > Pavel > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html