Re: [PATCH] SCSI midlayer power management
From: Nigel Cunningham
Date: Thu Aug 12 2004 - 17:42:53 EST
Hi.
On Fri, 2004-08-13 at 05:34, James Bottomley wrote:
> Er, well this is a huge problem then. Even if DMA were stopped, the
> registers for all these locations need to be altered to change the
> location of the DMA mboxes. This isn't just a SCSI problem, it's a
> general device problem (most devices having mboxes programmed by
> register). If we can't rely on the resuming kernel setting up these
> registers for us to exactly what they were in the resume image, then
> we're in a bit of trouble.
>
> Architecturally what you are trying to do is to re POST the SCSI card.
> Except it's the kernel's job to POST it, so the kernel init code needs
> to be re-run. I assume that's what the pci suspend/resume calls are
> supposed to do?
I'm not pretending to understand the issues you're talking about, but I
do have a question that might possibly be helpful: Pages can be marked
with the Nosave flag, so that they're not saved in the image and not
overwritten when we copy the old kernel back. Would using Nosave help
here at all?
Nigel
--
Nigel Cunningham
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901
Many today claim to be tolerant. But true tolerance can cope with others
being intolerant.
-
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/