<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/hpsa.h, branch v4.4.4</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>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>
<entry>
<title>hpsa: simplify update scsi devices</title>
<updated>2015-11-09T17:34:22+00:00</updated>
<author>
<name>Kevin Barnett</name>
<email>kevin.barnett@pmcs.com</email>
</author>
<published>2015-11-04T21:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=04fa2f44461dd90a00b514cd75ce82f829924826'/>
<id>04fa2f44461dd90a00b514cd75ce82f829924826</id>
<content type='text'>
remove repeated calculation that checks for physical
or logical 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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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>
remove repeated calculation that checks for physical
or logical 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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Matthew R. Ochs &lt;mrochs@linux.vnet.ibm.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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: simplify check for device exposure</title>
<updated>2015-11-09T17:34:21+00:00</updated>
<author>
<name>Kevin Barnett</name>
<email>kevin.barnett@pmcs.com</email>
</author>
<published>2015-11-04T21:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2a168208a35515b8ca54fbf1a17581ad2a852a3f'/>
<id>2a168208a35515b8ca54fbf1a17581ad2a852a3f</id>
<content type='text'>
remove macros and cleanup device exposure checking

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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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>
remove macros and cleanup device exposure checking

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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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: fix physical target reset</title>
<updated>2015-11-09T17:34:20+00:00</updated>
<author>
<name>Scott Teel</name>
<email>scott.teel@pmcs.com</email>
</author>
<published>2015-11-04T21:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0b9b7b6eecad03e0ba4290af7145e2c5d1f8ff13'/>
<id>0b9b7b6eecad03e0ba4290af7145e2c5d1f8ff13</id>
<content type='text'>
Set reset type in device_reset_handler to do either
logical unit reset for logical devices, or physical
target reset, for physical 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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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>
Set reset type in device_reset_handler to do either
logical unit reset for logical devices, or physical
target reset, for physical 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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&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: fix hpsa_adjust_hpsa_scsi_table</title>
<updated>2015-11-09T17:34:20+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@pmcs.com</email>
</author>
<published>2015-11-04T21:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=da03ded045b6249261e6c82d942e6d0298dabc9b'/>
<id>da03ded045b6249261e6c82d942e6d0298dabc9b</id>
<content type='text'>
Fix a NULL pointer issue in the driver when devices are removed
during a reset.

Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@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>
Fix a NULL pointer issue in the driver when devices are removed
during a reset.

Signed-off-by: Don Brace &lt;don.brace@pmcs.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hpsa: allow driver requested rescans</title>
<updated>2015-11-09T17:34:19+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@pmcs.com</email>
</author>
<published>2015-11-04T21:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=853633e85996cb661e7aed5b3ae8823b12f265cf'/>
<id>853633e85996cb661e7aed5b3ae8823b12f265cf</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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by; Hannes Reinecke &lt;hare@suse.de&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: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by; Hannes Reinecke &lt;hare@suse.de&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: change devtype to unsigned</title>
<updated>2015-11-09T17:34:19+00:00</updated>
<author>
<name>Don Brace</name>
<email>don.brace@pmcs.com</email>
</author>
<published>2015-11-04T21:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3ad7de6b7d031165e8b2c0775986128de17c5a63'/>
<id>3ad7de6b7d031165e8b2c0775986128de17c5a63</id>
<content type='text'>
This member is used in calls to scsi_device_type.
It should be unsigned since the kernel checks for upper bounds
and it should never be negative.

Suggested-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Suggested-by: Hannes Reinecke &lt;hare@suse.de&gt;
Suggested-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>
This member is used in calls to scsi_device_type.
It should be unsigned since the kernel checks for upper bounds
and it should never be negative.

Suggested-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Suggested-by: Hannes Reinecke &lt;hare@suse.de&gt;
Suggested-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>
</feed>
