20 Sep, 2006

5 commits

  • 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
     
  • The xpram driver shows and uses 4096 bytes less than available.

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

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

    Heiko Carstens
     
  • 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
     

30 Aug, 2006

1 commit


24 Aug, 2006

1 commit


16 Aug, 2006

2 commits


10 Aug, 2006

1 commit


09 Aug, 2006

1 commit

  • The request queue flush function of the dasd driver has to dequeue
    the requests first and then call the end request function. Otherwise
    a kernel bug in ll_rw_block.c might get triggered.

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

    Horst Hummel
     

08 Aug, 2006

1 commit

  • Remove system device class for xpram. It creates the directory hierarchy
    under /sys/devices/system/xpram/xpram0. The xpram0 directory is empty and
    it is always created while xpram1 and following devices are always missing,
    independent if the devices exist or not. Since the xpram devices are
    listed in /proc/partitions and /sys/block/ as slram the system device
    class for xpram is meaningless.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     

17 Jul, 2006

1 commit


12 Jul, 2006

2 commits

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

    Heiko Carstens
     
  • The module parameters for xpram are not or in a wrong way parsed.
    The xpram module uses the module_param_array directive with an int
    parameter which causes the kernel to automatically parse the passed
    numbers. This will cause errors if arguments are omitted or cause
    wrong results if arguments have size qualifiers.
    Use module_param_array with charp and parse the arguments later.

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

    Heiko Carstens
     

01 Jul, 2006

1 commit


30 Jun, 2006

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6: (22 commits)
    [PATCH] devfs: Remove it from the feature_removal.txt file
    [PATCH] devfs: Last little devfs cleanups throughout the kernel tree.
    [PATCH] devfs: Rename TTY_DRIVER_NO_DEVFS to TTY_DRIVER_DYNAMIC_DEV
    [PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed
    [PATCH] devfs: Remove the line_driver devfs_name field as it's no longer needed
    [PATCH] devfs: Remove the videodevice devfs_name field as it's no longer needed
    [PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
    [PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed
    [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree
    [PATCH] devfs: Remove devfs_remove() function from the kernel tree
    [PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
    [PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree
    [PATCH] devfs: Remove devfs_mk_symlink() function from the kernel tree
    [PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
    [PATCH] devfs: Remove devfs_*_tape() functions from the kernel tree
    [PATCH] devfs: Remove devfs support from the sound subsystem
    [PATCH] devfs: Remove devfs support from the ide subsystem.
    [PATCH] devfs: Remove devfs support from the serial subsystem
    [PATCH] devfs: Remove devfs from the init code
    [PATCH] devfs: Remove devfs from the partition code
    ...

    Linus Torvalds
     

29 Jun, 2006

5 commits


28 Jun, 2006

1 commit

  • locking init cleanups:

    - convert " = SPIN_LOCK_UNLOCKED" to spin_lock_init() or DEFINE_SPINLOCK()
    - convert rwlocks in a similar manner

    this patch was generated automatically.

    Motivation:

    - cleanliness
    - lockdep needs control of lock initialization, which the open-coded
    variants do not give
    - it's also useful for -rt and for lock debugging in general

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

27 Jun, 2006

4 commits


28 Apr, 2006

2 commits

  • Generate new sysfs-attribute 'uid' that contains an device specific unique
    identifier. This can be used to identity multiple ALIASES of the same
    physical device (PAV). In addition the sysfs-attributes 'vendor' (containing
    the manufacturer of the device) and 'alias' (identify alias or base device) is
    added. This is first part of PAV support in LPAR (also valid on zVM).

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

    Horst Hummel
     
  • The dasd state machine is not designed to enable an unformatted device, since
    'unformatted' is a final state. The BIODASDENABLE ioctl calls
    dasd_enable_device() which never returns if the device is in this special
    state. Return -EPERM in dasd_increase_state for unformatted devices to make
    dasd_enable_device terminate. Note: To get such an unformatted device online
    it has to be re-analyzed. This means that the device needs to be disabled
    prior to re-enablement.

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

    Horst Hummel
     

11 Apr, 2006

3 commits

  • The proc_mkdir calls in the dasd driver are not check for NULL pointers. Add
    code to check the pointers and bail out if one of the proc entries could not
    be created.

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

    Horst Hummel
     
  • Using the fail-fast flag in i/o requests on a dasd disk which has been
    quiesced leads to kernel panics. Modify the request start function to only
    work on requests in a valid state.

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

    Peter Oberparleiter
     
  • The dasd driver sometimes print the misleading message "Can't offline dasd
    device with open count = 0". The reason why it can't offline the device in
    this case is that the device is still in the startup phase. Print a more
    meaningful message.

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

    Horst Hummel
     

01 Apr, 2006

1 commit


27 Mar, 2006

1 commit


26 Mar, 2006

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (21 commits)
    BUG_ON() Conversion in drivers/video/
    BUG_ON() Conversion in drivers/parisc/
    BUG_ON() Conversion in drivers/block/
    BUG_ON() Conversion in sound/sparc/cs4231.c
    BUG_ON() Conversion in drivers/s390/block/dasd.c
    BUG_ON() Conversion in lib/swiotlb.c
    BUG_ON() Conversion in kernel/cpu.c
    BUG_ON() Conversion in ipc/msg.c
    BUG_ON() Conversion in block/elevator.c
    BUG_ON() Conversion in fs/coda/
    BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
    BUG_ON() Conversion in input/serio/hil_mlc.c
    BUG_ON() Conversion in md/dm-hw-handler.c
    BUG_ON() Conversion in md/bitmap.c
    The comment describing how MS_ASYNC works in msync.c is confusing
    rcu: undeclared variable used in documentation
    fix typos "wich" -> "which"
    typo patch for fs/ufs/super.c
    Fix simple typos
    tabify drivers/char/Makefile
    ...

    Linus Torvalds
     
  • MODULE_PARM was actually breaking: recent gcc version optimize them out as
    unused. It's time to replace the last users, which are generally in the
    most unloved drivers anyway.

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

    Rusty Russell
     

25 Mar, 2006

1 commit


24 Mar, 2006

3 commits