<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/pm8001, branch v3.10.12</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: pm80xx: fix Adaptec 71605H hang</title>
<updated>2013-09-08T05:09:58+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2013-07-26T16:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff2b0a7db98e7ffdfafb667e60c25f07e9959737'/>
<id>ff2b0a7db98e7ffdfafb667e60c25f07e9959737</id>
<content type='text'>
commit 9504a923924d663e1953f872f0a828e6454a6cfc upstream.

The IO command size is 128 bytes for these new controllers as opposed to 64
for the old 8001 controller.

The Adaptec out-of-tree driver did this correctly. After comparing the two
this turned out to be the crucial difference.

So don't hardcode the IO command size, instead use pm8001_ha-&gt;iomb_size as
that is the correct value for both old and new controllers.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Anand Kumar Santhanam &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;xjtuwjp@gmail.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.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>
commit 9504a923924d663e1953f872f0a828e6454a6cfc upstream.

The IO command size is 128 bytes for these new controllers as opposed to 64
for the old 8001 controller.

The Adaptec out-of-tree driver did this correctly. After comparing the two
this turned out to be the crucial difference.

So don't hardcode the IO command size, instead use pm8001_ha-&gt;iomb_size as
that is the correct value for both old and new controllers.

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Acked-by: Anand Kumar Santhanam &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;xjtuwjp@gmail.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type</title>
<updated>2013-05-10T14:47:52+00:00</updated>
<author>
<name>James Bottomley</name>
<email>JBottomley@Parallels.com</email>
</author>
<published>2013-05-07T21:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aa9f8328fc51460e15da129caf622b6560fa8c99'/>
<id>aa9f8328fc51460e15da129caf622b6560fa8c99</id>
<content type='text'>
These enums have been separate since the dawn of SAS, mainly because the
latter is a procotol only enum and the former includes additional state
for libsas.  The dichotomy causes endless confusion about which one you
should use where and leads to pointless warnings like this:

drivers/scsi/mvsas/mv_sas.c: In function 'mvs_update_phyinfo':
drivers/scsi/mvsas/mv_sas.c:1162:34: warning: comparison between 'enum sas_device_type' and 'enum sas_dev_type' [-Wenum-compare]

Fix by eliminating one of them.  The one kept is effectively the sas.h
one, but call it sas_device_type and make sure the enums are all
properly namespaced with the SAS_ prefix.

Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These enums have been separate since the dawn of SAS, mainly because the
latter is a procotol only enum and the former includes additional state
for libsas.  The dichotomy causes endless confusion about which one you
should use where and leads to pointless warnings like this:

drivers/scsi/mvsas/mv_sas.c: In function 'mvs_update_phyinfo':
drivers/scsi/mvsas/mv_sas.c:1162:34: warning: comparison between 'enum sas_device_type' and 'enum sas_dev_type' [-Wenum-compare]

Fix by eliminating one of them.  The one kept is effectively the sas.h
one, but call it sas_device_type and make sure the enums are all
properly namespaced with the SAS_ prefix.

Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: thermal, sas controller config and error handling update</title>
<updated>2013-05-10T14:47:51+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a6cb3d012b983b350ae3892cff2e692665df0e1e'/>
<id>a6cb3d012b983b350ae3892cff2e692665df0e1e</id>
<content type='text'>
Modified thermal configuration to happen after interrupt registration
Added SAS controller configuration during initialization
Added error handling logic to handle I_T_Nexus errors and variants

[jejb: fix up tabs and spaces issues]
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified thermal configuration to happen after interrupt registration
Added SAS controller configuration during initialization
Added error handling logic to handle I_T_Nexus errors and variants

[jejb: fix up tabs and spaces issues]
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: NCQ error handling changes</title>
<updated>2013-05-10T14:47:51+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c6b9ef5779c3e1edfa9de949d2a51252bc347663'/>
<id>c6b9ef5779c3e1edfa9de949d2a51252bc347663</id>
<content type='text'>
Handled NCQ errors in the low level driver as the FW
is not providing the faulty tag for NCQ errors for libsas
to recover.

[jejb: fix checkpatch issues]
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handled NCQ errors in the low level driver as the FW
is not providing the faulty tag for NCQ errors for libsas
to recover.

[jejb: fix checkpatch issues]
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: WWN Modification for PM8081/88/89 controllers</title>
<updated>2013-05-10T14:47:50+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a33a0155dae5a8fdc85a9853ca06d6d57b90a4d9'/>
<id>a33a0155dae5a8fdc85a9853ca06d6d57b90a4d9</id>
<content type='text'>
Individual WWN read operations based on controller.
PM8081 - Read WWN from Flash VPD.
PM8088/89 - Read WWN from EEPROM.
PM8001 - Read WWN from NVM.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Individual WWN read operations based on controller.
PM8081 - Read WWN from Flash VPD.
PM8088/89 - Read WWN from EEPROM.
PM8001 - Read WWN from NVM.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: Changed module name and debug messages update</title>
<updated>2013-05-10T14:47:49+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a70b8fc3a582694073c3676dba6a39e4e77f8727'/>
<id>a70b8fc3a582694073c3676dba6a39e4e77f8727</id>
<content type='text'>
Changed name in driver to pm80xx. Updated debug messages.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed name in driver to pm80xx. Updated debug messages.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: Firmware flash memory free fix, with addition of new memory region for it</title>
<updated>2013-05-10T14:47:49+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1c75a6796ea8b162863caf90b70d324ca481a181'/>
<id>1c75a6796ea8b162863caf90b70d324ca481a181</id>
<content type='text'>
Performing pci_free_consistent in tasklet had result in a core dump. So
allocated a new memory region for it. Fix for passing proper address
and operation in firmware flash update.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Performing pci_free_consistent in tasklet had result in a core dump. So
allocated a new memory region for it. Fix for passing proper address
and operation in firmware flash update.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: SPC new firmware changes for device id 0x8081 alone</title>
<updated>2013-05-10T14:47:48+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=54792dc2856e27d7c9d798589d45cabe1230990a'/>
<id>54792dc2856e27d7c9d798589d45cabe1230990a</id>
<content type='text'>
Additional bar shift for new SPC firmware, applicable to device
id 0x8081 only.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additional bar shift for new SPC firmware, applicable to device
id 0x8081 only.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files</title>
<updated>2013-05-10T14:47:47+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-04-17T11:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f5860992db55c9e36b0f120dff73f0c34abe510d'/>
<id>f5860992db55c9e36b0f120dff73f0c34abe510d</id>
<content type='text'>
Implementation of SPCv/ve specific hardware functionality and
macros. Changing common functionalities wrt SPCv/ve operations.
Conditional checks for SPC specific operations.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation of SPCv/ve specific hardware functionality and
macros. Changing common functionalities wrt SPCv/ve operations.
Conditional checks for SPC specific operations.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] pm80xx: MSI-X implementation for using 64 interrupts</title>
<updated>2013-05-10T14:47:47+00:00</updated>
<author>
<name>Sakthivel K</name>
<email>Sakthivel.SaravananKamalRaju@pmcs.com</email>
</author>
<published>2013-03-19T12:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1245ee5996a1270e4fd04f9c2e399521a656c930'/>
<id>1245ee5996a1270e4fd04f9c2e399521a656c930</id>
<content type='text'>
Implementation of interrupt handlers and tasklets to support
upto 64 interrupt for the device.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation of interrupt handlers and tasklets to support
upto 64 interrupt for the device.

Signed-off-by: Sakthivel K &lt;Sakthivel.SaravananKamalRaju@pmcs.com&gt;
Signed-off-by: Anand Kumar S &lt;AnandKumar.Santhanam@pmcs.com&gt;
Acked-by: Jack Wang &lt;jack_wang@usish.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
