<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/scsi, branch linux-2.6.26.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.26.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.26.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2008-11-10T19:17:53Z</updated>
<entry>
<title>SCSI: qla2xxx: Skip FDMI registration on ISP21xx/22xx parts.</title>
<updated>2008-11-10T19:17:53Z</updated>
<author>
<name>Andrew Vasquez</name>
<email>andrew.vasquez@qlogic.com</email>
</author>
<published>2008-10-21T18:25:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=20246fe8e4ea34f2ab556b7c50037b976051cab7'/>
<id>urn:sha1:20246fe8e4ea34f2ab556b7c50037b976051cab7</id>
<content type='text'>
commit 031e134e5f95233d80fb1b62fdaf5e1be587597c upstream

Firmware does not have the facilities to issue management server
IOCBs.

Signed-off-by: Andrew Vasquez &lt;andrew.vasquez@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Cc: Ferenc Wagner &lt;wferi@niif.hu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SCSI: qla2xxx: Defer enablement of RISC interrupts until ISP initialization completes.</title>
<updated>2008-10-09T03:22:51Z</updated>
<author>
<name>Andrew Vasquez</name>
<email>andrew.vasquez@qlogic.com</email>
</author>
<published>2008-09-29T15:15:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=61c8bd1d3a9e7e57843d98d9b133fec77ecf4e1b'/>
<id>urn:sha1:61c8bd1d3a9e7e57843d98d9b133fec77ecf4e1b</id>
<content type='text'>
commit 048feec5548c0582ee96148c61b87cccbcb5f9be upstream

