10 May, 2007

7 commits


09 May, 2007

9 commits

  • Signed-off-by: Michael Opdenacker
    Signed-off-by: Adrian Bunk

    Michael Opdenacker
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (58 commits)
    [SCSI] zfcp: clear boxed flag on unit reopen.
    [SCSI] zfcp: clear adapter failed flag if an fsf request times out.
    [SCSI] zfcp: rework request ID management.
    [SCSI] zfcp: Fix deadlock between zfcp ERP and SCSI
    [SCSI] zfcp: Locking for req_no and req_seq_no
    [SCSI] zfcp: print S_ID and D_ID with 3 bytes
    [SCSI] ipr: Use PCI-E reset API for new ipr adapter
    [SCSI] qla2xxx: Update version number to 8.01.07-k7.
    [SCSI] qla2xxx: Add MSI support.
    [SCSI] qla2xxx: Correct pci_set_msi() usage semantics.
    [SCSI] qla2xxx: Attempt to stop firmware only if it had been previously executed.
    [SCSI] qla2xxx: Honor NVRAM port-down-retry-count settings.
    [SCSI] qla2xxx: Error-out during probe() if we're unable to complete HBA initialization.
    [SCSI] zfcp: Stop system after memory corruption
    [SCSI] mesh: cleanup variable usage in interrupt handler
    [SCSI] megaraid: replace yield() with cond_resched()
    [SCSI] megaraid: fix warnings when CONFIG_PROC_FS=n
    [SCSI] aacraid: correct SUN products to README
    [SCSI] aacraid: superfluous adapter reset for IBM 8 series ServeRAID controllers
    [SCSI] aacraid: kexec fix (reset interrupt handler)
    ...

    Linus Torvalds
     
  • The boxed flag for units was never cleared. This doesn't hurt, but on
    ACL updates the error recovery could reopen more units than needed.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Swen Schillig
    Signed-off-by: James Bottomley

    Heiko Carstens
     
  • Must clear adapter failed flag if an fsf request times out. This is
    necessary because on link down situations the failed flags gets set
    but the QDIO queues are still up. Since an adapter reopen will be
    skipped if the failed flag is set an adapter_reopen that is issued
    on fsf request timeout has no effect if the local link is down.
    Might lead to locked up system if the SCSI stack is waiting for abort
    completion.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Swen Schillig
    Signed-off-by: James Bottomley

    Heiko Carstens
     
  • Simplify request ID management and make sure that frequently used
    functions are inlined. Also fix a memory leak in zfcp_adapter_enqueue()
    which only gets hit in error handling.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Swen Schillig
    Signed-off-by: James Bottomley

    Heiko Carstens
     
  • The SCSI stack requires low level drivers to register and
    unregister devices. For zfcp this leads to the situation where
    zfcp calls the SCSI stack, the SCSI tries to scan the new device
    and the scan SCSI command fails. This would require the zfcp erp,
    but the erp thread is already blocked in the register call.

    The fix is to make sure that the calls from the ERP thread to
    the SCSI stack do not block the ERP thread. In detail:
    1) Use a workqueue to avoid blocking of the scsi_scan_target calls.
    2) When removing a unit make sure that no scsi_scan_target call is
    pending.
    3) Replace scsi_flush_work with scsi_target_unblock. This avoids
    blocking and has the same result.

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

    Christof Schmitt
     
  • There is a possible race condition while generating the unique
    request ids and sequence numbers. Both might be read at the
    same time and have the same value. Fix this by serializing the
    access through the queue lock of the adapter: First call
    zfcp_fsf_req_sbal_get that acquires the lock, then read and
    increment the unique ids.

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

    Christof Schmitt
     
  • S_ID and D_ID are defined in the FCP spec as 3 byte fields.
    Change the output in zfcp print statements accordingly to print
    them with only 3 bytes.

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

    Christof Schmitt
     
  • For each request that is sent to the FCP adapter, zfcp allocates
    memory. Status information and data that is being read from the
    device is written to this memory by the hardware. After that,
    the hardware signals this via the response queue and zfcp
    continues processing.

    Now, if zfcp detects that there is a signal for an incoming
    response from the hardware, but there is no outstanding request
    for that request id, then some memory that can be in use anywhere
    in the system has just been overwritten. This should never happen,
    but if it does, stop the system with a panic.

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

    Christof Schmitt
     

