1. 12 4月, 2016 1 次提交
  2. 22 12月, 2015 2 次提交
  3. 27 10月, 2015 2 次提交
  4. 10 4月, 2015 3 次提交
  5. 17 9月, 2014 1 次提交
  6. 25 10月, 2013 1 次提交
  7. 24 8月, 2013 1 次提交
  8. 27 6月, 2013 1 次提交
  9. 03 5月, 2013 1 次提交
  10. 30 1月, 2013 1 次提交
  11. 27 11月, 2012 1 次提交
  12. 15 9月, 2012 1 次提交
  13. 19 2月, 2012 1 次提交
    • J
      [SCSI] lpfc 8.3.29: SLI related fixes · 6b5151fd
      James Smart 提交于
      SLI related fixes:
      
      - Fix REG_RPI fails on SLI4 HBA putting NPort into NPR state (126230)
      - Fix ELS FDISC failing with local reject / invalid RPI. (126350)
      - Fix reset port when reset is needed during fw_dump (125807)
      - Fix unbounded firmware revision string from port cause panic (126560)
      - Fix driver behavior when receiving an ADISC (126654)
      - Fix driver not returning when bad ndlp found in abts error event
        handling (126209)
      - Add more driver logs in area of SLI4 port error attention and reset
        recovery (126813, 124466)
      - Fix failure in handling large CQ/EQ identifiers in an IOV
        environment (126856)
      - Fix for driver using duplicate RPIs after lancer port reset (126723)
      - Clear vport->fc_myDID in lpfc_els_issue_fdisc to guarentee a
        zero SID (126779, 126897)
      - Fix for SLI4 Port delivery for BLS ABORT ACC (126289)
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      6b5151fd
  14. 17 10月, 2011 1 次提交
    • J
      [SCSI] lpfc 8.3.27: Miscellanous logic and interface fixes · 73d91e50
      James Smart 提交于
      Miscellanous logic and interface fixes
      
      - Fix lpfc_init_vfi_cmpl to check the interface type for interface type 0
        before parsing the results.
      - Cast uint32_t values that are multiplied to uint64_t before the
        multiplication.
      - Instead of "break" statement when PCI read returned error, use the goto
        statement to the end of the routine after setting return value
      - moved the msleep(10) to the beginning of the wait loop for checking the
        SLIPort_Status register
      - Added the code to follow the existing wait for SLIPort_Status register RDY,
        ERR, and RN bits to be set by the port before proceeding to perform PCI
        function reset.
      - Do not override ulpCt_h and ulpCt_l for SLI 4 ports.
      - For vport delete, call lpfc_nlp_put when the vport's vpi state is not
        marked with VPI_REGISTERED.
      - Added missed fields into the driver's Controller Attributes Structure
      - Changed ringing EQ/CQ/RQ doorbell register to be dependent on the size
        of the queue.
      - Return -EACCES in issue_reset if cfg_enable_hba_reset is zero.
      - Added new logging flag LOG_FCP_UNDER 0x00040000 to qualify underrun logging.
      - Add a check in the fabric name display routine to display 0 if the port
        state is <= FLOGI.
      - Add a check to the switch statement in lpfc_decode_firmware_rev to check
        for an 'X'.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      73d91e50
  15. 27 5月, 2011 1 次提交
  16. 19 2月, 2011 1 次提交
  17. 22 12月, 2010 1 次提交
    • J
      [SCSI] lpfc 8.3.19: Add SLI4 FC Discovery support · 76a95d75
      James Smart 提交于
      Add SLI4 FC Discovery support
      
      - Replace READ_LA and READ_LA64 with READ_TOPOLOGY mailbox command.
      - Converted the old READ_LA structure to use bf_set/get instead of bit fields.
      - Rename HBA_FCOE_SUPPORT flag to HBA_FCOE_MODE. Flag now indicates function
        is running as SLI-4 FC or FCoE port. Make sure flag reset each time
        READ_REV completed as it can dynamically change.
      - Removed BDE union in the READ_TOPOLOGY mailbox command and added a define to
        define the ALPA MAP SIZE. Added FC Code for async events.
      - Added code to support new 16G link speed.
      - Define new set of values to keep track of valid user settable link speeds.
      - Used new link speed definitions to define link speed max and bitmap.
      - Redefined FDMI Port sppeds to be hax values and added the 16G value.
      - Added new CQE trailer code for FC Events.
      - Add lpfc_issue_init_vfi and lpfc_init_vfi_cmpl routines.
      - Replace many calls to the initial_flogi routine with lpfc_issue_init_vfi.
      - Add vp and vpi fields to the INIT_VFI mailbox command.
      - Addapt lpfc_hba_init_link routine for SLI4 use.
      - Use lpfc_hba_init_link call from lpfc_sli4_hba_setup.
      - Add a check for FC mode to register the FCFI before init link.
      - Convert lpfc_sli4_init_vpi to be called without a vpi (get it from vport).
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      76a95d75
  18. 30 3月, 2010 1 次提交
    • T
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo 提交于
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        blocks and try to put the new include such that its order conforms
        to its surrounding.  It's put in the include block which contains
        core kernel includes, in the same order that the rest are ordered -
        alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
        doesn't seem to be any matching order.
      
      * If the script can't find a place to put a new include (mostly
        because the file doesn't have fitting include block), it prints out
        an error message indicating which .h file needs to be added to the
        file.
      
      The conversion was done in the following steps.
      
      1. The initial automatic conversion of all .c files updated slightly
         over 4000 files, deleting around 700 includes and adding ~480 gfp.h
         and ~3000 slab.h inclusions.  The script emitted errors for ~400
         files.
      
      2. Each error was manually checked.  Some didn't need the inclusion,
         some needed manual addition while adding it to implementation .h or
         embedding .c file was more appropriate for others.  This step added
         inclusions to around 150 files.
      
      3. The script was run again and the output was compared to the edits
         from #2 to make sure no file was left behind.
      
      4. Several build tests were done and a couple of problems were fixed.
         e.g. lib/decompress_*.c used malloc/free() wrappers around slab
         APIs requiring slab.h to be added manually.
      
      5. The script was run on all .h files but without automatically
         editing them as sprinkling gfp.h and slab.h inclusions around .h
         files could easily lead to inclusion dependency hell.  Most gfp.h
         inclusion directives were ignored as stuff from gfp.h was usually
         wildly available and often used in preprocessor macros.  Each
         slab.h inclusion directive was examined and added manually as
         necessary.
      
      6. percpu.h was updated not to include slab.h.
      
      7. Build test were done on the following configurations and failures
         were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
         distributed build env didn't work with gcov compiles) and a few
         more options had to be turned off depending on archs to make things
         build (like ipr on powerpc/64 which failed due to missing writeq).
      
         * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
         * powerpc and powerpc64 SMP allmodconfig
         * sparc and sparc64 SMP allmodconfig
         * ia64 SMP allmodconfig
         * s390 SMP allmodconfig
         * alpha SMP allmodconfig
         * um on x86_64 SMP allmodconfig
      
      8. percpu.h modifications were reverted so that it could be applied as
         a separate patch and serve as bisection point.
      
      Given the fact that I had only a couple of failures from tests on step
      6, I'm fairly confident about the coverage of this conversion patch.
      If there is a breakage, it's likely to be something in one of the arch
      headers which should be easily discoverable easily on most builds of
      the specific arch.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Guess-its-ok-by: NChristoph Lameter <cl@linux-foundation.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
      5a0e3ad6
  19. 09 2月, 2010 2 次提交
  20. 05 12月, 2009 2 次提交
    • J
      [SCSI] lpfc 8.3.5: fix sysfs parameters, vport creation and other bugs and update logging · 6a9c52cf
      James Smart 提交于
      This patch include the following fixes and changes:
      - Fix crash when "error" is echoed to board_mode sysfs parameter
      - Fix FCoE Parameter parsing in regions 23
      - Fix driver crash when creating vport with large number of targets on SLI4
      - Fix bug with npiv message being logged when it is not supported by the adapter
      - Fix a potential dereferencing mailbox structure after free bug
      - Fix firmware crash after vport create with high target count
      - Error out requests to set board_mode to warm restart via sysfs on SLI4 HBAs
      - Fix Block guard logging
      - Fix a memory corruption issue during GID_FT IO prep
      - Fix crash while processing unsolicited FC frames
      - Fix failed to allocate XRI message is not a critical failure
      - Update and fix formatting in some log messages
      - Fix missing new line characters in log messages
      - Removed the use of the locally defined FC transport layer related macros
      - Check the rsplen in lpfc_handle_fcp_err function before using rsplen
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      6a9c52cf
    • J
      [SCSI] lpfc 8.3.5: fix VPI registration, error clean up and add support for vlink events · 6669f9bb
      James Smart 提交于
      This patch includes the following fixes and new features:
      - Fix mask size for CT field in WQE
      - Fix VPI base not used when unregistering VPI on port 1.
      - Fix UNREG_VPI mailbox command to unreg the correct VPI
      - Fixed Check for aborted els command
      - Fix error when trying to load driver with wrong firmware on FCoE HBA.
      - Fix bug with probe_one routines not putting the Scsi_Host back upon error
      - Add support for Clear Virtual Link Async Events
      - Add support for unsolicited CT exchange sequence abort
      - Add 0x0714 OCeXXXXX PCI ID
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      6669f9bb
  21. 21 9月, 2009 1 次提交
  22. 23 8月, 2009 1 次提交
  23. 15 6月, 2009 1 次提交
    • J
      [SCSI] lpfc 8.3.3 : Fix various SLI-3 vs SLI-4 differences · f1126688
      James Smart 提交于
      Contains the following changes
      - Set the CT field of FDISC to 3
      - Fixed over allocation of SCSI buffers on SLI4
      - Removed unused jump table entries
      - Increase LPFC_WQE_DEF_COUNT to 256
      - Updated FDISC context to VPI
      - Fixed immediate SCSI command for LUN reset translation to WQE
      - Extended mailbox handling to allow MBX_POLL commands in between async
        MBQ commands
      - Fixed SID used for FDISC
      - Fix crash when accessing ctlregs from sysfs for SLI4 HBAs
      - Fix SLI4 firmware version not being saved or displayed correctly
      - Expand CQID field in WQE structure to 16 bits
      - Fix post header template mailbox command timing out
      - Removed FCoE PCI device ID 0x0705
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      f1126688
  24. 09 6月, 2009 4 次提交
  25. 30 12月, 2008 1 次提交
    • J
      [SCSI] lpfc 8.3.0 : Fix multiple NPIV issues · eada272d
      James Smart 提交于
      - Fix lock up on rmmod with vports defined by having
        lpfc_pci_remove_one() invoke fc_vport_terminate() to remove all the
        vports before invoking fc_remove_host() for the physical port
      
      - Fix echotest failure when NPIV is enabled
      
      - Add the vport_disable function to the physical port's transport
        template to make the vport disable attribute visible
      
      - Set the vport state to DISABLE on create if the disable flag is
        true
      
      - Call lpfc_alloc_sysfs_attr() for vports so that statistical data
        collection works on them
      
      - Support setting a vport's symbolic name via sysfs by writing to
        /sys/class/fc_vport/vportX/symbolic_name
      
      - Fix create vport fails when link is down or in loop mode.  Should be
        able to be create vports any time NPIV is enabled
      
      - Fix slow vport deletes when deleting multiple vports at once
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      eada272d
  26. 13 10月, 2008 3 次提交
  27. 12 7月, 2008 2 次提交
  28. 10 4月, 2008 1 次提交
    • J
      [SCSI] lpfc 8.2.6 : Miscellaneous Fixes · 97eab634
      James Smart 提交于
      Miscellaneous Fixes
      - Allow WRITE_VPARAM command when the virtual port is in a stopped state
      - Fixed handling of our queue depth max that was unconditionally raising
        the depth on all vports, rather than just the vport affected.
      - Fix race in interrupt handler for mailbox processing that did not take
        out the host lock.
      - Removed unused functions: find_node, findnode_rpi, and fabric_abort_flogi
      - Correct misspelled word unsolicited in message 0146
      - Correct HW-error 5 handling - it should not reset the adapter
      - Correct handling of IOCBs, which did not null out our pCmd field before
        invoking the midlayer io done function.
      - Changed our maximum supported target id to 4096
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      97eab634