Re: [PATCH 2/2] ata_piix: fix suspend/resume for some TOSHIBA laptops

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

 



Alan Cox wrote:
A more generalized rule to consider for the future would be to ensure that ALL suspend routines put the hardware back into its pre-Linux init mode before suspending. i.e. that means if we turned on some enhanced mode, we must switch back to legacy mode before calling pci_xxx to suspend our device.

This sounds good but for some hardware you can't get it back into that
state and there is no guarantee some laptops don't have ACPI suspend
paths that "know" Windows will have reconfigured the hardware.

Good point. To generalize a bit more: it is quite possible that many situations will require us to put the hardware device into a certain mode before suspending, a mode that Linux may not currently be operating in. ata_piix is definitely not going to be the only one needing this change, long term.

	Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux