<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/hpsa.h, branch v4.9.131</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>scsi: hpsa: limit outstanding rescans</title>
<updated>2017-12-20T09:07:22+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@microsemi.com</email>
</author>
<published>2017-03-10T20:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0f07e7611184cd78a26dd1fbf13513264896cdac'/>
<id>0f07e7611184cd78a26dd1fbf13513264896cdac</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ 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;
</pre>
</div>
</content>
</entry>
<entry>
<title>scsi: hpsa: use bus '3' for legacy HBA devices</title>
<updated>2016-11-22T22:17:55+00:00</updated>
<author>
<name>Hannes Reinecke</name>
<email>hare@suse.de</email>
</author>
<published>2016-11-17T11:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7630b3a599e2c6d1c042945d32ff2debc855ad29'/>
<id>7630b3a599e2c6d1c042945d32ff2debc855ad29</id>
<content type='text'>
Older controllers use SCSI target id '0' for the first internal disk. As
the controllers are now placed on the same bus as the internal disks
this leads to a clash with the SCSI target id of controller.  This patch
checks the SCSI revision, and moves older controller to bus '3' to be
compatible with older releases and avoid this problem.

[mkp: fixed uninitialized variable]

Fixes: 09371d623c9 ("hpsa: Change SAS transport devices to bus 0.")
Cc: &lt;stable@vger.kernel.org&gt; # v4.5+
Signed-off-by: Hannes Reinecke &lt;hare@suse.com&gt;
Acked-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Older controllers use SCSI target id '0' for the first internal disk. As
the controllers are now placed on the same bus as the internal disks
this leads to a clash with the SCSI target id of controller.  This patch
checks the SCSI revision, and moves older controller to bus '3' to be
compatible with older releases and avoid this problem.

[mkp: fixed uninitialized variable]

Fixes: 09371d623c9 ("hpsa: Change SAS transport devices to bus 0.")
Cc: &lt;stable@vger.kernel.org&gt; # v4.5+
Signed-off-by: Hannes Reinecke &lt;hare@suse.com&gt;
Acked-by: Don Brace &lt;don.brace@microsemi.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scsi: hpsa: correct call to hpsa_do_reset</title>
<updated>2016-09-21T20:42:05+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@microsemi.com</email>
</author>
<published>2016-09-20T20:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b32ece0ff70c30e59f16e9a8ffd05acc27298ba3'/>
<id>b32ece0ff70c30e59f16e9a8ffd05acc27298ba3</id>
<content type='text'>
calling fill_cmd() using a MACRO definition not handled in switch
statement causes BUG() to be called.

Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
calling fill_cmd() using a MACRO definition not handled in switch
statement causes BUG() to be called.

Signed-off-by: Don Brace &lt;don.brace@microsemi.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: correct handling of HBA device removal</title>
<updated>2016-04-29T23:08:24+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@microsemi.com</email>
</author>
<published>2016-04-27T22:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ba74fdc411b84064d7abe4b10d0708f6dad03eb2'/>
<id>ba74fdc411b84064d7abe4b10d0708f6dad03eb2</id>
<content type='text'>
Need to report HBA device removal faster than the
event handler polling interval.

Stop I/O to the removed disk and wait for all
I/O operations to flush before removing the device.

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;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Need to report HBA device removal faster than the
event handler polling interval.

Stop I/O to the removed disk and wait for all
I/O operations to flush before removing the device.

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;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: update copyright information</title>
<updated>2016-02-24T02:27:02+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@microsemi.com</email>
</author>
<published>2016-02-23T21:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=94c7bc3194cdf4f4e16d08c623f9eab278770d93'/>
<id>94c7bc3194cdf4f4e16d08c623f9eab278770d93</id>
<content type='text'>
Reviewed-by: Justin Lindley &lt;justin.lindley@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.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;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Justin Lindley &lt;justin.lindley@microsemi.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@microsemi.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.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;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: Change SAS transport devices to bus 0.</title>
<updated>2016-01-06T20:10:35+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@pmcs.com</email>
</author>
<published>2015-12-22T16:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=09371d623c9c3dc6ed7f53ec8ab01d25f0c6c697'/>
<id>09371d623c9c3dc6ed7f53ec8ab01d25f0c6c697</id>
<content type='text'>
SAS transport places devices on bus 0 but driver was setting the bus to
3.

Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SAS transport places devices on bus 0 but driver was setting the bus to
3.

Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: add in sas transport class</title>
<updated>2015-11-09T17:39:28+00:00</updated>
<author>
<name>Kevin Barnett</name>
<email>kevin.barnett@pmcs.com</email>
</author>
<published>2015-11-04T21:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d04e62b9d63a7498735761dc40eaed88b7fd9d80'/>
<id>d04e62b9d63a7498735761dc40eaed88b7fd9d80</id>
<content type='text'>
Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: add discovery polling for PT RAID devices.</title>
<updated>2015-11-09T17:39:27+00:00</updated>
<author>
<name>Scott Teel</name>
<email>scott.teel@pmcs.com</email>
</author>
<published>2015-11-04T21:52:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=34592254c13324add1972e6a7d5f6636d95ade33'/>
<id>34592254c13324add1972e6a7d5f6636d95ade33</id>
<content type='text'>
There are problems with getting configuration change notification
in pass-through RAID environments.  So, activate flag
h-&gt;discovery_polling when one of these devices is detected in
update_scsi_devices.

After discovery_polling is set, execute a report luns from
rescan_controller_worker (every 30 seconds).

If the data from report_luns is different than last
time (binary compare), execute a full rescan via update_scsi_devices.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are problems with getting configuration change notification
in pass-through RAID environments.  So, activate flag
h-&gt;discovery_polling when one of these devices is detected in
update_scsi_devices.

After discovery_polling is set, execute a report luns from
rescan_controller_worker (every 30 seconds).

If the data from report_luns is different than last
time (binary compare), execute a full rescan via update_scsi_devices.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: generalize external arrays</title>
<updated>2015-11-09T17:39:26+00:00</updated>
<author>
<name>Scott Teel</name>
<email>scott.teel@pmcs.com</email>
</author>
<published>2015-11-04T21:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=66749d0d617a9cda967f168802f1fb1a6e598a92'/>
<id>66749d0d617a9cda967f168802f1fb1a6e598a92</id>
<content type='text'>
External array LUNs must use target and lun numbers assigned by the
external array. So the driver must treat these differently from
local LUNs when assigning lun/target.

LUN's 'model' field has been used to detect Lun types that need
special treatment, but the desire is to eliminate the need to reference
specific array models, and support any external array.

Pass-through RAID (PTRAID) luns are not luns of the local controller,
so they are not reported in LUN count of command 'ID controller'.
However, they ARE reported in "Report logical Luns" command.
Local luns are listed first, then PTRAID LUNs.

The number of luns from "Report LUNs" in excess of those reported by
'ID controller' are therefore the PTRAID LUNS.

We can now remove function is_ext_target, and the 'white list'
array of supported model names.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
External array LUNs must use target and lun numbers assigned by the
external array. So the driver must treat these differently from
local LUNs when assigning lun/target.

LUN's 'model' field has been used to detect Lun types that need
special treatment, but the desire is to eliminate the need to reference
specific array models, and support any external array.

Pass-through RAID (PTRAID) luns are not luns of the local controller,
so they are not reported in LUN count of command 'ID controller'.
However, they ARE reported in "Report logical Luns" command.
Local luns are listed first, then PTRAID LUNs.

The number of luns from "Report LUNs" in excess of those reported by
'ID controller' are therefore the PTRAID LUNS.

We can now remove function is_ext_target, and the 'white list'
array of supported model names.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: refactor hpsa_figure_bus_target_lun</title>
<updated>2015-11-09T17:34:23+00:00</updated>
<author>
<name>Kevin Barnett</name>
<email>kevin.barnett@pmcs.com</email>
</author>
<published>2015-11-04T21:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c795505a742807fe6ba81d6c63b57c7d2737df3d'/>
<id>c795505a742807fe6ba81d6c63b57c7d2737df3d</id>
<content type='text'>
setup for sas transport. Need to set the
bus and target accordingly.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
setup for sas transport. Need to set the
bus and target accordingly.

Reviewed-by: Scott Teel &lt;scott.teel@pmcs.com&gt;
Reviewed-by: Justin Lindley &lt;justin.lindley@pmcs.com&gt;
Reviewed-by: Kevin Barnett &lt;kevin.barnett@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
