31 Dec, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (104 commits)
    [SCSI] fcoe: fix configuration problems
    [SCSI] cxgb3i: fix select/depend problem
    [SCSI] fcoe: fix incorrect use of struct module
    [SCSI] cxgb3i: remove use of skb->sp
    [SCSI] cxgb3i: Add cxgb3i iSCSI driver.
    [SCSI] zfcp: Remove unnecessary warning message
    [SCSI] zfcp: Add support for unchained FSF requests
    [SCSI] zfcp: Remove busid macro
    [SCSI] zfcp: remove DID_DID flag
    [SCSI] zfcp: Simplify mask lookups for incoming RSCNs
    [SCSI] zfcp: Remove initial device data from zfcp_data
    [SCSI] zfcp: fix compile warning
    [SCSI] zfcp: Remove adapter list
    [SCSI] zfcp: Simplify SBAL allocation to fix sparse warnings
    [SCSI] zfcp: register with SCSI layer on ccw registration
    [SCSI] zfcp: Fix message line break
    [SCSI] qla2xxx: changes in multiq code
    [SCSI] eata: fix the data buffer accessors conversion regression
    [SCSI] ibmvfc: Improve async event handling
    [SCSI] lpfc : correct printk types on PPC compiles
    ...

    Linus Torvalds
     

30 Dec, 2008

14 commits

  • This patch implements config_changed for the s390 virtio transport.

    We use the least significant bit of the interrupt parameter field
    to decide, if this interrupt should call the virtio virtqueue callback
    or the config_changed callback.

    This method is compatible with old host and guest code. Old 64 bit guests
    will not check the bit and trigger a harmless additional vring_interrupt
    call. Old host code will never set this bit, this is also safe.

    This patch also takes care of a potential future 31 bit virtio transport
    for s390. On 31 bit _LC_PFAULT_INTPARM and __LC_EXT_PARAMS are identical.
    We exploit the alignment of the token and fold the change bit into the
    lsb of the token itself.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Rusty Russell

    Christian Borntraeger
     
  • This allows each virtio user to hand in the alignment appropriate to
    their virtio_ring structures.

    Signed-off-by: Rusty Russell
    Acked-by: Christian Borntraeger

    Rusty Russell
     
  • This doesn't really matter, since s390 pagesize is 4k anyway.

    Signed-off-by: Rusty Russell
    Acked-by: Christian Borntraeger

    Rusty Russell
     
  • Remove a message that was emitted for a port that could not initially
    be opened. This is a rare case when the port discovery hits an
    initiator port and only confuses the user with an initator port logged
    in the message. Remove the whole special case: The failed "open port"
    request triggers required follow-up actions anyway.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • Add the support to send CT and ELS requests as unchained FSF requests. This is
    required for older hardware and was somehow omitted during the cleanup of the
    FSF layer. The req_count and resp_count attributes are unused, so remove them
    instead of adding a special case for setting them. Also add debug data and a
    warning, when the ct request hits a limit.

    Signed-off-by: Christof Schmitt
    Acked-by: Martin Petermann
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • With the change to the dev_ message macros, the macro to get the busid
    is only used in a few places. Remove it and directly get the dev_name
    from the device.

    Signed-off-by: Christof Schmitt
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • The port flag DID_DID indicates whether we know the current id of the
    port. This is always set in parallel. Since the id 0 is invalid
    (because the port id 0 is invalid) we can remove the DID_DID flag:
    d_id of 0 indicates an invalid d_id != 0 is a valid one.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • Use an array for looking up the mask corresponding to the 2-bit
    information instead of the switch/case.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • The information from the kernel parameter is only needed during init.
    Keep the three pieces (busid, wwpn and lun) local to simplify the
    global zfcp_data structures. While at it, also remove the unused
    loglevel variable and give the module parameter variable a better
    name.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • Get rid of this one:

    drivers/s390/scsi/zfcp_erp.c: In function 'zfcp_erp_thread':
    drivers/s390/scsi/zfcp_erp.c:1400: warning: ignoring return value of
    'down_interruptible', declared with attribute warn_unused_result

    zfcp_erp_thread is a kernel thread which can't receive any signals.
    So introduce a dummy variable and get rid of the warning.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Christof Schmitt
    Signed-off-by: James Bottomley

    Heiko Carstens
     
  • After the latest changes, the list of FCP devices is only used to
    lookup the adapter for requests from the actcli tool. Change this to
    use the lookup function in the cio layer. Now we can remove the
    adapter list and have one place less to use the global config_lock.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • When waiting for a request claim the SBAL before waiting. This way,
    locking before each check of the free counter is not required and
    sparse does not emit warnings for the complicated locking scheme.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     
  • Synchronize the registration and de-registration with the SCSI layer
    at CCW registration, de-registration. Before we registered with the
    SCSI layer on adapter activation. This way the reg and de-reg process
    is in balance.

    Signed-off-by: Swen Schillig
    Signed-off-by: Christof Schmitt
    Signed-off-by: James Bottomley

    Swen Schillig
     
  • Move the closing parenthesis before the line break.

    Signed-off-by: Christof Schmitt
    Acked-by: Felix Beck
    Signed-off-by: James Bottomley

    Christof Schmitt
     

29 Dec, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1429 commits)
    net: Allow dependancies of FDDI & Tokenring to be modular.
    igb: Fix build warning when DCA is disabled.
    net: Fix warning fallout from recent NAPI interface changes.
    gro: Fix potential use after free
    sfc: If AN is enabled, always read speed/duplex from the AN advertising bits
    sfc: When disabling the NIC, close the device rather than unregistering it
    sfc: SFT9001: Add cable diagnostics
    sfc: Add support for multiple PHY self-tests
    sfc: Merge top-level functions for self-tests
    sfc: Clean up PHY mode management in loopback self-test
    sfc: Fix unreliable link detection in some loopback modes
    sfc: Generate unique names for per-NIC workqueues
    802.3ad: use standard ethhdr instead of ad_header
    802.3ad: generalize out mac address initializer
    802.3ad: initialize ports LACPDU from const initializer
    802.3ad: remove typedef around ad_system
    802.3ad: turn ports is_individual into a bool
    802.3ad: turn ports is_enabled into a bool
    802.3ad: make ntt bool
    ixgbe: Fix set_ringparam in ixgbe to use the same memory pools.
    ...

    Fixed trivial IPv4/6 address printing conflicts in fs/cifs/connect.c due
    to the conversion to %pI (in this networking merge) and the addition of
    doing IPv6 addresses (from the earlier merge of CIFS).

    Linus Torvalds
     

25 Dec, 2008

24 commits