20 Mar, 2014

1 commit


16 Mar, 2014

3 commits

  • For various error conditions the bfa driver just returns
    'DID_ERROR', which carries no information at all about the
    actual source of error.
    This patch updates the error handling to return a correct
    error code, depending on the type of error occurred.

    Signed-off-by: Hannes Reinecke
    Acked-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Hannes Reinecke
     
  • Fixed following smatch warnings in bfa.
    drivers/scsi/bfa/bfa_ioc.c:3882 bfa_sfp_show_comp() error: memcpy()
    'des' too small (64 vs 248)
    drivers/scsi/bfa/bfa_ioc.c:6859 bfa_flash_status_read() warn: unsigned
    'status' is never less than zero.
    drivers/scsi/bfa/bfa_ioc.c:6881 bfa_flash_status_read() warn: unsigned
    'status' is never less than zero.
    drivers/scsi/bfa/bfa_ioc.c:6917 bfa_flash_read_start() warn: unsigned
    'status' is never less than zero.
    drivers/scsi/bfa/bfa_ioc.c:7043 bfa_flash_raw_read() warn: unsigned
    'status' is never less than zero.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • Add the missing unlock before return from function bfad_iocmd_cfg_trunk()
    in the error handling case.

    Signed-off-by: Wei Yongjun
    Acked-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Wei Yongjun
     

23 Jan, 2014

1 commit


19 Dec, 2013

8 commits

  • Patch includes changes to upgrade bfa driver version to 3.2.23.0 and use
    firmware version 3.2.3.0

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • As per the FCP specs, the timeout for issuing ABTS is 20 sec; not 21
    sec. Hence setting the TOV to 20 sec.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • Observed Auto mode in the HBA side while doing manual D-Port test on the
    switch side. Mode is not passed to BFA from firmware when the test is
    triggered by switch side. BFA just blindly using Auto mode.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • This patch set fixes the issue of brocade management utility hang
    (bcu/HCM) when faa attributes are queried from multiple application
    threads. Hang was due to race between the threads and completion handler
    corruption.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • In direct attach mode, if port features like QoS/Trunk/FEC/CR are
    enabled, driver can receive PLOGI from the target before firmware
    notifies lport online to the driver. In case the lport is not yet online
    and a PLOGI is received, send a reject to the peer port, instead of
    dropping it on the floor.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • This patch addresses the issue of port not being registered with SCSI
    layer on bfa or firmware initialization failure and subsequently failure
    in collecting driver traces for debugging port init failures. Also it
    has minor changes related to bfad state machine clean up.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • This patch includes change to enable firmware patch simplication
    feature. This feature is targeted to address the requirement to have
    independent patch release for firmware. Prior to 3.2.3, releasing a
    patch fix for firmware requires changes to bfa, to use new firmware
    images. But with these changes, if the new firmware is flashed on to the
    HBA with brocade adapter management utilites, driver uses the new
    firmware after checking the patch release byte in the firmware version.

    Signed-off-by: Vijaya Mohan Guvva
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     
  • Bfa driver crash is observed while pushing the firmware on to chinook
    quad port card due to uninitialized bfi_image_ct2 access which gets
    initialized only for CT2 ASIC based cards after request_firmware().
    For quard port chinook (CT2 ASIC based), bfi_image_ct2 is not getting
    initialized as there is no check for chinook PCI device ID before
    request_firmware and instead bfi_image_cb is initialized as it is the
    default case for card type check.

    This patch includes changes to read the right firmware for quad port chinook.

    Signed-off-by: Vijaya Mohan Guvva
    Cc: stable@vger.kernel.org
    Signed-off-by: James Bottomley

    Vijaya Mohan Guvva
     

03 Dec, 2013

1 commit


16 Nov, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual earth-shaking, news-breaking, rocket science pile from
    trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
    doc: add missing files to timers/00-INDEX
    timekeeping: Fix some trivial typos in comments
    mm: Fix some trivial typos in comments
    irq: Fix some trivial typos in comments
    NUMA: fix typos in Kconfig help text
    mm: update 00-INDEX
    doc: Documentation/DMA-attributes.txt fix typo
    DRM: comment: `halve' -> `half'
    Docs: Kconfig: `devlopers' -> `developers'
    doc: typo on word accounting in kprobes.c in mutliple architectures
    treewide: fix "usefull" typo
    treewide: fix "distingush" typo
    mm/Kconfig: Grammar s/an/a/
    kexec: Typo s/the/then/
    Documentation/kvm: Update cpuid documentation for steal time and pv eoi
    treewide: Fix common typo in "identify"
    __page_to_pfn: Fix typo in comment
    Correct some typos for word frequency
    clk: fixed-factor: Fix a trivial typo
    ...

    Linus Torvalds
     

