Re: [ 00/10] [Suspend2] Modules support.

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

 



Bartlomiej Zolnierkiewicz <[email protected]> wrote:

> This is untrue as Linux has support for setting IDE controller
> and drives.  It was added by Benjamin Herrenschmidt in late
> 2.5.x or early 2.6.x (I don't remember exact kernel version).

In generic_ide_resume, rqpm.pm_step gets set to
ide_pm_state_start_resume and ide_do_drive_cmd gets called. This ends up
being passed through to start_request. start_request waits for the BSY
bit to go away. On the affected hardware I've seen, this never happens
unless the ACPI calls are made. As far as I can tell, there's nothing in
the current driver code that does anything to make sure that the bus is
in a state to accept commands at this point - the pci drivers don't (for
the most part) seem to have any resume methods. Calling the ACPI _STM
method before attempting to do this magically makes everything work.
-- 
Matthew Garrett | [email protected]
-
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