mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] make my life easier ...
       [not found] <Pine.LNX.4.10.10010252040250.6326-100000@master.linux-ide.org>
@ 2000-10-26 20:04 ` Russell King
  0 siblings, 0 replies; 5+ messages in thread
From: Russell King @ 2000-10-26 20:04 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Stephen Rothwell, Linus Torvalds, linux-kernel, Alan Cox, Mark Lord

Andre Hedrick writes:
> APM signals ATA/IDE to goto sleep.
> IDE then records and buffers the setup of the host and device.
> IDE forces device and host to PIO 0 (imortant step, explain later)
> IDE issues spindown and sleep task-command.
> IDE returns to APM with success/failure.

Insert here... BIOS tries to hibernate to disk and finds the disk already
asleep.

> 	success, sets request_queue blocker flag (very critical)
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] make my life easier ...
  2000-11-01 11:04       ` Martin Mares
@ 2000-11-01 15:37         ` Andre Hedrick
  0 siblings, 0 replies; 5+ messages in thread
From: Andre Hedrick @ 2000-11-01 15:37 UTC (permalink / raw)
  To: Martin Mares
  Cc: Tom Rini, Stephen Rothwell, Linus Torvalds, linux-kernel,
	Alan Cox, Mark Lord

On Wed, 1 Nov 2000, Martin Mares wrote:

> Hello!
> 
> > Aside from all of the other comments that've been made, because the user might
> > have tweeked them at boot.  ie turn on UDMA.  If we just re-initalized on
> > wakeup, you loose this.
> 
> I've of course meant reinitialize with the user-supplied settings, just as we
> do during normal initialization/configuration of the driver.

No, we put it back in the mode it was in before APM wacked.
Yes, if we call the settings before APM wacks it 'user settings'.

Cheers,

Andre Hedrick
CTO Timpanogas Research Group
EVP Linux Development, TRG
Linux ATA Development

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] make my life easier ...
       [not found]     ` <20001025105900.A23985@opus.bloom.county>
@ 2000-11-01 11:04       ` Martin Mares
  2000-11-01 15:37         ` Andre Hedrick
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Mares @ 2000-11-01 11:04 UTC (permalink / raw)
  To: Tom Rini
  Cc: Andre Hedrick, Stephen Rothwell, Linus Torvalds, linux-kernel,
	Alan Cox, Mark Lord

Hello!

> Aside from all of the other comments that've been made, because the user might
> have tweeked them at boot.  ie turn on UDMA.  If we just re-initalized on
> wakeup, you loose this.

I've of course meant reinitialize with the user-supplied settings, just as we
do during normal initialization/configuration of the driver.

				Have a nice fortnight
-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"The computer is mightier than the pen, the sword, and usually, the programmer."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] make my life easier ...
       [not found] <Pine.LNX.4.10.10010260829150.2335-100000@penguin.transmeta.com>
  2000-10-26 17:07 ` Andre Hedrick
@ 2000-10-27  0:52 ` Alan Cox
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2000-10-27  0:52 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Stephen Rothwell, Andre Hedrick, linux-kernel, Alan Cox, Mark Lord

> certainly accept it), then why not just do the equivalent of a reset in
> the high-level IDE driver on coming back from sleep? Possibly together
> with forcing any other setup state we know about.

Because windows seems to drop the controller back to PIO mode 0 and the BIOS
knows about it. At least in the palmax case, although since 2.4test doesnt
boot on it as of pre9 I've not tried the 2.4 patches yet.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] make my life easier ...
       [not found] <Pine.LNX.4.10.10010260829150.2335-100000@penguin.transmeta.com>
@ 2000-10-26 17:07 ` Andre Hedrick
  2000-10-27  0:52 ` Alan Cox
  1 sibling, 0 replies; 5+ messages in thread
From: Andre Hedrick @ 2000-10-26 17:07 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Stephen Rothwell, linux-kernel, Alan Cox, Mark Lord


LT,

I can do it from user-space completely, but not today.
The tools are missing.
Also I have/will get my traces on my code in a day or so.

Cheers,

Andre Hedrick
The Linux ATA/IDE guy

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-11-01 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.10.10010252040250.6326-100000@master.linux-ide.org>
2000-10-26 20:04 ` [PATCH] make my life easier Russell King
     [not found] <Pine.LNX.4.10.10010260829150.2335-100000@penguin.transmeta.com>
2000-10-26 17:07 ` Andre Hedrick
2000-10-27  0:52 ` Alan Cox
     [not found] <200010250515.e9P5FJA01244@wattle.linuxcare.com.au>
     [not found] ` <Pine.LNX.4.10.10010242250160.3499-200000@master.linux-ide.org>
     [not found]   ` <20001025134252.A1024@albireo.ucw.cz>
     [not found]     ` <20001025105900.A23985@opus.bloom.county>
2000-11-01 11:04       ` Martin Mares
2000-11-01 15:37         ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®