<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/bfa/bfad.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-03T23:57:01Z</updated>
<entry>
<title>Drivers: scsi: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:01Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-21T21:08:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f039790510fd630ff348efe8c4802dbaa041fba'/>
<id>urn:sha1:6f039790510fd630ff348efe8c4802dbaa041fba</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Adam Radford &lt;linuxraid@lsi.com&gt;
Cc: "James E.J. Bottomley" &lt;JBottomley@parallels.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Firmware image naming convention update</title>
<updated>2012-10-07T10:28:06Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2012-09-22T00:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d0ecef3833a34059213072ee6dae4fdbf77e089'/>
<id>urn:sha1:7d0ecef3833a34059213072ee6dae4fdbf77e089</id>
<content type='text'>
- Modified the firmware naming convention to contain the
  firmware image version (3.1.0.0).
- The new convention is &lt;firmware-image&gt;-&lt;firmware-version&gt;.bin
- The change will enforce loading only compatible firmware with this driver
  and also avoid over-writing the old firmware image in-order to load new
  version driver as the firmware names used to be the same.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Add support for max target ports discovery</title>
<updated>2012-09-24T08:10:57Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2012-08-23T02:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61ba43947e61dcda4af0993135a7268e4c0465b9'/>
<id>urn:sha1:61ba43947e61dcda4af0993135a7268e4c0465b9</id>
<content type='text'>
- Changes to avoid discovering NPIV port as remote port by the other
  NPIV ports created on same physical port when all the NPIV ports are
  part of the same zone in a fabric.
- Provided mechanism to support maximum number of target ports for a
  given initiator port (physical port + NPIV ports) irrespective of the
  way in which the initiator and target ports are zoned in the fabric.
- Introduced module_parameter max_rport_logins to restrict number of
  remote ports discovery which includes target and initiator remote ports.

Signed-off-by: Vijaya Mohan Guvva &lt;vmohan@brocade.com&gt;
Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Add PowerPC support and enable PCIE AER handling.</title>
<updated>2012-09-24T08:10:56Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2012-08-23T02:52:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=881c1b3c486c7f181e0ca8c8df30f5f860c0d659'/>
<id>urn:sha1:881c1b3c486c7f181e0ca8c8df30f5f860c0d659</id>
<content type='text'>
- Added few missing endian swap changes to support BFA on PowerPC.
- Added PCIE AER support to BFA:
  a) Implemented the PCI error handler entry points.
  b) Made changes to FCS state machine to handle STOP event from the
	 PCI error detected entry point.
  c) Made changes to the IO Controller state machine to handle SUSPEND
     event from the PCI error detected entry point.
  d) Made changes to restart the BFA operations on a slot_reset completion.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: squelch lockdep complaint with a spin_lock_init</title>
<updated>2012-07-20T07:59:03Z</updated>
<author>
<name>Kyle McMartin</name>
</author>
<published>2012-07-11T16:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b1017aab197271a78169fde3d7e487bb721997c'/>
<id>urn:sha1:0b1017aab197271a78169fde3d7e487bb721997c</id>
<content type='text'>
Spotted this while looking at another issue...

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 298, comm: udevd Not tainted 3.3.0 #1
Call Trace:
  [&lt;ffffffff810cee63&gt;] __lock_acquire+0x1363/0x1bb0
  [&lt;ffffffff816593d2&gt;] ? __slab_alloc+0x4a0/0x4fd
  [&lt;ffffffff81020063&gt;] ? native_sched_clock+0x13/0x80
  [&lt;ffffffff810200d9&gt;] ? sched_clock+0x9/0x10
  [&lt;ffffffff810cfd81&gt;] lock_acquire+0xa1/0x1e0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffff816630e5&gt;] _raw_spin_lock_irqsave+0x65/0xb0
  [&lt;ffffffffa0321b83&gt;] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa0321b83&gt;] bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
  [&lt;ffffffffa032fa57&gt;] bfa_fcs_lport_init+0x97/0x120 [bfa]
  [&lt;ffffffffa031d4ff&gt;] bfa_fcs_fabric_sm_uninit+0x1cf/0x250 [bfa]
  [&lt;ffffffffa031c1da&gt;] bfa_fcs_fabric_modinit+0x2a/0xb0 [bfa]
  [&lt;ffffffffa031bef2&gt;] ? bfa_fcs_fabric_attach+0xf2/0x170 [bfa]
  [&lt;ffffffffa031e75a&gt;] bfa_fcs_init+0x2a/0x40 [bfa]
  [&lt;ffffffffa02facf7&gt;] bfad_drv_init+0x107/0x1f0 [bfa]
  [&lt;ffffffffa02fb057&gt;] bfad_pci_probe+0x277/0x450 [bfa]
  [&lt;ffffffff81354d4c&gt;] local_pci_probe+0x5c/0xd0
  [&lt;ffffffff81354ed1&gt;] pci_device_probe+0x111/0x120
  [&lt;ffffffff8141c0e6&gt;] driver_probe_device+0x96/0x2f0
  [&lt;ffffffff8141c3eb&gt;] __driver_attach+0xab/0xb0
  [&lt;ffffffff8141c340&gt;] ? driver_probe_device+0x2f0/0x2f0
  [&lt;ffffffff8141a2e5&gt;] bus_for_each_dev+0x55/0x90
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141bbce&gt;] driver_attach+0x1e/0x20
  [&lt;ffffffff8141b8d8&gt;] bus_add_driver+0x1b8/0x2b0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff8141cbc7&gt;] driver_register+0x77/0x160
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffff81353b23&gt;] __pci_register_driver+0x73/0xf0
  [&lt;ffffffffa037b000&gt;] ? 0xffffffffa037afff
  [&lt;ffffffffa037b083&gt;] bfad_init+0x83/0x1000 [bfa]
  [&lt;ffffffff8100212a&gt;] do_one_initcall+0x12a/0x180
  [&lt;ffffffff810df0d0&gt;] sys_init_module+0xc0/0x220
  [&lt;ffffffff8166bbe9&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Kyle McMartin &lt;kmcmarti@redhat.com&gt;
Acked-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Fix to defer vport delete handler invocation till firmware logo response.</title>
<updated>2012-04-25T08:58:31Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2012-04-10T01:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17c201b3281cfc2c7d7ecfabb33313b747e414cb'/>
<id>urn:sha1:17c201b3281cfc2c7d7ecfabb33313b747e414cb</id>
<content type='text'>
Made changes to avoid queuing the vport delete work to IM driver
work queue in the bfa_fcb_lport_delete() - since at this stage we
are not completely done with using the vport structure as we are
still waiting for the LOGO response from the fw in online state or
just doing some cleanup. Since queuing up the vport delete work at
this stage will result in the FC transport layer to clean up the vport
before we get the response from firmware.
Made changes to queue the port delete work to the IM driver work queue -
from the bfa_fcs_vport_free() function since at this state we are done
with using the vport data structure and the FCS state machine is completely
cleaned up.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Implement LUN Masking feature using the SCSI Slave Callouts.</title>
<updated>2012-01-10T23:01:24Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2011-12-21T02:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b7db7af522d9f281ff8bf540d2b5cbea2206b27'/>
<id>urn:sha1:5b7db7af522d9f281ff8bf540d2b5cbea2206b27</id>
<content type='text'>
This patch re-implements LUN Masking feature using SCSI Slave Callouts.  With
the new design in the slave_alloc entry point; for each new LUN discovered we
check with our internal LUN Masking config whether to expose or to mask this
particular LUN. We return -ENXIO (No such device or address) from slave_alloc
for the LUNs we don't want to be exposed.  We also notify the SCSI mid-layer
to do a sequential LUN scan rather than REPORT_LUNS based scan if LUN masking
is enabled on our HBA port, since a -ENXIO from any LUN in REPORT_LUNS based
scan translates to a scan abort.  This patch also handles the dynamic lun
masking config change from enable to disable or vice-versa by resetting
sdev_bflags of LUN 0 appropriately.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Add FC-transport based Asynchronous Event Notification support.</title>
<updated>2011-07-27T10:41:24Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2011-07-20T23:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7826f304b1efa5ab839cf029742290f51c4fa009'/>
<id>urn:sha1:7826f304b1efa5ab839cf029742290f51c4fa009</id>
<content type='text'>
- Added support to post vendor unique events on fc_host.
- Supports adapter, port, ioc, flash and remote port based AEN events.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: Driver and BSG enhancements.</title>
<updated>2011-06-29T22:28:17Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2011-06-25T03:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61e62e21afe469854e04546ea10b7a6f4cfd1142'/>
<id>urn:sha1:61e62e21afe469854e04546ea10b7a6f4cfd1142</id>
<content type='text'>
- Added a new module parameter max_xfer_size to
  set the max_sectors in the scsi_host template.
- Added logic to handle request_irq() failure so
  that msix vector resource is de-allocated immediately
  when failure happens.
- BSG enhancements to collect vHBA releated info and port log.
- Removed the workaround of incrementing the module refcnt on bsg request.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] bfa: FCS bug fixes.</title>
<updated>2011-06-29T22:12:11Z</updated>
<author>
<name>Krishna Gudipati</name>
</author>
<published>2011-06-25T03:24:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7be54cc5c5f6f9cb9ac67462aadda57813698b8'/>
<id>urn:sha1:d7be54cc5c5f6f9cb9ac67462aadda57813698b8</id>
<content type='text'>
- Added logic to initiate a PLOGI to the target, while processing a LOGO
  from the same target in Direct attach mode.
- Added logic to generate a FCCT Reject indicating unsupported command,
  upon receiving FCCT/FCGS requests.
- Added logic to set the fcpim in offline state and avoid any PRLI retries
  if a PRLI response is a reject with a reason Command Not Supported.
- Updated the FDMI Supported/Current speeds.
- Added logic to wait for the response  from the firmware before sending
  ACC to PLOGI and transitioning to subsequent states - while processing an
  Incoming PLOGI in online state.
- Added a wait state in the fcs_vport state machine - For case where
  FDISC is in progress and we get a vport delete request we wait for
  fdisc response and will transition to the appropriate state based on
  rsp status, else its causing both driver/fw resources to be not
  freed.
- Remove the fc_credit_recovery module param.

Signed-off-by: Krishna Gudipati &lt;kgudipat@brocade.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
</feed>
