android_kernel_xiaomi_sm8350/include/scsi
Maciej W. Rozycki 522939d45c esp_scsi: fix reset cleanup spinlock recursion
The esp_reset_cleanup() function is called with the host lock held and
invokes starget_for_each_device() which wants to take it too.  Here is a
fix along the lines of shost_for_each_device()/__shost_for_each_device()
adding a __starget_for_each_device() counterpart which assumes the lock
has already been taken.

Eventually, I think the driver should get modified so that more work is
done as a softirq rather than in the interrupt context, but for now it
fixes a bug that causes the spinlock debugger to fire.

While at it, it fixes a small number of cosmetic problems with
starget_for_each_device() too.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-10 19:43:55 -08:00
..
iscsi_if.h
iscsi_proto.h
libiscsi.h
libsas.h cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
libsrp.h
sas_ata.h
sas.h
scsi_cmnd.h remove sglist_len 2007-10-16 11:24:44 +02:00
scsi_dbg.h [SCSI] Fix device not ready printk 2007-10-12 14:51:56 -04:00
scsi_device.h esp_scsi: fix reset cleanup spinlock recursion 2007-12-10 19:43:55 -08:00
scsi_devinfo.h
scsi_driver.h [SCSI] Get rid of scsi_cmnd->done 2007-10-12 14:52:46 -04:00
scsi_eh.h [SCSI] include linux/scatterlist.h in scsi_eh.h 2007-10-17 21:53:56 -04:00
scsi_host.h [SCSI] add use_sg_chaining option to scsi_host_template 2007-10-16 11:24:32 +02:00
scsi_ioctl.h
scsi_netlink_fc.h
scsi_netlink.h
scsi_tcq.h
scsi_tgt_if.h
scsi_tgt.h
scsi_transport_fc.h
scsi_transport_iscsi.h [SCSI] scsi_transport_iscsi: add list, mutex includes 2007-10-12 14:54:38 -04:00
scsi_transport_sas.h
scsi_transport_spi.h
scsi_transport_srp.h
scsi_transport.h
scsi.h SCSI: support for allocating large scatterlists 2007-10-16 11:12:53 +02:00
scsicam.h
sd.h [SCSI] Get rid of scsi_cmnd->done 2007-10-12 14:52:46 -04:00
sg.h
srp.h