07 Jan, 2006

40 commits

  • Add 'frsize' member to the statfs reply.

    I'm not sure if sending f_fsid will ever be needed, but just in case leave
    some space at the end of the structure, so less compatibility mess would be
    required.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Change interface version to 7.4.

    Following changes will need backward compatibility support, so store the minor
    version returned by userspace.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Use page_offset() instead of doing page offset calculation by hand.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Simplify fuse_lookup() and related functions.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • - make i2o_iop_free() static inline (from Adrian Bunk)

    - changed kmalloc() + memset(0) into kzalloc()

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Fix some typos and minor code beautifying.

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • - Removed some kmalloc's with __GFP_ZERO and replace it with memset()
    because it didn't work properly.

    - Fixed returned message frame in i2o_cfg_passthru() which caused raidutils
    to display wrong error message in case a disk was missing.

    - Fixed size of printk() in i2o_scsi.c.

    - Fixed get_device() and put_device() in probing of the I2O controller.

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Removed wrong I2O device class, which was only needed to add sysfs attributes.

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Fix lot of BE LE bugs which prevent it from working on SPARC.

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changed the I2O API to create I2O messages first in kernel memory and then
    transfer it at once over the PCI bus instead of sending each quad-word over
    the PCI bus.

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
    ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
    S390, 64BIT and COMPAT.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • When the sclp_cpi module is loaded on a system which does not support the
    required SCLP call (e.g. on z/VM), ENOSUPP is returned to user space. The
    correct return value is EOPNOTSUPP.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Oberparleiter
     
  • - Use kzalloc() in blacklist.c.
    - Kill unwanted casts in blacklist.c.
    - Provide release function for struct channel_subsystem.

    Signed-off-by: Cornelia Huck
    Cc: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • Signed-off-by: Eric Rossman
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Rossman
     
  • Add support for multiple subchannel sets. Works with arbitrary devices in
    subchannel set 1 and is transparent to device drivers. Although currently
    only two subchannel sets are available, this will work with the architectured
    maximum number of subchannel sets as well.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • Convert /proc/cio_ignore to a sequential file. This makes multiple subchannel
    sets support easier.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • struct channel_subsystem encapsulates several per channel subsystem
    properties, like status of chpids or the global path group id.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • for_each_subchannel() is an iterator calling a function for every possible
    subchannel id until non-zero is returned. Convert the current iterating
    functions to it.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • This patch introduces a struct subchannel_id containing the subchannel number
    (formerly referred to as "irq") and switches code formerly relying on the
    subchannel number over to it.

    While we're touching inline assemblies anyway, make sure they have correct
    memory constraints.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • New feature V=V qdio pass-through.

    QDIO and HiperSockets processing in z/VM V=V guest environments (as well as
    V=R with z/VM running in LPAR mode) requires shadowing of all QDIO
    architecture queue elements. Especially the shadowing of SBALs and SLSBs
    structures in the hypervisor, and the need to issue SIGA SYNC operations to
    observe state changes, eventually causes significant CPU processing overhead
    in the hypervisor.

    The QDIO pass-through support for V=V guests avoids the shadowing of SBALs and
    SLSBs. This significantly reduces the hypervisor overhead for QDIO based I/O.

    Signed-off-by: Frank Pavlic
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Frank Pavlic
     
  • Add new test vectors to the AES test suite for AES CBC and AES with plaintext
    larger than AES blocksize.

    Signed-off-by: Jan Glauber
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Glauber
     
  • Add support for the hardware accelerated AES crypto algorithm.

    Signed-off-by: Jan Glauber
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Glauber
     
  • Add support for the hardware accelerated sha256 crypto algorithm.

    Signed-off-by: Jan Glauber
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Glauber
     
  • Replace all references to z990 by s390 in the in-kernel crypto files in
    arch/s390/crypto. The code is not specific to a particular machine (z990) but
    to the s390 platform. Big diff, does nothing..

    Signed-off-by: Jan Glauber
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Glauber
     
  • Signed-off-by: Andreas Krebbel
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andreas Krebbel
     
  • To properly support multipath-failover handling, the linux block layer has
    introduced a special request flag, 'REQ_FAILFAST'. This flag is now used to
    return requests immediately in case the device is not operational.

    Signed-off-by: Horst Hummel
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Horst Hummel
     
  • The IOCTL BIODASDPRRD had no return code for 'profiling is inactive' and
    therefore tunedasd wrote misleading message for request-counter = 0.
    Introduce return-code EIO for inactive profiling.

    Signed-off-by: Horst Hummel
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Horst Hummel
     
  • Extract the s390_root_dev_* functions from the common I/O layer as they are
    also used by non-ccw device drivers.

    Signed-off-by: Carsten Otte
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Carsten Otte
     
  • If we receive path not operational indications (pnom in pmcw nonzero), we
    switch off those paths. To catch them becoming available again, we have to
    recalculate the lpm from the pmcw each time we start path verification.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     
  • There are some more places where the use of cputime_t instead of an integer
    type and the associated macros is necessary for the virtual cputime accounting
    on s390. Affected are the s390 specific appldata code and BSD process
    accounting.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • Check return code of do_sigaltstack and force a SIGSEGV if it is -EFAULT.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Cedric Le Goater
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cedric Le Goater
     
  • Convert __access_ok to an inline C function and change __get_user primitive to
    avoid uaccess compiler warnings.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • Moved definition of CMS volume label to vtoc.h and modify partitions/ibm.c to
    use this volume label definition instead of anonymous array.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Oberparleiter
     
  • Hugh Dickins

    Fix the broken atomic_cmpxchg primitive. Add atomic_sub_and_test,
    atomic64_sub_return, atomic64_sub_and_test, atomic64_cmpxchg,
    atomic64_add_unless and atomic64_inc_not_zero. Replace old style
    atomic_compare_and_swap by atomic_cmpxchg. Shorten the whole header by
    defining most primitives with the two inline functions atomic_add_return and
    atomic_sub_return.

    In addition this patch contains the s390 related fixes of Hugh's "mm: fill
    arch atomic64 gaps" patch.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • Free the network IRQ when closing down the network devices at shutdown.
    Delete the device from the opened devices list on close.

    These prevent an -EBADF when later disabling SIGIO on all extant descriptors
    and a complaint from free_irq about freeing the IRQ twice.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Fix up some bogus spacing in the mconsole driver. Also delete the
    emacs formatting comment at the end.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Pass sysrq output back to the mconsole client using the mechanism
    introduced for stack output.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • The stack command now sends the printk output back to the mconsole client.
    This is done by registering a special console for the mconsole driver. This
    receives all printk output. Normally, it is ignored, but when a stack command
    is issued, any printk output will be sent back to the client.

    This will capture any printk output, whether it is stack output or not, since
    we can't tell the difference.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike