<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/bfa/bfad_im.c, branch v3.0.30</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] bfa: remove inactive functions</title>
<updated>2010-12-31T15:38:53+00:00</updated>
<author>
<name>Jing Huang</name>
<email>huangj@brocade.com</email>
</author>
<published>2010-12-27T05:48:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2f2f40a45845e52fbbe07bcd3e09ccff44feb01b'/>
<id>2f2f40a45845e52fbbe07bcd3e09ccff44feb01b</id>
<content type='text'>
This patch removes some inactive functions and macros.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes some inactive functions and macros.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: replace bfa_assert with WARN_ON</title>
<updated>2010-12-31T15:36:53+00:00</updated>
<author>
<name>Jing Huang</name>
<email>huangj@brocade.com</email>
</author>
<published>2010-12-27T05:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d4b671c58ebeb56dfc8fe8bcca25e0a06bc9359a'/>
<id>d4b671c58ebeb56dfc8fe8bcca25e0a06bc9359a</id>
<content type='text'>
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: io tag handling and minor bug fix.</title>
<updated>2010-12-21T18:37:17+00:00</updated>
<author>
<name>Krishna Gudipati</name>
<email>kgudipat@brocade.com</email>
</author>
<published>2010-12-14T00:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=15821f05b78dbeb2f897d1d22576449103a4d8d5'/>
<id>15821f05b78dbeb2f897d1d22576449103a4d8d5</id>
<content type='text'>
Fix iotag handling:

1) Update and check io tag for retry case.
2) Clearing upper 3 bits in io tag when an IO completes.
   The 3 upper bits in io tags are used for counting FCP exchange retry.
   Un-cleared bits will cause firmware to access invalid memory when the
   same io tag is used for an IO to a target that doesn't support FCP
   exchange retry.
3) Only check the effective bits when validating an iotag.

Other minor fixes:

1) Added trace to get FC header type with assert of unhandled packet received.
   Ignore the type FC_TYPE_FC_FSS (FC_XS).
2) Fixed the adapter info display check - to check for fcmode flag even.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix iotag handling:

1) Update and check io tag for retry case.
2) Clearing upper 3 bits in io tag when an IO completes.
   The 3 upper bits in io tags are used for counting FCP exchange retry.
   Un-cleared bits will cause firmware to access invalid memory when the
   same io tag is used for an IO to a target that doesn't support FCP
   exchange retry.
3) Only check the effective bits when validating an iotag.

Other minor fixes:

1) Added trace to get FC header type with assert of unhandled packet received.
   Ignore the type FC_TYPE_FC_FSS (FC_XS).
2) Fixed the adapter info display check - to check for fcmode flag even.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: remove all OS wrappers</title>
<updated>2010-12-21T18:32:56+00:00</updated>
<author>
<name>Maggie Zhang</name>
<email>xmzhang@brocade.com</email>
</author>
<published>2010-12-10T03:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f16a17507b09e10e0cccc4d675ccbfe030d51ef1'/>
<id>f16a17507b09e10e0cccc4d675ccbfe030d51ef1</id>
<content type='text'>
Remove OS wrapper functions/macros, and as a result remove bfa_os_inc.h.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove OS wrapper functions/macros, and as a result remove bfa_os_inc.h.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: remove all SCSI IO callbacks</title>
<updated>2010-12-21T18:32:47+00:00</updated>
<author>
<name>Maggie Zhang</name>
<email>xmzhang@brocade.com</email>
</author>
<published>2010-12-10T03:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f314878ab95d4802ddde066096f7b30087cea7ba'/>
<id>f314878ab95d4802ddde066096f7b30087cea7ba</id>
<content type='text'>
Remove SCSI IO callbacks, and as a result remove bfa_cb_ioim.h.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove SCSI IO callbacks, and as a result remove bfa_cb_ioim.h.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: clean up one line functions</title>
<updated>2010-12-21T18:32:43+00:00</updated>
<author>
<name>Maggie Zhang</name>
<email>xmzhang@brocade.com</email>
</author>
<published>2010-12-10T03:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f7f73812e95077c19a2801bbf4f483fcdab5232f'/>
<id>f7f73812e95077c19a2801bbf4f483fcdab5232f</id>
<content type='text'>
Cleaned up one line functions.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleaned up one line functions.

Signed-off-by: Maggie Zhang &lt;xmzhang@brocade.com&gt;
Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: rename log_level to bfa_log_level</title>
<updated>2010-12-20T18:28:34+00:00</updated>
<author>
<name>Jing Huang</name>
<email>huangj@brocade.com</email>
</author>
<published>2010-12-10T01:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8816624222b12e5d7e291e9d1973fc42b994eb6b'/>
<id>8816624222b12e5d7e291e9d1973fc42b994eb6b</id>
<content type='text'>
Rename log_level to bfa_log_level to make the global variable more bfa
specific and avoid clashes with other drivers which was causing a
build failure.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename log_level to bfa_log_level to make the global variable more bfa
specific and avoid clashes with other drivers which was causing a
build failure.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SCSI host lock push-down</title>
<updated>2010-11-16T21:33:23+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2010-11-16T07:10:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f281233d3eba15fb225d21ae2e228fd4553d824a'/>
<id>f281233d3eba15fb225d21ae2e228fd4553d824a</id>
<content type='text'>
Move the mid-layer's -&gt;queuecommand() invocation from being locked
with the host lock to being unlocked to facilitate speeding up the
critical path for drivers who don't need this lock taken anyway.

The patch below presents a simple SCSI host lock push-down as an
equivalent transformation.  No locking or other behavior should change
with this patch.  All existing bugs and locking orders are preserved.

Additionally, add one parameter to queuecommand,
	struct Scsi_Host *
and remove one parameter from queuecommand,
	void (*done)(struct scsi_cmnd *)

Scsi_Host* is a convenient pointer that most host drivers need anyway,
and 'done' is redundant to struct scsi_cmnd-&gt;scsi_done.

Minimal code disturbance was attempted with this change.  Most drivers
needed only two one-line modifications for their host lock push-down.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Acked-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the mid-layer's -&gt;queuecommand() invocation from being locked
with the host lock to being unlocked to facilitate speeding up the
critical path for drivers who don't need this lock taken anyway.

The patch below presents a simple SCSI host lock push-down as an
equivalent transformation.  No locking or other behavior should change
with this patch.  All existing bugs and locking orders are preserved.

Additionally, add one parameter to queuecommand,
	struct Scsi_Host *
and remove one parameter from queuecommand,
	void (*done)(struct scsi_cmnd *)

Scsi_Host* is a convenient pointer that most host drivers need anyway,
and 'done' is redundant to struct scsi_cmnd-&gt;scsi_done.

Minimal code disturbance was attempted with this change.  Most drivers
needed only two one-line modifications for their host lock push-down.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Acked-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: fix comments for c files</title>
<updated>2010-10-25T21:28:09+00:00</updated>
<author>
<name>Jing Huang</name>
<email>huangj@brocade.com</email>
</author>
<published>2010-10-19T00:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5fbe25c7a664601666895e8f95eaa59bd9741392'/>
<id>5fbe25c7a664601666895e8f95eaa59bd9741392</id>
<content type='text'>
This patch addresses the comments from Randy Dunlap (Randy.Dunlap@oracle.com)
regarding comment blocks that begining with "/**". bfa driver comments
currently do not follow kernel-doc convention, we hence replace all
/** with /* and **/ with */.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch addresses the comments from Randy Dunlap (Randy.Dunlap@oracle.com)
regarding comment blocks that begining with "/**". bfa driver comments
currently do not follow kernel-doc convention, we hence replace all
/** with /* and **/ with */.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] bfa: fix frame size over 1024 compile warning</title>
<updated>2010-10-25T21:25:35+00:00</updated>
<author>
<name>Jing Huang</name>
<email>huangj@brocade.com</email>
</author>
<published>2010-10-19T00:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e0a08a30c9451333c9c4a8981fbfccc80b87ce78'/>
<id>e0a08a30c9451333c9c4a8981fbfccc80b87ce78</id>
<content type='text'>
Fix compile warning for frame size over 1024 in gcc 4.4.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix compile warning for frame size over 1024 in gcc 4.4.

Signed-off-by: Jing Huang &lt;huangj@brocade.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
