<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/scsi, branch mybooklive</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/scsi?h=mybooklive</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/scsi?h=mybooklive'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-08-13T23:32:56Z</updated>
<entry>
<title>gpl-source-mybooklive-02.10.09-124.zip</title>
<updated>2014-08-13T23:32:56Z</updated>
<author>
<name>David Barksdale</name>
<email>amatus@amatus.name</email>
</author>
<published>2014-08-13T23:32:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cddfc3baae08e24185c7716434452ebbd404cd39'/>
<id>urn:sha1:cddfc3baae08e24185c7716434452ebbd404cd39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SCSI: scsi_transport_fc: Fix synchronization issue while deleting vport</title>
<updated>2010-04-01T22:58:28Z</updated>
<author>
<name>Gal Rosen</name>
<email>galr@storwize.com</email>
</author>
<published>2010-01-21T08:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=81bcb4936047e401417726fa8c55c9ead312d5f3'/>
<id>urn:sha1:81bcb4936047e401417726fa8c55c9ead312d5f3</id>
<content type='text'>
commit 0d9dc7c8b9b7fa0f53647423b41056ee1beed735 upstream.

The issue occur while deleting 60 virtual ports through the sys
interface /sys/class/fc_vports/vport-X/vport_delete. It happen while in
a mistake each request sent twice for the same vport. This interface is
asynchronous, entering the delete request into a work queue, allowing
more than one request to enter to the delete work queue. The result is a
NULL pointer. The first request already delete the vport, while the
second request got a pointer to the vport before the device destroyed.
Re-create vport later cause system freeze.

Solution: Check vport flags before entering the request to the work queue.

[jejb: fixed int&lt;-&gt;long problem on spinlock flags variable]
Signed-off-by: Gal Rosen &lt;galr@storwize.com&gt;
Acked-by: James Smart &lt;james.smart@emulex.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>mvsas: add support for Adaptec ASC-1045/1405 SAS/SATA HBA</title>
<updated>2010-04-01T22:58:15Z</updated>
<author>
<name>Srinivas</name>
<email>satyasrinivasp@hcl.in</email>
</author>
<published>2009-11-24T14:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f9404808f47e0ed18f68fc5957acec2022572820'/>
<id>urn:sha1:f9404808f47e0ed18f68fc5957acec2022572820</id>
<content type='text'>
commit 7ec4ad0125db0222e397508c190b01c8f2b5f7cd upstream.

This is support for Adaptec ASC-1045/1405 SAS/SATA HBA on mvsas, which
is based on Marvell 88SE6440 chipset.

Signed-off-by: Srinivas &lt;satyasrinivasp@hcl.in&gt;
Cc: Andy Yan &lt;ayan@marvell.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Cc: Thomas Voegtle &lt;tv@lio96.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers/scsi/ses.c: eliminate double free</title>
<updated>2010-04-01T22:58:02Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2010-03-10T23:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b4c8997c1f1ba84bee4c916b9107e308366f1cf4'/>
<id>urn:sha1:b4c8997c1f1ba84bee4c916b9107e308366f1cf4</id>
<content type='text'>
commit 9b3a6549b2602ca30f58715a0071e29f9898cae9 upstream.

The few lines below the kfree of hdr_buf may go to the label err_free
which will also free hdr_buf.  The most straightforward solution seems to
be to just move the kfree of hdr_buf after these gotos.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r@
identifier E;
expression E1;
iterator I;
statement S;
@@

*kfree(E);
... when != E = E1
    when != I(E,...) S
    when != &amp;E
*kfree(E);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Cc: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SCSI: qla1280: Drop host_lock while requesting firmware</title>
<updated>2010-03-15T15:49:44Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2010-01-23T18:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d236c04008335d029a518b3faab6e3841fc6e050'/>
<id>urn:sha1:d236c04008335d029a518b3faab6e3841fc6e050</id>
<content type='text'>
commit 2cec802980727f1daa46d8c31b411e083d49d7a2 upstream.

request_firmware() may sleep and it appears to be safe to release the
spinlock here.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SCSI: qla2xxx: Obtain proper host structure during response-queue processing.</title>
<updated>2010-03-15T15:49:40Z</updated>
<author>
<name>Anirban Chakraborty</name>
<email>anirban.chakraborty@qlogic.com</email>
</author>
<published>2010-02-04T22:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=154d9b4d57283cb6e6d446445fef805525f613ea'/>
<id>urn:sha1:154d9b4d57283cb6e6d446445fef805525f613ea</id>
<content type='text'>
commit a67093d46e3caed1a42d694a7de452b61db30562 upstream.

Original code incorrectly assumed only status-type-0
IOCBs would be queued to the response-queue, and thus all
entries would safely reference a VHA from the IOCB
'handle.'

Signed-off-by: Giridhar Malavali &lt;giridhar.malavali@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>mpt2sas: Delete volume before HBA detach.</title>
<updated>2010-03-15T15:49:36Z</updated>
<author>
<name>Kashyap, Desai</name>
<email>kashyap.desai@lsi.com</email>
</author>
<published>2009-12-16T13:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c0f2aedfa71f7f48c780b11eef1322ff4b9d40f'/>
<id>urn:sha1:7c0f2aedfa71f7f48c780b11eef1322ff4b9d40f</id>
<content type='text'>
commit d7384b28afb2bf2b7be835ddc8c852bdc5e0ce1c upstream.

The driver hangs when doing `rmmod mpt2sas` if there are any
IR volumes present.The hang is due the scsi midlayer trying to access the
IR volumes after the driver releases controller resources.  Perhaps when
scsi_remove_host is called,the scsi mid layer is sending some request.
This doesn't occur for bare drives becuase the driver is already reporting
those drives deleted prior to calling mpt2sas_base_detach.
To solve this issue, we need to delete the volumes as well.

Signed-off-by: Kashyap Desai &lt;kashyap.desai@lsi.com&gt;
Reviewed-by: Eric Moore &lt;eric.moore@lsi.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ARM: 5944/1: scsi: fix timer setup in fas216.c</title>
<updated>2010-03-15T15:49:32Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
<email>g.liakhovetski@gmx.de</email>
</author>
<published>2010-02-18T17:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=487d83f91be42bef0cc65e60532da721dd832a2f'/>
<id>urn:sha1:487d83f91be42bef0cc65e60532da721dd832a2f</id>
<content type='text'>
commit b857df1acc634b18db1db2a40864af985100266e upstream.

mod_timer() takes an absolute time and not a delay as its argument.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>scsi_lib: Fix bug in completion of bidi commands</title>
<updated>2010-02-09T12:50:41Z</updated>
<author>
<name>Boaz Harrosh</name>
<email>bharrosh@panasas.com</email>
</author>
<published>2009-12-15T15:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e15fca01ba2678b5db6c29b79d142d73272cfb7b'/>
<id>urn:sha1:e15fca01ba2678b5db6c29b79d142d73272cfb7b</id>
<content type='text'>
commit 63c43b0ec1765b74c734d465ba6345ef4f434df8 upstream.

Because of the terrible structuring of scsi-bidi-commands
it breaks some of the life time rules of a scsi-command.
It is now not allowed to free up the block-request before
cleanup and partial deallocation of the scsi-command. (Which
is not so for none bidi commands)

The right fix to this problem would be to make bidi command
a first citizen by allocating a scsi_sdb pointer at scsi command
just like cmd-&gt;prot_sdb. The bidi sdb should be allocated/deallocated
as part of the get/put_command (Again like the prot_sdb) and the
current decoupling of scsi_cmnd and blk-request should be kept.

For now make sure scsi_release_buffers() is called before the
call to blk_end_request_all() which might cause the suicide of
the block requests. At best the leak of bidi buffers, at worse
a crash, as there is a race between the existence of the bidi_request
and the free of the associated bidi_sdb.

The reason this was never hit before is because only OSD has the potential
of doing asynchronous bidi commands. (So does bsg but it is never used)
And OSD clients just happen to do all their bidi commands synchronously, up
until recently.

Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>fcoe: Fix getting san mac for VLAN interface</title>
<updated>2010-01-28T23:01:42Z</updated>
<author>
<name>Yi Zou</name>
<email>yi.zou@intel.com</email>
</author>
<published>2009-11-03T19:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c0798e2892bd16487e19ac87300013e3f7ec9e6'/>
<id>urn:sha1:7c0798e2892bd16487e19ac87300013e3f7ec9e6</id>
<content type='text'>
commit 5bab87e6d465d54a2b5899e0f583d42f00dbee2e upstream.

Make sure we are get the SAN MAC address from the real netdev if the input
netdev is a VLAN device.

Signed-off-by: Yi Zou &lt;yi.zou@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
