RE: [RFC]add ACPI hooks for IDE suspend/resume

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

 



Hi,
>
>On Wed, Dec 07, 2005 at 11:43:23PM +0100, Pavel Machek wrote:
>
>> If someone swapped the drive while runtime, it would not be true,
too,
>> I guess. But that would be stupid thing to do. Swapping drive during
>> suspend-to-RAM would be similary stupid. During suspend-to-disk, it
>> might theoretically work, but we have big warnings saying "don't do
>> that".
>
>ACPI systems tend to fire ACPI notifications when a drive is ejected
>(and sometimes when you're preparing to eject them, depending on the
>system), which ought to make hotswap possible. I'm looking at
>integrating support for that into libata right now.
If the system supports S3/S4 hotswap, the corresponding ACPI resume
method
(_WAK in this case) will notify the hotswaped devices, so if the driver
can
handle the event, there is no problem for hotswap in suspend/resume.

Thanks,
Shaohua
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux