kernel-ark/drivers/scsi
Tejun Heo 500530f652 [PATCH] libata: reimplement controller-wide PM
Reimplement controller-wide PM.  ata_host_set_suspend/resume() are
defined to suspend and resume a host_set.  While suspended, EHs for
all ports in the host_set are pegged using ATA_FLAG_SUSPENDED and
frozen.

Because SCSI device hotplug is done asynchronously against the rest of
libata EH and the same mutex is used when adding new device, suspend
cannot wait for hotplug to complete.  So, if SCSI device hotplug is in
progress, suspend fails with -EBUSY.

In most cases, host_set resume is followed by device resume.  As each
resume operation requires a reset, a single host_set-wide resume
operation may result in multiple resets.  To avoid this, resume waits
upto 1 second giving PM to request resume for devices.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-07-05 22:16:28 -04:00
..
aacraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
aic7xxx Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
aic7xxx_old Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
arm [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibmvscsi
lpfc Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
megaraid Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
pcmcia Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla2xxx Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sym53c8xx_2 [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
.gitignore
3w-9xxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-9xxx.h
3w-xxxx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
3w-xxxx.h
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
53c700.h [SCSI] 53c700: fix breakage caused by the autosense update 2006-06-29 13:15:15 -04:00
53c700.scr
a100u2w.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a100u2w.h
a2091.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a2091.h
a3000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
a3000.h
advansys.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
advansys.h
aha152x.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
aha152x.h
aha1542.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
aha1542.h
aha1740.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
aha1740.h
ahci.c [PATCH] libata: add ap->pflags and move core dynamic flags to it 2006-07-05 21:51:42 -04:00
aic7xxx_old.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
amiga7xx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
amiga7xx.h
ata_piix.c
atari_dma_emul.c
atari_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atari_scsi.h
atp870u.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
atp870u.h
blz1230.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
blz2060.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
BusLogic.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
BusLogic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bvme6000.c
bvme6000.h
ch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
constants.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cyberstorm.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
cyberstormII.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dc395x.h
dec_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dmx3191d.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpt_i2o.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dpti.h
dtc.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
dtc.h
eata_generic.h
eata_pio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
eata_pio.h
eata.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
esp.h
fastlane.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fcal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fcal.h
fd_mcs.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
fdomain.h
FlashPoint.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
g_NCR5380_mmio.c
g_NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
g_NCR5380.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gdth.h
gvp11.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
gvp11.h
hosts.c
hosts.h
hptiop.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
hptiop.h
ibmmca.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ibmmca.h
ide-scsi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
imm.h
in2000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
in2000.h
initio.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
initio.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ipr.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ipr.h
ips.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ips.h
iscsi_tcp.c [SCSI] iscsi: convert iscsi_tcp to new set/get param fns 2006-06-29 11:07:54 -04:00
iscsi_tcp.h
jazz_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
Kconfig
lasi700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-bmdma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
libata-core.c [PATCH] libata: reimplement controller-wide PM 2006-07-05 22:16:28 -04:00
libata-eh.c [PATCH] libata: reimplement controller-wide PM 2006-07-05 22:16:28 -04:00
libata-scsi.c [PATCH] libata: reimplement per-dev PM 2006-07-05 22:16:28 -04:00
libata.h
libiscsi.c [SCSI] iscsi: pass target nr to session creation 2006-06-29 11:09:06 -04:00
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile
mca_53c9x.c
megaraid.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
megaraid.h
mesh.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c
ncr53c8xx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53c406a.c
NCR53C9x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR53C9x.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
NCR5380.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR5380.h
NCR_D700.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_D700.h
NCR_Q720.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
nsp32.h
oktagon_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
oktagon_io.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
osst_detect.h
osst_options.h
osst.c
osst.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pas16.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pas16.h
pci2000.h
pdc_adma.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
pluto.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pluto.h
ppa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppa.h
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti_asm.c
qlogicpti.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
qlogicpti.h
raid_class.c
sata_mv.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_nv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_promise.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_promise.h
sata_qstor.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sil24.c [PATCH] libata: clean up debounce parameters and improve parameter selection 2006-07-05 22:16:27 -04:00
sata_sil.c [PATCH] libata: add ap->pflags and move core dynamic flags to it 2006-07-05 21:51:42 -04:00
sata_sis.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_svw.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_sx4.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_uli.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sata_via.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sata_vsc.c [PATCH] sata_vsc: data_xfer should use mmio 2006-07-05 21:44:45 -04:00
script_asm.pl
scsi_debug.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_debug.h
scsi_devinfo.c
scsi_error.c
scsi_ioctl.c
scsi_lib.c [SCSI] fix error handling in scsi_io_completion 2006-07-02 11:17:19 -05:00
scsi_logging.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_module.c
scsi_priv.h Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
scsi_sysctl.c
scsi_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_iscsi.c [SCSI] iscsi: add async notification of session events 2006-06-29 11:14:42 -04:00
scsi_transport_sas.c
scsi_transport_spi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scsi_typedefs.h
scsi.c
scsi.h
scsicam.c
sd.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
seagate.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
seagate.h
sg.c Merge ../scsi-misc-2.6 2006-07-03 09:41:12 -05:00
sgiwd93.c
sim710.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sr_ioctl.c
sr_vendor.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sr.c
sr.h
st_options.h
st.c [SCSI] st: remove unused st_buffer.in_use 2006-06-29 11:06:30 -04:00
st.h [SCSI] st: remove unused st_buffer.in_use 2006-06-29 11:06:30 -04:00
sun3_NCR5380.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
sym53c416.c
sym53c416.h
t128.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
t128.h
tmscsim.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
tmscsim.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
u14-34f.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
ultrastor.c
ultrastor.h
wd33c93.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd33c93.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wd7000.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
zalon.c [PATCH] irq-flags: scsi: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00