RE: the patch of restore-pci-config-space-on-resume break S1 onASUS2400 NE

From: Yu, Luming
Date: Mon Dec 27 2004 - 23:02:25 EST


the idea in post
http://sourceforge.net/mailarchive/message.php?msg_id=9091508
cure S1 resume hang for my ASUS2400NE.

I guess Len will accept it.

Does it imply IDE DMA could be started too early in the original resume code?

Thanks,
Luming

-----Original Message-----
From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx]
Sent: 2004年12月27日 21:45
To: Yu, Luming
Cc: Arjan van de Ven; Pavel Machek; Brown, Len; Li, Shaohua; Pallipadi, Venkatesh; Linux Kernel Mailing List; acpi-devel@xxxxxxxxxxxxxxxxxxxxx; Fu, Michael
Subject: RE: the patch of restore-pci-config-space-on-resume break S1 onASUS2400 NE

On Llu, 2004-12-27 at 10:14, Yu, Luming wrote:
> Actually, the kernel (after removing restore-pci-config-space-on-resume patch) with option "ide=nodma"
> can work with S1 suspend/resume without any hang so far.
> So my suggestion for IDE driver is to disable DMA before entering S1, and enable
> DMA after resuming from S1 if DMA was enabled. I need help from IDE guys to confirm it.

The IDE layer has no problem doing this, although it raises interesting
questions about why it would be neccessary.

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