<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/hpsa.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-08-25T08:53:00Z</updated>
<entry>
<title>scsi: hpsa: correct scsi command status issue after reset</title>
<updated>2019-08-25T08:53:00Z</updated>
<author>
<name>Don Brace</name>
</author>
<published>2019-07-24T22:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef4eab831650fc3e82385b3f09ac8047fbef1532'/>
<id>urn:sha1:ef4eab831650fc3e82385b3f09ac8047fbef1532</id>
<content type='text'>
[ Upstream commit eeebce1862970653cdf5c01e98bc669edd8f529a ]

Reviewed-by: Bader Ali - Saleh &lt;bader.alisaleh@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Scott Benesh &lt;scott.benesh@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>scsi: hpsa: correct ioaccel2 chaining</title>
<updated>2019-07-10T07:56:41Z</updated>
<author>
<name>Don Brace</name>
</author>
<published>2019-06-03T21:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3e8f6bc2f41fe3192064fbfe42600d0e728b9e8'/>
<id>urn:sha1:b3e8f6bc2f41fe3192064fbfe42600d0e728b9e8</id>
<content type='text'>
[ Upstream commit 625d7d3518875c4d303c652a198feaa13d9f52d9 ]

- set ioaccel2_sg_element member 'chain_indicator' to IOACCEL2_LAST_SG for
  the last s/g element.

- set ioaccel2_sg_element member 'chain_indicator' to IOACCEL2_CHAIN when
  chaining.

Reviewed-by: Bader Ali - Saleh &lt;bader.alisaleh@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Matt Perricone &lt;matt.perricone@microsemi.com&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>scsi: hpsa: fix volume offline state</title>
<updated>2018-01-23T18:50:15Z</updated>
<author>
<name>Tomas Henzl</name>
</author>
<published>2017-03-20T15:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec7a002d7796a1831d171159366d71fbcc8bf049'/>
<id>urn:sha1:ec7a002d7796a1831d171159366d71fbcc8bf049</id>
<content type='text'>
commit eb94588dabec82e012281608949a860f64752914 upstream.

In a previous patch a hpsa_scsi_dev_t.volume_offline update line has
been removed, so let us put it back..

Fixes: 85b29008d8 (hpsa: update check for logical volume status)
Signed-off-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Acked-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Cc: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>scsi: hpsa: destroy sas transport properties before scsi_host</title>
<updated>2017-12-20T09:05:00Z</updated>
<author>
<name>Martin Wilck</name>
</author>
<published>2017-10-20T21:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28a5b0e438f18bbacc977a38cf47b3d265ac3d27'/>
<id>urn:sha1:28a5b0e438f18bbacc977a38cf47b3d265ac3d27</id>
<content type='text'>
[ Upstream commit dfb2e6f46b3074eb85203d8f0888b71ec1c2e37a ]

This patch cleans up a lot of warnings when unloading the driver.

A current example of the stack trace starts with:
    [  142.570715] sysfs group 'power' not found for kobject 'port-5:0'
There can be hundreds of these messages during a driver unload.

I am resubmitting this patch on behalf of Martin Wilck with his
permission.

His original patch can be found here:
https://www.spinics.net/lists/linux-scsi/msg102085.html

This patch did not help until Hannes's
commit 9441284fbc39 ("scsi-fixup-kernel-warning-during-rmmod")
was applied to the kernel.

---------------------------
Original patch description:
---------------------------

Unloading the hpsa driver causes warnings

[ 1063.793652] WARNING: CPU: 1 PID: 4850 at ../fs/sysfs/group.c:237 device_del+0x54/0x240()
[ 1063.793659] sysfs group ffffffff81cf21a0 not found for kobject 'port-2:0'

with two different stacks:
1)
[ 1063.793774]  [&lt;ffffffff81448af4&gt;] device_del+0x54/0x240
[ 1063.793780]  [&lt;ffffffff8145178a&gt;] transport_remove_classdev+0x4a/0x60
[ 1063.793784]  [&lt;ffffffff81451216&gt;] attribute_container_device_trigger+0xa6/0xb0
[ 1063.793802]  [&lt;ffffffffa0105d46&gt;] sas_port_delete+0x126/0x160 [scsi_transport_sas]
[ 1063.793819]  [&lt;ffffffffa036ebcc&gt;] hpsa_free_sas_port+0x3c/0x70 [hpsa]

2)
[ 1063.797103]  [&lt;ffffffff81448af4&gt;] device_del+0x54/0x240
[ 1063.797118]  [&lt;ffffffffa0105d4e&gt;] sas_port_delete+0x12e/0x160 [scsi_transport_sas]
[ 1063.797134]  [&lt;ffffffffa036ebcc&gt;] hpsa_free_sas_port+0x3c/0x70 [hpsa]

This is caused by the fact that host device hostX is deleted before the
SAS transport devices hostX/port-a:b.

This patch fixes this by reverting the order of device deletions.

Tested-by: Don Brace &lt;don.brace@microsemi.com&gt;
Reviewed-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin Wilck &lt;mwilck@suse.de&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scsi: hpsa: cleanup sas_phy structures in sysfs when unloading</title>
<updated>2017-12-20T09:05:00Z</updated>
<author>
<name>Martin Wilck</name>
</author>
<published>2017-10-20T21:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=942eb7dd5e42702e3743852b151b307f1181fd45'/>
<id>urn:sha1:942eb7dd5e42702e3743852b151b307f1181fd45</id>
<content type='text'>
[ Upstream commit 55ca38b4255bb336c2d35990bdb2b368e19b435a ]

I am resubmitting this patch on behalf of Martin Wilck with his
permission.

The original patch can be found here:
https://www.spinics.net/lists/linux-scsi/msg102083.html

This patch did not help until Hannes's
commit 9441284fbc39 ("scsi-fixup-kernel-warning-during-rmmod")
was applied to the kernel.

--------------------------------------
Original patch description from Martin:
--------------------------------------

When the hpsa module is unloaded using rmmod, dangling
symlinks remain under /sys/class/sas_phy. Fix this by
calling sas_phy_delete() rather than sas_phy_free (which,
according to comments, should not be called for PHYs that
have been set up successfully, anyway).

Tested-by: Don Brace &lt;don.brace@microsemi.com&gt;
Reviewed-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin Wilck &lt;mwilck@suse.de&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scsi: hpsa: limit outstanding rescans</title>
<updated>2017-12-20T09:04:55Z</updated>
<author>
<name>Don Brace</name>
</author>
<published>2017-03-10T20:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a33a9d0c705fefb20a937708314aad65e09da110'/>
<id>urn:sha1:a33a9d0c705fefb20a937708314aad65e09da110</id>
<content type='text'>
[ Upstream commit 87b9e6aa87d9411f1059aa245c0c79976bc557ac ]

Avoid rescan storms. No need to queue another if one is pending.

Reviewed-by: Scott Benesh &lt;scott.benesh@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scsi: hpsa: update check for logical volume status</title>
<updated>2017-12-20T09:04:54Z</updated>
<author>
<name>Don Brace</name>
</author>
<published>2017-03-10T20:35:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a609298214bed0db80da031e9193b2c39a96c3b'/>
<id>urn:sha1:0a609298214bed0db80da031e9193b2c39a96c3b</id>
<content type='text'>
[ Upstream commit 85b29008d8af6d94a0723aaa8d93cfb6e041158b ]

 - Add in a new case for volume offline. Resolves internal testing bug
   for multilun array management.
 - Return correct status for failed TURs.

Reviewed-by: Scott Benesh &lt;scott.benesh@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hpsa: correct skipping masked peripherals</title>
<updated>2016-10-28T07:01:33Z</updated>
<author>
<name>Don Brace</name>
</author>
<published>2016-07-01T18:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=652a174a7d14e5334d2a3f5aa9be9ba52d293bc2'/>
<id>urn:sha1:652a174a7d14e5334d2a3f5aa9be9ba52d293bc2</id>
<content type='text'>
commit 64ce60cab24603ac0fcd59c9fbc3be78f4c4d229 upstream.

The SA controller spins down RAID drive spares.

A REGNEWD event causes an inquiry to be sent to all physical
drives. This causes the SA controller to spin up the spare.

The controller suspends all I/O to a logical volume until
the spare is spun up. The spin-up can take over 50 seconds.

This can result in one or both of the following:
 - SML sends down aborts and resets to the logical volume
   and can cause the logical volume to be off-lined.
 - a negative impact on the logical volume's I/O performance
   each time a REGNEWD is triggered.

Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Juerg Haefliger &lt;juerg.haefliger@hpe.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge branch 'mkp-fixes' into fixes</title>
<updated>2015-12-03T17:32:33Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2015-12-03T17:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be9e2f775f5a3147205c552534c3abf0f9374a13'/>
<id>urn:sha1:be9e2f775f5a3147205c552534c3abf0f9374a13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hpsa: logical vs bitwise AND typo</title>
<updated>2015-11-13T21:49:35Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2015-11-12T09:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8a080c3746c0b60905a88ca56e83a8239c184e0'/>
<id>urn:sha1:d8a080c3746c0b60905a88ca56e83a8239c184e0</id>
<content type='text'>
HPSA_DIAG_OPTS_DISABLE_RLD_CACHING is a mask and bitwise AND was
intended here instead of logical &amp;&amp;.  This bug is essentially harmless,
it means that sometimes we don't print a warning message which we wanted
to print.

Fixes: c2adae44e916 ('hpsa: disable report lun data caching')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Acked-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
</feed>
