Re: Re: [PATCH] PM: Acquire device locks on suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rafael J. Wysocki wrote:

>> I don't see anything wrong with it.  All that will happen is that the
>> removal will start before the suspend and finish after the resume.
>
> In that case, we'll attempt to call the device's .suspend() and .resume()
> routines, but we shouldn't do that, IMHO.

I don't see anything wrong with that since the driver must be prepared to
handle that even in the regular case, it's the only thing you can
guarantee: no more method calls after removal finishes. Am I totally
misunderstanding things?

johannes
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux