lkml.org 
[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SCSI midlayer power management
Hi!

> >swsusp will then resume disk and write the image, that should not be
> >a
> >problem. Is it guaranteed that after generic_scsi_suspend() no DMA is
> >going on?
> >
> >
> No. Remember that DMA works differently under SCSI than it does under
> IDE. SCSI DMA is a host controller feature, whereas under IDE it is
> enabled/disabled at the drive level and the drives have special
> knowledge of DMA. Since generic_scsi_suspend() is the device level
> suspend routine, it is called before the host controller's suspend
> routine, (due to depth first traversal of device tree), which is
> responsible for disabling the PCI slot. Only after the host
> controller is suspended will there be no DMA, but if your real
> question is "can I generically control a SCSI disk with PIO for
> software suspend" then the answer is NO. For purposes of not

No, I do not need PIO. I'll probably need host
controller support, too, but even w/o it it should
work acceptably. Thanks for the answers.
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

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

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.097 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site