Josip Rodin noted
(http://article.gmane.org/gmane.linux.ports.sparc/10152) the
driver oopsing during registration of an rport to the
FC-transport layer with a backtrace indicating a dereferencing of
an shost-&gt;shost_data equal to NULL.  David Miller identified a
small window in driver logic where this could happen:

    &gt; Look at how the driver registers the IRQ handler before the host has
    &gt; been registered with the SCSI layer.
    &gt;
    &gt; That leads to a window of time where the shost hasn't been setup
    &gt; fully, yet ISRs can come in and trigger DPC thread events, such as
    &gt; loop resyncs, which expect the transport area to be setup.
    &gt;
    &gt; But it won't be setup, because scsi_add_host() hasn't finished yet.
    &gt;
    &gt; Note that in Josip's crash log, we don't even see the
    &gt;
    &gt;         qla_printk(KERN_INFO, ha, "\n"
    &gt;             " QLogic Fibre Channel HBA Driver: %s\n"
    &gt;             "  QLogic %s - %s\n"
    &gt;             "  ISP%04X: %s @ %s hdma%c, host#=%ld, fw=%s\n",
    &gt;  ...
    &gt;
    &gt; message yet.
    &gt;
    &gt; Which means that the crash occurs between qla2x00_request_irqs()
    &gt; and printing that message.

Close this window by enabling RISC interrupts after the host has
been registered with the SCSI midlayer.

Reported-by: Josip Rodin &lt;joy@entuzijast.net&gt;
Signed-off-by: Andrew Vasquez &lt;andrew.vasquez@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>qla2xxx: Set an rport's dev_loss_tmo value in a consistent manner.</title>
<updated>2008-08-20T18:05:13Z</updated>
<author>
<name>Andrew Vasquez</name>
<email>andrew.vasquez@qlogic.com</email>
</author>
<published>2008-08-14T16:39:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ac2ef12020817c8e8edb7b4fe57f053c62cc833e'/>
<id>urn:sha1:ac2ef12020817c8e8edb7b4fe57f053c62cc833e</id>
<content type='text'>
[ Upstream commit 85821c906cf3563a00a3d98fa380a2581a7a5ff1 ]

As there's no point in adding a fixed-fudge value (originally 5
seconds), honor the user settings only.  We also remove the
driver's dead-callback get_rport_dev_loss_tmo function
(qla2x00_get_rport_loss_tmo()).

Signed-off-by: Andrew Vasquez &lt;andrew.vasquez@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>qla2xxx: Add dev_loss_tmo_callbk/terminate_rport_io callback support.</title>
<updated>2008-08-20T18:05:13Z</updated>
<author>
<name>Seokmann Ju</name>
<email>seokmann.ju@qlogic.com</email>
</author>
<published>2008-08-14T16:37:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=34b8cfcf1a9e12bbc1ede3165171fe7107594ba5'/>
<id>urn:sha1:34b8cfcf1a9e12bbc1ede3165171fe7107594ba5</id>
<content type='text'>
[ Upstream commit 5f3a9a207f1fccde476dd31b4c63ead2967d934f ]

Signed-off-by: Seokmann Ju &lt;seokmann.ju@qlogic.com&gt;
Signed-off-by: Andrew Vasquez &lt;andrew.vasquez@qlogic.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SCSI: hptiop: add more PCI device IDs</title>
<updated>2008-08-20T18:04:59Z</updated>
<author>
<name>HighPoint Linux Team</name>
<email>linux@highpoint-tech.com</email>
</author>
<published>2008-08-05T00:30:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cdc884a8da08b6007154b32a7878cd7fba1cf033'/>
<id>urn:sha1:cdc884a8da08b6007154b32a7878cd7fba1cf033</id>
<content type='text'>
commit dd07428b44944b42f699408fe31af47977f1e733 upstream

Add PCI device ID for new adapter models.

Signed-off-by: HighPoint Linux Team &lt;linux@highpoint-tech.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>SCSI: scsi_transport_spi: fix oops in revalidate</title>
<updated>2008-08-20T18:04:58Z</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@HansenPartnership.com</email>
</author>
<published>2008-08-05T00:30:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e957c8b154298a5a4869a50915fa65f6dab73f9b'/>
<id>urn:sha1:e957c8b154298a5a4869a50915fa65f6dab73f9b</id>
<content type='text'>
commit e8bac9e0647dd04c83fd0bfe7cdfe2f6dfb100d0 upstream

The class_device-&gt;device conversion is causing an oops in revalidate
because it's assuming that the device_for_each_child iterator will only
return struct scsi_device children.  The conversion made all former
class_devices children of the device as well, so this assumption is
broken.  Fix it.

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

</content>
</entry>
<entry>
<title>SCSI: ses: fix VPD inquiry overrun</title>
<updated>2008-08-20T18:04:58Z</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@HansenPartnership.com</email>
</author>
<published>2008-08-05T00:30:05Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e563ea630d215ccb1103226c09efa35c3c4aebb7'/>
<id>urn:sha1:e563ea630d215ccb1103226c09efa35c3c4aebb7</id>
<content type='text'>
commit 671a99c8eb2f1dde08ac5538d8cd912047c61ddf upstream

There are a few kerneloops.org reports like this one:

http://www.kerneloops.org/search.php?search=ses_match_to_enclosure

That seem to imply we're running off the end of the VPD inquiry data
(although at 512 bytes, it should be long enough for just about
anything).  we should be using correctly sized buffers anyway, so put
those in and hope this oops goes away.

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

</content>
</entry>
<entry>
<title>SCSI: ch: fix ch_remove oops</title>
<updated>2008-08-06T16:03:15Z</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2008-07-26T14:25:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=113234da26d95d7de78c78c64aad94a211775736'/>
<id>urn:sha1:113234da26d95d7de78c78c64aad94a211775736</id>
<content type='text'>
commit 3d164fb09bb5cb8a223eddf634fc0d355714fcfe upstream.

The following commit causes ch_remove oops:

commit 24b42566c3fcbb5a9011d1446783d0f5844ccd45
Author: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Date:   Fri May 16 17:55:12 2008 -0700

    SCSI: fix race in device_create

    There is a race from when a device is created with device_create() and
    then the drvdata is set with a call to dev_set_drvdata() in which a
    sysfs file could be open, yet the drvdata will be NULL, causing all
    sorts of bad things to happen.

    This patch fixes the problem by using the new function,
    device_create_drvdata().  It fixes the problem in all of the scsi
    drivers that need it.

    Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
    Cc: Doug Gilbert &lt;dgilbert@interlog.com&gt;
    Cc: James E.J. Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
    Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

The problem is ch_probe stores ch's private data at a wrong place.

We need to store it at scsi_device-&gt;sdev_gendev but the above patch
stores it at device struct that device_create_drvdata returns. So we
hit an oops when ch_remove accesses
scsi_device-&gt;sdev_gendev-&gt;driver_data, which is NULL.

Actually, there wasn't a race because ch doesn't create sysfs files
with device struct that device_create returns. This patch puts back
dev_set_drvdata() to set ch's private data properly.

Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[SCSI] ipr: Fix HDIO_GET_IDENTITY oops for SATA devices</title>
<updated>2008-07-11T18:45:48Z</updated>
<author>
<name>Brian King</name>
<email>brking@linux.vnet.ibm.com</email>
</author>
<published>2008-07-11T18:37:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0ce3a7e5bd305e96c924fab1e3126480c665f017'/>
<id>urn:sha1:0ce3a7e5bd305e96c924fab1e3126480c665f017</id>
<content type='text'>
Currently, ipr does not support HDIO_GET_IDENTITY to SATA devices.
An oops occurs if userspace attempts to send the command. Since hald
issues the command, ensure we fail the ioctl in ipr. This is a
temporary solution to the oops. Once the ipr libata EH conversion
is upstream, ipr will fully support HDIO_GET_IDENTITY.

Tested-by: Milton Miller &lt;miltonm@bga.com&gt;
Signed-off-by: Brian King &lt;brking@linux.vnet.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] erase invalid data returned by device</title>
<updated>2008-07-06T16:33:08Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2008-06-24T18:03:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bdb2b8cab4392ce41ddfbd6773a3da3334daf836'/>
<id>urn:sha1:bdb2b8cab4392ce41ddfbd6773a3da3334daf836</id>
<content type='text'>
This patch (as1108) fixes a problem that can occur with certain USB
mass-storage devices: They return invalid data together with a residue
indicating that the data should be ignored.  Rather than leave the
invalid data in a transfer buffer, where it can get misinterpreted,
the patch clears the invalid portion of the buffer.

This solves a problem (wrong write-protect setting detected) reported
by Maciej Rutecki and Peter Teoh.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Peter Teoh &lt;htmldeveloper@gmail.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
</feed>
