<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/be2iscsi, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-03-15T22:24:44Z</updated>
<entry>
<title>Merge branch 'fixes' into misc</title>
<updated>2016-03-15T22:24:44Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2016-03-15T22:24:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7dee8f45fa2948b74d8e84ba24e435c87fd0acf'/>
<id>urn:sha1:a7dee8f45fa2948b74d8e84ba24e435c87fd0acf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>be2iscsi: set the boot_kset pointer to NULL in case of failure</title>
<updated>2016-03-09T01:58:31Z</updated>
<author>
<name>Maurizio Lombardi</name>
</author>
<published>2016-03-04T09:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84bd64993f916bcf86270c67686ecf4cea7b8933'/>
<id>urn:sha1:84bd64993f916bcf86270c67686ecf4cea7b8933</id>
<content type='text'>
In beiscsi_setup_boot_info(), the boot_kset pointer should be set to
NULL in case of failure otherwise an invalid pointer dereference may
occur later.

Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Maurizio Lombardi &lt;mlombard@redhat.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Reviewed-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Remove unnecessary synchronize_irq() before free_irq()</title>
<updated>2016-03-08T02:07:50Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2016-03-04T10:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e729b50307bfe9c541d08dd591c1dd6aef1999e8'/>
<id>urn:sha1:e729b50307bfe9c541d08dd591c1dd6aef1999e8</id>
<content type='text'>
Calling synchronize_irq() right before free_irq() is quite useless. On one
hand the IRQ can easily fire again before free_irq() is entered, on the
other hand free_irq() itself calls synchronize_irq() internally (in a race
condition free way), before any state associated with the IRQ is freed.

Patch was generated using the following semantic patch:
// &lt;smpl&gt;
@@
expression irq;
@@
-synchronize_irq(irq);
 free_irq(irq, ...);
// &lt;/smpl&gt;

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Reviewed-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi:Add missing error check in beiscsi_eeh_resume</title>
<updated>2016-03-01T02:06:31Z</updated>
<author>
<name>Nicholas Krause</name>
</author>
<published>2016-02-27T17:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c6fff3226edaa28c9e33d954dcafad926446a083'/>
<id>urn:sha1:c6fff3226edaa28c9e33d954dcafad926446a083</id>
<content type='text'>
This adds the missing error check and path for if the call to the
function hwi_init_controller fails as this error path was clearly missed
when writing beiscsi_eeh_resume and thus we must add it now in order to
be able to handle this nonrecoverable failing function call gracefully
in beiscsi_eeh_resume.

Signed-off-by: Nicholas Krause &lt;xerofoify@gmail.com&gt;
Reviewed-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Fix memory leak in beiscsi_alloc_mem()</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Maurizio Lombardi</name>
</author>
<published>2015-10-01T08:56:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c88740dd2070b9af924ab092d5992ece6d90f4c'/>
<id>urn:sha1:0c88740dd2070b9af924ab092d5992ece6d90f4c</id>
<content type='text'>
In case of error, the memory allocated for phwi_ctrlr was not freed.

Signed-off-by: Maurizio Lombardi &lt;mlombard@redhat.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Reviewed-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Add lock to protect WRB alloc and free</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Jitendra Bhivare</name>
</author>
<published>2016-02-04T10:19:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f64d92e66520aa784d1428bb9a4f6a2bcbdbbe32'/>
<id>urn:sha1:f64d92e66520aa784d1428bb9a4f6a2bcbdbbe32</id>
<content type='text'>
FW got into UE after running IO stress test

With kernel change to split session lock in frwd_lock and back_lock for
tx and rx path correspondingly, in the IO path, common resource used in
driver such as WRB was left unprotected.

Add wrb_lock spinlock to protect allocation and freeing of WRB.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: _bh for io_sgl_lock and mgmt_sgl_lock</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Jitendra Bhivare</name>
</author>
<published>2016-02-04T10:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10139fe0212e7126c5e7d096e64b81b2b8c8d24e'/>
<id>urn:sha1:10139fe0212e7126c5e7d096e64b81b2b8c8d24e</id>
<content type='text'>
Processing of mgmt and IO tasks are done in process context and
softirqs.

Allocation and freeing of sgl_handles needs to be done under
spin_lock_bh/spin_unlock_bh and move the locks to the routines.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Fix ExpStatSn in management tasks</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Jitendra Bhivare</name>
</author>
<published>2016-02-04T10:19:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1868379be779421f81b69a04927869350a8ade65'/>
<id>urn:sha1:1868379be779421f81b69a04927869350a8ade65</id>
<content type='text'>
Connection resets observed from some targets when NOP-Out with wrong
ExpStatSn is sent.

FW keeps track of StatSn and fills up ExpStatSn accordingly.  The header
filled up by the stack needs to be modified by driver to clear
ExpStatSn. If the field is not cleared, FW recalculates ExpStatSn and
wrong offset'ed ExpStatSn is seen in the wire trace.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Couple MCC tag and WRB alloc and free</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Jitendra Bhivare</name>
</author>
<published>2016-02-04T10:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=090e2184ba8fedff44b65e480d0f30229bb85621'/>
<id>urn:sha1:090e2184ba8fedff44b65e480d0f30229bb85621</id>
<content type='text'>
WARN_ON(atomic_read(&amp;mccq-&gt;used) &gt;= mccq-&gt;len) seen when FW gets into
UE.

MCCQ overflow is happening because driver discards any new request and
frees up the tag. The tag allocation controls the number of MCC WRB
posted.  It is being replenished but WRBs are not hence the WARN_ON.

Allocation and freeing of WRB and tags for MCC is now done in one place.
This helps to achieve proper accounting of WRB indices and MCC tags.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>be2iscsi: Fix MCC WRB leak in open_connection</title>
<updated>2016-02-24T02:27:02Z</updated>
<author>
<name>Jitendra Bhivare</name>
</author>
<published>2016-02-04T10:19:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=291fef26e0f85bd2c1f7152138fc3459e7a00ea1'/>
<id>urn:sha1:291fef26e0f85bd2c1f7152138fc3459e7a00ea1</id>
<content type='text'>
In open with IP of unknown address family, only tag is freed and error
returned. MCC WRB allocated for the operation is not freed.

Added check for supported family of IP in the beginning before
allocating the tag and WRB.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
</feed>