14 Oct, 2013

1 commit

  • Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
    (device-core: Ensure drvdata = NULL when no driver is bound),
    the driver core clears the driver data to NULL after device_release
    or on probe failure. Thus, it is not needed to manually clear the
    device driver data to NULL.

    Signed-off-by: Jingoo Han
    Cc: James Bottomley
    Signed-off-by: Jiri Kosina

    Jingoo Han
     

24 Sep, 2013

1 commit

  • Use pcie_get_readrq()/pcie_set_readrq() to simplify code.

    Jon Mason proposed a similar patch a couple years ago (see below).

    [bhelgaas: validate pcie_max_read_reqsz, add pointer to Jon's patch]
    Reference: http://lkml.kernel.org/r/1309191190-14670-1-git-send-email-jdmason@kudzu.us
    Signed-off-by: Yijing Wang
    Signed-off-by: Bjorn Helgaas
    Cc: Jiang Liu
    Cc: Anil Gurumurthy
    Cc: Vijaya Mohan Guvva
    Cc: "James E.J. Bottomley"

    Yijing Wang
     

07 Sep, 2013

1 commit

  • Pull trivial tree from Jiri Kosina:
    "The usual trivial updates all over the tree -- mostly typo fixes and
    documentation updates"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (52 commits)
    doc: Documentation/cputopology.txt fix typo
    treewide: Convert retrun typos to return
    Fix comment typo for init_cma_reserved_pageblock
    Documentation/trace: Correcting and extending tracepoint documentation
    mm/hotplug: fix a typo in Documentation/memory-hotplug.txt
    power: Documentation: Update s2ram link
    doc: fix a typo in Documentation/00-INDEX
    Documentation/printk-formats.txt: No casts needed for u64/s64
    doc: Fix typo "is is" in Documentations
    treewide: Fix printks with 0x%#
    zram: doc fixes
    Documentation/kmemcheck: update kmemcheck documentation
    doc: documentation/hwspinlock.txt fix typo
    PM / Hibernate: add section for resume options
    doc: filesystems : Fix typo in Documentations/filesystems
    scsi/megaraid fixed several typos in comments
    ppc: init_32: Fix error typo "CONFIG_START_KERNEL"
    treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks
    page_isolation: Fix a comment typo in test_pages_isolated()
    doc: fix a typo about irq affinity
    ...

    Linus Torvalds
     

04 Sep, 2013

1 commit


03 Sep, 2013

1 commit


05 Jul, 2013

1 commit

  • Pull first round of SCSI updates from James Bottomley:
    "The patch set is mostly driver updates (usf, zfcp, lpfc, mpt2sas,
    megaraid_sas, bfa, ipr) and a few bug fixes. Also of note is that the
    Buslogic driver has been rewritten to a better coding style and 64 bit
    support added. We also removed the libsas limitation on 16 bytes for
    the command size (currently no drivers make use of this)"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (101 commits)
    [SCSI] megaraid: minor cut and paste error fixed.
    [SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call
    [SCSI] ufs: fix register address in UIC error interrupt handling
    [SCSI] ufshcd-pltfrm: add missing empty slot in ufs_of_match[]
    [SCSI] ufs: use devres functions for ufshcd
    [SCSI] ufs: Fix the response UPIU length setting
    [SCSI] ufs: rework link start-up process
    [SCSI] ufs: remove version check before IS reg clear
    [SCSI] ufs: amend interrupt configuration
    [SCSI] ufs: wrap the i/o access operations
    [SCSI] storvsc: Update the storage protocol to win8 level
    [SCSI] storvsc: Increase the value of scsi timeout for storvsc devices
    [SCSI] MAINTAINERS: Add myself as the maintainer for BusLogic SCSI driver
    [SCSI] BusLogic: Port driver to 64-bit.
    [SCSI] BusLogic: Fix style issues
    [SCSI] libiscsi: Added new boot entries in the session sysfs
    [SCSI] aacraid: Fix for arrays are going offline in the system. System hangs
    [SCSI] ipr: IOA Status Code(IOASC) update
    [SCSI] sd: Update WRITE SAME heuristics
    [SCSI] fnic: potential dead lock in fnic_is_abts_pending()
    ...

    Linus Torvalds
     

29 Jun, 2013

1 commit


27 Jun, 2013

17 commits


26 Jun, 2013

1 commit