08 May, 2007

4 commits

  • s390: qeth driver hardware specs adaptions
    - according to the latest OSA hardware specification
    incorporate actual IPA command and return codes into qeth.
    - whitespaces removed from qeth_mpc.h

    Signed-off-by: Peter Tiedemann
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Peter Tiedemann
     
  • don't remove an entry from iucv_connection_list in netiucv_exit().
    netiucv_free_netdevice is called anyway, which takes care of entry
    removal.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Ursula Braun
     
  • Free sent skbs in some finite amount of time. Affected are
    asynchronous queue of Hipersockets devices and the output
    queues of all eth-devices respectively.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Ursula Braun
     
  • Frank Pavlic

    Connection hangs when using EDDP mode because sk_protocol is NULL
    when skb has been copied via skb_copy. This results in dropping
    packets.
    Also keep MAC address after recovery of Virtual NICs so that
    traffic can flow again and duplicate statements in
    qeth_dev_set_route_store removed.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Ursula Braun
     

06 May, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (87 commits)
    [SCSI] fusion: fix domain validation loops
    [SCSI] qla2xxx: fix regression on sparc64
    [SCSI] modalias for scsi devices
    [SCSI] sg: cap reserved_size values at max_sectors
    [SCSI] BusLogic: stop using check_region
    [SCSI] tgt: fix rdma transfer bugs
    [SCSI] aacraid: fix aacraid not finding device
    [SCSI] aacraid: Correct SMC products in aacraid.txt
    [SCSI] scsi_error.c: Add EH Start Unit retry
    [SCSI] aacraid: [Fastboot] Panics for AACRAID driver during 'insmod' for kexec test.
    [SCSI] ipr: Driver version to 2.3.2
    [SCSI] ipr: Faster sg list fetch
    [SCSI] ipr: Return better qc_issue errors
    [SCSI] ipr: Disrupt device error
    [SCSI] ipr: Improve async error logging level control
    [SCSI] ipr: PCI unblock config access fix
    [SCSI] ipr: Fix for oops following SATA request sense
    [SCSI] ipr: Log error for SAS dual path switch
    [SCSI] ipr: Enable logging of debug error data for all devices
    [SCSI] ipr: Add new PCI-E IDs to device table
    ...

    Linus Torvalds
     

05 May, 2007

4 commits


28 Apr, 2007

4 commits

  • We often have the situation that we register a subchannel and start device
    recognition, only to find out that the device is not usable after all, which
    triggers an unregister of the subchannel. This often happens on hundreds of
    subchannels on a LPAR, leading to a storm of events which aren't of any use.
    Therefore, use uevent_suppress to delay the KOBJ_ADD uevent for a subchannel
    until we know that its ccw_device is to be registered.

    Signed-off-by: Cornelia Huck
    Cc: Kay Sievers
    Cc: Eric Rannaud
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • the current driver tree contains the removal of subsys.rwsem.
    Unfortunately, this breaks qeth. However, it should be no problem to
    fix the walking of the devices for /proc/qeth:

    No need to take subsys.rwsem during walking the devices,
    driver_find_devices() should already suffice.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • Make use of add_uevent_var() instead of (often incorrectly) open coding it.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Eric Rannaud
    Cc: Kay Sievers
    Cc: Cornelia Huck
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Eric Rannaud
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (448 commits)
    [IPV4] nl_fib_lookup: Initialise res.r before fib_res_put(&res)
    [IPV6]: Fix thinko in ipv6_rthdr_rcv() changes.
    [IPV4]: Add multipath cached to feature-removal-schedule.txt
    [WIRELESS] cfg80211: Clarify locking comment.
    [WIRELESS] cfg80211: Fix locking in wiphy_new.
    [WEXT] net_device: Don't include wext bits if not required.
    [WEXT]: Misc code cleanups.
    [WEXT]: Reduce inline abuse.
    [WEXT]: Move EXPORT_SYMBOL statements where they belong.
    [WEXT]: Cleanup early ioctl call path.
    [WEXT]: Remove options.
    [WEXT]: Remove dead debug code.
    [WEXT]: Clean up how wext is called.
    [WEXT]: Move to net/wireless
    [AFS]: Eliminate cmpxchg() usage in vlocation code.
    [RXRPC]: Fix pointers passed to bitops.
    [RXRPC]: Remove bogus atomic_* overrides.
    [AFS]: Fix u64 printing in debug logging.
    [AFS]: Add "directory write" support.
    [AFS]: Implement the CB.InitCallBackState3 operation.
    ...

    Linus Torvalds
     

27 Apr, 2007

11 commits

  • SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead.

    Signed-off-by: Milind Arun Choudhary
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Martin Schwidefsky

    Milind Arun Choudhary
     
  • Generate uevents for all cpus if cpu capability changes. This can
    happen e.g. because the cpus are overheating. The cpu capability can
    be read via /sys/devices/system/cpu/cpuN/capability.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • Use only capital letters for defines.

    Cc: Peter Oberparleiter
    Signed-off-by: Stefan Haberland
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Stefan Haberland
     
  • Reopen of /dev/account failed. The IUCV path has to be terminated
    in vmlogrdr_release.

    Signed-off-by: Ursula Braun
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Ursula Braun
     
  • Add explicit sclp initialization for those sclp users that do not
    register with the interface.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Peter Oberparleiter
     
  • A patch for the CTC / ESCON network driver. Switch from kmalloc to kzalloc
    when appropriate, remove some unnecessary kmalloc casts too. Since I have no
    s390 machine, I didn't compile it but I examined it carefully.

    Signed-off-by: "Ahmed S. Darwish"
    Cc: Frank Pavlic
    Cc: Ursula Braun
    Signed-off-by: Andrew Morton
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Ahmed S. Darwish
     
  • s390 machines provide hardware support for creating Linux dumps on SCSI
    disks. For creating a dump a special purpose dump Linux is used. The first
    32 MB of memory are saved by the hardware before the dump Linux is
    booted. Via an SCLP interface, the saved memory can be accessed from
    Linux. This patch exports memory and registers of the crashed Linux to
    userspace via a debugfs file. For more information refer to
    Documentation/s390/zfcpdump.txt, which is included in this patch.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Michael Holzheu
     
  • Specifying 'ipldev' in the dasd= kernel parameter will automatically
    activate the boot device for use by the dasd driver.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Peter Oberparleiter
     
  • This patch adds a sysfs-attribute 'status' to make the DASD device-status
    accessible from user-space. In addition, the DASD driver generates an
    uevent(CHANGE) for the ccw-device on each device-status change.
    This enables user-space applications (e.g. udev) to do related processing.

    Signed-off-by: Horst Hummel
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Horst Hummel
     
  • We get this:

    Section mismatch: reference to .init.text:con3270_consetup from .data
    between 'con3270' (at offset 0x45c8) and 'con3270_fn'
    Section mismatch: reference to .init.text:con3215_consetup from .data
    between 'con3215' (at offset 0x4678) and
    'raw3215_ccw_driver'

    Since there is no difference between a non present console setup
    function and one that returns only 0 remove them.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • We used to unregister ccw devices not directly from the I/O
    subchannel remove function in order to avoid lifelocks on the
    css bus semaphore. This semaphore is gone, and there is no reason
    to not unregister the ccw device directly (it is even better since
    it is more in keeping with the goal of immediate disconnect).

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck