01 Mar, 2013

1 commit

  • Pull first round of SCSI updates from James Bottomley:
    "The patch set is mostly driver updates (bnx2fc, ipr, lpfc, qla4) and a
    few bug fixes"

    Pull delayed because google hates James, and sneakily considers his pull
    requests spam. Why, google, why?

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (60 commits)
    [SCSI] aacraid: 1024 max outstanding command support for Series 7 and above
    [SCSI] bnx2fc: adjust duplicate test
    [SCSI] qla4xxx: Update driver version to 5.03.00-k4
    [SCSI] qla4xxx: Fix return code for qla4xxx_session_get_param.
    [SCSI] qla4xxx: wait for boot target login response during probe.
    [SCSI] qla4xxx: Added support for force firmware dump
    [SCSI] qla4xxx: Re-register IRQ handler while retrying initialize of adapter
    [SCSI] qla4xxx: Throttle active IOCBs to firmware limits
    [SCSI] qla4xxx: Remove unnecessary code from qla4xxx_init_local_data
    [SCSI] qla4xxx: Quiesce driver activities while loopback
    [SCSI] qla4xxx: Rename MBOX_ASTS_IDC_NOTIFY to MBOX_ASTS_IDC_REQUEST_NOTIFICATION
    [SCSI] qla4xxx: Add spurious interrupt messages under debug level 2
    [SCSI] cxgb4i: Remove the scsi host device when removing device
    [SCSI] bfa: fix strncpy() limiter in bfad_start_ops()
    [SCSI] qla4xxx: Update driver version to 5.03.00-k3
    [SCSI] qla4xxx: Correct the validation to check in get_sys_info mailbox
    [SCSI] qla4xxx: Pass correct function param to qla4_8xxx_rd_direct
    [SCSI] lpfc 8.3.37: Update lpfc version for 8.3.37 driver release
    [SCSI] lpfc 8.3.37: Fixed infinite loop in lpfc_sli4_fcf_rr_next_index_get.
    [SCSI] lpfc 8.3.37: Fixed crash due to SLI Port invalid resource count
    ...

    Linus Torvalds
     

28 Feb, 2013

1 commit


30 Jan, 2013

1 commit


04 Jan, 2013

1 commit

  • 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
    Cc: Adam Radford
    Cc: "James E.J. Bottomley"
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

07 Oct, 2012

15 commits


03 Oct, 2012

1 commit

  • Pull first round of SCSI updates from James Bottomley:
    "This is a large set of updates, mostly for drivers (qla2xxx [including
    support for new 83xx based card], qla4xxx, mpt2sas, bfa, zfcp, hpsa,
    be2iscsi, isci, lpfc, ipr, ibmvfc, ibmvscsi, megaraid_sas).

    There's also a rework for tape adding virtually unlimited numbers of
    tape drives plus a set of dif fixes for sd and a fix for a live lock
    on hot remove of SCSI devices.

    This round includes a signed tag pull of isci-for-3.6

    Signed-off-by: James Bottomley "

    Fix up trivial conflict in drivers/scsi/qla2xxx/qla_nx.c due to new PCI
    helper function use in a function that was removed by this pull.

    * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (198 commits)
    [SCSI] st: remove st_mutex
    [SCSI] sd: Ensure we correctly disable devices with unknown protection type
    [SCSI] hpsa: gen8plus Smart Array IDs
    [SCSI] qla4xxx: Update driver version to 5.03.00-k1
    [SCSI] qla4xxx: Disable generating pause frames for ISP83XX
    [SCSI] qla4xxx: Fix double clearing of risc_intr for ISP83XX
    [SCSI] qla4xxx: IDC implementation for Loopback
    [SCSI] qla4xxx: update copyrights in LICENSE.qla4xxx
    [SCSI] qla4xxx: Fix panic while rmmod
    [SCSI] qla4xxx: Fail probe_adapter if IRQ allocation fails
    [SCSI] qla4xxx: Prevent MSI/MSI-X falling back to INTx for ISP82XX
    [SCSI] qla4xxx: Update idc reg in case of PCI AER
    [SCSI] qla4xxx: Fix double IDC locking in qla4_8xxx_error_recovery
    [SCSI] qla4xxx: Clear interrupt while unloading driver for ISP83XX
    [SCSI] qla4xxx: Print correct IDC version
    [SCSI] qla4xxx: Added new mbox cmd to pass driver version to FW
    [SCSI] scsi_dh_alua: Enable STPG for unavailable ports
    [SCSI] scsi_remove_target: fix softlockup regression on hot remove
    [SCSI] ibmvscsi: Fix host config length field overflow
    [SCSI] ibmvscsi: Remove backend abstraction
    ...

    Linus Torvalds
     

02 Oct, 2012

1 commit

  • Pull the trivial tree from Jiri Kosina:
    "Tiny usual fixes all over the place"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    doc: fix old config name of kprobetrace
    fs/fs-writeback.c: cleanup riteback_sb_inodes kerneldoc
    btrfs: fix the commment for the action flags in delayed-ref.h
    btrfs: fix trivial typo for the comment of BTRFS_FREE_INO_OBJECTID
    vfs: fix kerneldoc for generic_fh_to_parent()
    treewide: fix comment/printk/variable typos
    ipr: fix small coding style issues
    doc: fix broken utf8 encoding
    nfs: comment fix
    platform/x86: fix asus_laptop.wled_type module parameter
    mfd: printk/comment fixes
    doc: getdelays.c: remember to close() socket on error in create_nl_socket()
    doc: aliasing-test: close fd on write error
    mmc: fix comment typos
    dma: fix comments
    spi: fix comment/printk typos in spi
    Coccinelle: fix typo in memdup_user.cocci
    tmiofb: missing NULL pointer checks
    tools: perf: Fix typo in tools/perf
    tools/testing: fix comment / output typos
    ...

    Linus Torvalds
     

24 Sep, 2012

9 commits


02 Sep, 2012

1 commit


20 Jul, 2012

4 commits

  • - Remove unnecessary if NULL check in function bfa_fcs_vport_free().
    - Set correct return error codes in case of memory allocation failure
    in the BSG ELS/CT passthru command handler.

    Signed-off-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Krishna Gudipati
     
  • 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:
    [] __lock_acquire+0x1363/0x1bb0
    [] ? __slab_alloc+0x4a0/0x4fd
    [] ? native_sched_clock+0x13/0x80
    [] ? sched_clock+0x9/0x10
    [] lock_acquire+0xa1/0x1e0
    [] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
    [] _raw_spin_lock_irqsave+0x65/0xb0
    [] ? bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
    [] bfa_fcs_lport_aen_post+0x43/0x160 [bfa]
    [] bfa_fcs_lport_init+0x97/0x120 [bfa]
    [] bfa_fcs_fabric_sm_uninit+0x1cf/0x250 [bfa]
    [] bfa_fcs_fabric_modinit+0x2a/0xb0 [bfa]
    [] ? bfa_fcs_fabric_attach+0xf2/0x170 [bfa]
    [] bfa_fcs_init+0x2a/0x40 [bfa]
    [] bfad_drv_init+0x107/0x1f0 [bfa]
    [] bfad_pci_probe+0x277/0x450 [bfa]
    [] local_pci_probe+0x5c/0xd0
    [] pci_device_probe+0x111/0x120
    [] driver_probe_device+0x96/0x2f0
    [] __driver_attach+0xab/0xb0
    [] ? driver_probe_device+0x2f0/0x2f0
    [] bus_for_each_dev+0x55/0x90
    [] ? 0xffffffffa037afff
    [] driver_attach+0x1e/0x20
    [] bus_add_driver+0x1b8/0x2b0
    [] ? 0xffffffffa037afff
    [] driver_register+0x77/0x160
    [] ? 0xffffffffa037afff
    [] __pci_register_driver+0x73/0xf0
    [] ? 0xffffffffa037afff
    [] bfad_init+0x83/0x1000 [bfa]
    [] do_one_initcall+0x12a/0x180
    [] sys_init_module+0xc0/0x220
    [] system_call_fastpath+0x16/0x1b

    Signed-off-by: Kyle McMartin
    Acked-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Kyle McMartin
     
  • If bfad_thread_workq(bfad) was not BFA_STATUS_OK then we freed "im"
    and then dereferenced it.

    I did a little clean up because it seemed nicer to return directly
    instead of doing a superfluous goto. I looked at other functions in
    this file and it seems like returning directly is standard.

    Signed-off-by: Dan Carpenter
    Acked-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Dan Carpenter
     
  • If mc == BFI_MC_MAX then we're reading past the end of the
    mod->mbhdlr[] array.

    Signed-off-by: Dan Carpenter
    Acked-by: Krishna Gudipati
    Signed-off-by: James Bottomley

    Dan Carpenter
     

22 May, 2012

1 commit


25 Apr, 2012

3 commits


28 Mar, 2012

1 commit