25 May, 2011

1 commit


31 Mar, 2011

1 commit


24 Mar, 2011

4 commits


22 Dec, 2010

1 commit


26 Oct, 2010

2 commits

  • Since interrupts are registered in start_firmware(load_risc) for 82xx,
    free them if init_firmware fails.

    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Karen Higgins
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     
  • * cleanup function qla4xxx_recovery_timeout
    - No need to wakeup dpc thread from function
    qla4xxx_recovery_timeout() as we are not doing anything
    in do_dpc() thread when wakeup from
    qla4xxx_recovery_timeout()

    * cleanup function qla4xxx_wait_for_hba_online
    - Remove hard coded value from qla4xxx_wait_for_hba_online().

    * cleanup function qla4xxx_start_firmware_from_flash
    - display seconds

    * cleanup function qla4_8xxx_load_risc
    - Remove redundant code.

    * cleanup function qla4xxx_get_firmware_status
    - update debug statement

    * cleanup function qla4_8xxx_try_start_fw
    - update return status

    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     

07 Aug, 2010

3 commits


05 Aug, 2010

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
    Documentation: update broken web addresses.
    fix comment typo "choosed" -> "chosen"
    hostap:hostap_hw.c Fix typo in comment
    Fix spelling contorller -> controller in comments
    Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
    fs/Kconfig: Fix typo Userpace -> Userspace
    Removing dead MACH_U300_BS26
    drivers/infiniband: Remove unnecessary casts of private_data
    fs/ocfs2: Remove unnecessary casts of private_data
    libfc: use ARRAY_SIZE
    scsi: bfa: use ARRAY_SIZE
    drm: i915: use ARRAY_SIZE
    drm: drm_edid: use ARRAY_SIZE
    synclink: use ARRAY_SIZE
    block: cciss: use ARRAY_SIZE
    comment typo fixes: charater => character
    fix comment typos concerning "challenge"
    arm: plat-spear: fix typo in kerneldoc
    reiserfs: typo comment fix
    update email address
    ...

    Linus Torvalds
     

28 Jul, 2010

8 commits


17 Jun, 2010

1 commit


03 May, 2010

4 commits

  • Per RFC 3720, Login Response Status Code 0x02 should not be retried.
    Condensed connection error checking code to a single routine, and
    added check for status class 0x02.

    Signed-off-by: Karen Higgins
    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     
  • Updated firmware ready timeout algorithm to prevent
    long delays and use jiffies to time out instead of
    counter. Also use msleep_interruptible instead of msleep.

    Signed-off-by: Karen Higgins
    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     
  • Link Down -> Mark all devices missing
    Previously, the driver took no action on a Link Down,
    and waited for the I/O on a dead connection to timeout
    in the firmware before marking the DDB missing.

    Link Up -> Mark all devices online
    F/W will do auto login to all the devices only once.
    After that its the responsibility of the driver to
    relogin to devices whenever there is :
    * Any sort of connection failure or
    * KATO expires indicating target has logged out or
    * I/O times out etc.

    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Karen Higgins
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     
  • Signed-off-by: Karen Higgins
    Signed-off-by: Vikas Chaudhary
    Signed-off-by: Ravi Anand
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Vikas Chaudhary
     

18 Feb, 2010

1 commit


25 Jan, 2009

1 commit

  • qla4xxx does not check the I_T nexus values correctly
    so it ends up creating one session to the target. If
    a portal should disappear or they should be reported
    in different order the driver will think it is already
    logged in when it could now be speaking to a different
    target portal or accessing it through a different
    initiator port (iscsi initiator port is not tied to
    hardware and is just the initiator name plus isid
    so you could end up with multiple ports through one
    host).

    This patch has the driver check the iscsi scsi port
    values when matching sessions (we do not check
    the initiator name because that is static). It results
    in a portal from each target portal group getting
    logged into instead of just one per target. In the future
    the firmware should hopefully send us notification of other
    sessions that are created to other portals within the
    same tpgt and the sessions should have different isids.

    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Mike Christie
     

06 Mar, 2008

1 commit

  • The host reset callout could be starting to reset the hba at the same
    time the dpc thread is. This creates lots of problems because they both
    want to do wierd things with the firmware and interrupts, etc.

    This patch just has the host reset function fully shutdown the dpc
    thread before resetting the hba.

    This patch also moves the setting of the session online bit to fix
    a potential race with the dpc thread and iscsi recovery thread.

    Signed-off-by: Mike Christie
    Acked-by: David C Somayajulu
    Signed-off-by: James Bottomley

    Mike Christie
     

08 Feb, 2008

1 commit

  • Qla4xxx can just call the iscsi recovery functions directly.
    There is no need for userspace to do this for qla4xxx, because
    we do not use the mutex to iterate over devices anymore and iscsi_block
    /unblock_session can be called from interrupt context or the dpc thread.
    And having userspace do this just creates uneeded headaches for qla4xxx root
    situations where the session may experience problems. For example
    during the kernel shutdown the scsi layer wants to send sync caches, but at
    this time userspace is not up (iscsid is not running), so we cannot
    recover from the problem.

    Signed-off-by: Mike Christie
    Cc: David Somayajulu
    Signed-off-by: James Bottomley

    Mike Christie
     

03 Feb, 2008

1 commit


12 Jan, 2008

1 commit

  • We were using the device delete sysfs file to remove each device
    then logout. Now in 2.6.21 this will not work because
    the sysfs delete file returns immediately and does not wait for
    the device removal to complete. This causes a hang if a cache sync
    is needed during shutdown. Before .21, that approach had other
    problems, so this patch fixes the shutdown code so that we remove the target
    and unbind the session before logging out and shut down the session

    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Mike Christie
     

20 Oct, 2007

1 commit


18 Jun, 2007

1 commit


27 May, 2007

1 commit

  • In qla4xxx_get_ddb_entry() and qla4xxx_add_device_dynamically()
    differentiate between a target which has been newly added vs a target
    which went offline temporarily and is online again. In
    qla4xxx_build_ddb_list() firmware ddb state needs to be updated by
    calling qla4xxx_get_ddb_entry(). Fix qla4x00_pci_config() and clean up
    code.

    Signed-off-by: David Somayajulu
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    David C Somayajulu
     

06 May, 2007

1 commit


27 Jan, 2007

1 commit

  • The included patch fixes the following issues:

    1. qla3xxx/qla4xxx co-existence issue which can result in a lockup
    when qla3xxx driver is unloaded, or when ifdown; ifup is performed on
    one of the interfaces correponding to qla3xxx. This is because qla4xxx
    HBA supports one ethernet and iscsi interfaces per port. Both iscsi
    and ethernet interfaces share the same state machine. The problem has
    to do with synchronizing access to the state machine in the event of a
    reset

    2. mutex_lock() is sometimes not followed by mutex_unlock() prior to
    invoking a msleep() in qla4xxx_mailbox_command()

    Signed-off-by: James Bottomley

    David C Somayajulu
     

23 Nov, 2006

2 commits


05 Oct, 2006

1 commit