28 Jul, 2010

1 commit

  • This fixes a softlockup seen on resume. During resume, the CRQ
    must be reenabled. However, the H_ENABLE_CRQ hcall used to do
    this may return H_BUSY or H_LONG_BUSY. When this happens, the
    caller is expected to retry later. This patch changes a simple
    loop, which was causing the softlockup, to a loop at task level
    which sleeps between retries rather than simply spinning.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    Brian King
     

03 Mar, 2010

1 commit

  • Adds support for resuming from suspend for IBM VSCSI devices. We may have
    lost an interrupt over the suspend, so we just kick the interrupt handler
    to process anything that is outstanding. We expect to find a transport event
    indicating we need to reestablish our CRQ.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    Brian King
     

09 Jun, 2009

1 commit

  • Add support to ibmvscsi for the capabilities MAD. This command gets sent
    to the Virtual I/O server prior to login in order to communicate client
    capabilities. Additionally it returns information regarding capabilities
    that the server supports. The two main capabilities communicated in this
    MAD are related to partition migration and client reserve. Client reserve
    allows for SCSI-2 reservations to be sent to virtual disks which are backed
    by physical LUNs and will result in the reservation being sent to the
    physical LUN.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    Brian King
     

25 Jul, 2008

1 commit

  • Enable the driver to function in a Cooperative Memory Overcommitment (CMO)
    environment.

    The following changes are made to enable the driver for CMO:
    * DMA mapping errors will not result in error messages if entitlement has
    been exceeded and resources were not available.
    * The driver has a get_desired_dma function defined to function
    in a CMO environment. It will indicate how much IO memory it would like
    to function.

    Signed-off-by: Robert Jennings
    Acked by: Brian King
    Acked-by: Paul Mackerras
    Acked-by: James Bottomley
    Signed-off-by: Benjamin Herrenschmidt

    Robert Jennings
     

13 Oct, 2007

1 commit

  • If you build a multiplatform kernel for iSeries and pSeries, with
    ibmvscsic support, the resulting client doesn't work on iSeries.

    This fixes that, using the appropriate low-level operations
    for the machine detected at runtime.

    [jejb: fixed up rejections around the srp transport patch]

    Signed-off-by: David Woodhouse
    Acked by: Brian King
    Signed-off-by: Paul Mackerras
    Signed-off-by: James Bottomley

    David Woodhouse
     

18 Jun, 2007

1 commit

  • Adds an eh_host_reset_handler to ibmvscsi which resets the connection
    to the vscsi server. This patch also adds a timer to internally
    issues commands to prevent client hangs in the case of a misbehaving
    server. Tested by modifying the VIOS such that it would occasionally
    drop one or more request in sequence.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    Brian King
     

30 May, 2007

1 commit


01 Apr, 2007

1 commit


13 Apr, 2006

1 commit


26 Jan, 2006

1 commit


07 Dec, 2005

1 commit

  • This makes ibmvscsi work correctly with the recent set of kexec
    patches that went in. This is based on work by Michael Ellerman, who
    chased this initially. He validated that it works during kexec.

    Handle kexec correctly in ibmvscsi. During kexec the adapter
    will not get cleaned up correctly, so we may need to reset it
    to make it sane again.

    Signed-off-by: Dave Boutcher
    Signed-off-by: James Bottomley

    Dave C Boutcher
     

07 Sep, 2005

1 commit

  • The maximum size of a scatter-gather list that the current IBM VSCSI
    Client can handle is 10. This patch adds large scatter-gather support
    to the client so that it is capable of handling up to SG_ALL(255)
    number of requests in the scatter-gather list.

    Signed-off-by: Linda Xie
    Acked by: Dave C Boutcher

    Rejections fixed up and
    Signed-off-by: James Bottomley

    James Bottomley
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds