24 Sep, 2006

5 commits


20 Sep, 2006

27 commits

  • css_evaluate_subchannel() operates subchannel without lock which can
    lead to erratic behavior caused by concurrent device access. Also
    split evaluation function to make it more readable.

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

    Peter Oberparleiter
     
  • Reappearing channel paths are sometimes not utilized by CCW devices
    because path verification incorrectly relies on path-operational-mask
    information which is not updated until a channel path has been used
    again.
    Modify path verification procedure to always query all available paths
    to a device.

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

    Peter Oberparleiter
     
  • CHPIDs that are logically varied off will not be removed from
    a CCW device's path group because resign-from-pathgroup command is
    issued with invalid path mask of 0 because internal CCW operations
    are masked by the logical path mask after the relevant bits are
    cleared by the vary operation.
    Do not apply logical path mask to internal operations.

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

    Peter Oberparleiter
     
  • Subchannel may incorrectly remain in state no-path after channel paths
    have reappeared. Currently the scan for subchannels which are using a
    channel path ends at the first occurrence if a full link address was
    provided by the channel subsystem. The scan needs to continue over
    all subchannels.

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

    Peter Oberparleiter
     
  • Specifying kernel parameter "dasd=nopav" on systems running under VM
    has no function but results in message "disable PAV mode". Correct
    message is "'nopav' not supported on VM".

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

    Peter Oberparleiter
     
  • Add the MODALIAS environment variable for ccw bus uevents.

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

    Peter Oberparleiter
     
  • Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • This patch delivers a new Linux API in the form of a misc char
    device that is useable from user space and allows write access
    to the z/VM APPLDATA Monitor Records collected by the *MONITOR
    System Service of z/VM.

    Signed-off-by: Melissa Howland
    Signed-off-by: Martin Schwidefsky

    Melissa Howland
     
  • The xpram driver shows and uses 4096 bytes less than available.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     
  • Fix comment typo in vmcp, it is z/VM and not v/VM.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     
  • The last SLSB has to be set to STATE_PROCESSING if we really want to
    use the PROCESSING feature.

    Signed-off-by: Frank Pavlic
    Signed-off-by: Martin Schwidefsky

    Frank Pavlic
     
  • Previous patch that was intended to reduce stack usage within common
    i/o layer didn't consider implicit memset(..., 0, ...) used with the
    initializations used before.
    Add these missing memsets wherever it's not obvious that the
    concerned memory region is zeroed. This should give the same semantics
    as before.

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

    Heiko Carstens
     
  • Convert GET_IPL_DEVICE assembler macro to C function.

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

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

    Heiko Carstens
     
  • With System z9 additional fields have been added to the output of the
    store system information instruction. This patch adds the new model
    information field and the alternate cpu capability fields to the
    output of /proc/sysinfo. While we at it clean up the code as well.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Enhanced default DBF level to get most important messages
    in debug feature files.

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

    Horst Hummel
     
  • The dasd_device_from_cdev function is called from interrupt context
    to get the struct dasd_device associated with a ccw device. The
    driver_data of the ccw device points to the dasd_devmap structure
    which contains the pointer to the dasd_device structure. The lock
    that protects the dasd_devmap structure is acquire with out irqsave.
    To prevent the deadlock in dasd_device_from_cdev if it is called
    from interrupt context the dependency to the dasd_devmap structure
    needs to be removed. Let the driver_data of the ccw device point
    to the dasd_device structure directly and use the ccw device lock
    to protect the access.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • qdio_get_micros is supposed to return microseconds. The get_clock()
    return value needs to be shifted by 12 to get to microseconds.

    Signed-off-by: Frank Pavlic
    Signed-off-by: Martin Schwidefsky

    Frank Pavlic
     
  • Use do { } while (0) constructs instead of empty defines to avoid
    subtle compile bugs.

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

    Heiko Carstens
     
  • It is now possible to specify a ccw/fcp dump device which is used to
    automatically create a system dump in case of a kernel panic. The dump
    device can be configured under /sys/firmware/dump.
    In addition it is now possible to specify a ccw/fcp device which is used
    for the next reboot of Linux. The reipl device can be configured under
    /sys/firmware/reipl.

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

    Michael Holzheu
     
  • Allow the user space to send extended cprb messages directly to the
    PCIXCC / CEX2C cards. This allows the CCA library to construct special
    crypto requests that use "secure" keys that are stored on the card.

    Signed-off-by: Ralph Wuerthner
    Signed-off-by: Martin Schwidefsky

    Ralph Wuerthner
     
  • The Makefile and Kconfig changes should be obvious. The monolithic
    build option is there to create an old-style z90crypt module for
    backward compatability to older distributions.

    Signed-off-by: Ralph Wuerthner
    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Signed-off-by: Ralph Wuerthner
    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Signed-off-by: Ralph Wuerthner
    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • The user space interface of the zcrypt device driver implements the old
    user space interface as defined by the old z90crypt driver. Everything
    is there, the /dev/z90crypt misc character device, all the lovely ioctls
    and the /proc file. Even writing to the z90crypt proc file to configure
    the crypto device still works. It stands to reason to remove the proc
    write function someday since a much cleaner configuration via the sysfs
    is now available.

    The ap bus device drivers register crypto cards to the zcrypt user
    space interface. The request router of the user space interface
    picks one of the registered cards based on the predicted latency
    for the request and calls the driver via a callback found in the
    zcrypt_ops of the device. The request router only knows which
    operations the card can do and the minimum / maximum number of bits
    a request can have.

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

    Martin Schwidefsky
     
  • Add a bus for the adjunct processor interface. Up to 64 devices can
    be connect to the ap bus interface, each device with 16 domains. That
    makes 1024 message queues. The interface is asynchronous, the answer
    to a message sent to a queue needs to be received at some later point
    in time. Unfortunately the interface does not provide interrupts when
    a message reply is pending. So the ap bus needs to implement some
    fancy polling, each active queue is polled once per 1/HZ second or
    continuously if an idle cpus exsists and the poll thread is activ
    (see poll_thread parameter).

    The ap bus uses the sysfs path /sys/bus/ap and has two bus attributes,
    ap_domain and config_time. The ap_domain selects one of the 16 domains
    to be used for this system. This limits the maximum number of ap devices
    to 64. The config_time attribute contains the number of seconds between
    two ap bus scans to find new devices.

    The ap bus uses the modalias entries of the form "ap:tN" to autoload
    the ap driver for hardware type N. Currently known types are:
    3 - PCICC, 4 - PCICA, 5 - PCIXCC, 6 - CEX2A and 7 - CEX2C.

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

    Martin Schwidefsky
     
  • The z90crypt driver has served its term. It is replaced by the shiny
    new zcrypt device driver.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     

17 Sep, 2006

8 commits

  • [PATCH 9/9] s390: qeth driver fixes [6/6]

    From: Frank Pavlic
    - Hipersockets has no IPV6 support, thus prevent issueing
    SETRTG_IPV6 control commands on Hipersockets devices.
    - fixed error handling in qeth_sysfs_(un)register

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

    Frank Pavlic
     
  • [PATCH 8/9] s390: qeth driver fixes [5/6]

    From: Frank Pavlic
    fix kernel panic in qdio queue handling.
    qeth_qdio_clear_card() could be invoked by 2 CPUs
    simultaneously (for example reboot event and recovery).

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

    Frank Pavlic
     
  • [PATCH 7/9] s390: qeth driver fixes [4/6]

    From: Frank Pavlic
    - fix kernel crash due to race,
    set card->state to SOFTSETUP after
    card and card->dev are initialized properly.
    - remove CONFIG_QETH_PERF_STATS, use sysfs attribute instead,
    as we want to have the ability to turn on/off the
    statistics at runtime.

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

    Frank Pavlic
     
  • [PATCH 6/9] s390: qeth driver fixes [3/6]

    From: Frank Pavlic
    fixed kernel panic caused by qeth driver:
    Using a bonding device qeth driver will realloc
    headroom for every skb coming from the bond device.
    Once this happens qeth frees the original skb and
    set the skb pointer to the new realloced skb.
    Under heavy transmit workload (e.g.UDP streams) through bond
    network device the qdio output queue might get full.
    In this case we return with EBUSY from qeth_send_packet.
    Returning to qeth_hard_start_xmit routine
    the skb address on the stack still points to the old address,
    which has been freed before.
    Returning from qeth_hard_start_xmit with EBUSY results in
    requeuing the skb. In this case it corrupts the qdisc queue
    and results in kernel panic.

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

    Frank Pavlic
     
  • [PATCH 5/9] s390: qeth driver fixes [2/6]

    From: Frank Pavlic
    - fixed error handling in create_device_attributes
    - fixed some minor bugs in IPv4
    and IPv6 address checking

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

    Frank Pavlic
     
  • [PATCH 4/9] s390: qeth driver fixes [1/6]

    From: Frank Pavlic
    - Drop incoming packets with vlan_tag set
    if card->vlangrp is not set.
    - use always vlan_hwaccel_rx to pass
    vlan frames to the stack.
    - fix recovery problem. Device was recovered
    properly but still not working.
    netif_carrier_on call right before
    recovery start fixes it.

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

    Frank Pavlic
     
  • [PATCH 3/9] s390: Makefile cleanup

    From: Frank Pavlic
    remove CONFIG_MPC from Makefile which was
    introduced accidently in the past.

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

    Frank Pavlic
     
  • [PATCH 2/9] s390: netiucv driver fixes

    From: Frank Pavlic
    - missing lock initialization added
    - avoid duplicate iucv-interfaces to the same peer
    - rw-lock added for manipulating the list of
    defined iucv connections

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

    Frank Pavlic