Skip to content
Commits on Feb 10, 2007
  1. @AdrianBunk

    Linux 2.6.16.40

    AdrianBunk committed
Commits on Feb 3, 2007
  1. @AdrianBunk

    Linux 2.6.16.40-rc1

    AdrianBunk committed
  2. @AdrianBunk

    reiserfs: avoid tail packing if an inode was ever mmapped

    Vladimir Saveliev committed with AdrianBunk
    This patch fixes a confusion reiserfs has for a long time.
    
    On release file operation reiserfs used to try to pack file data stored in
    last incomplete page of some files into metadata blocks.  After packing the
    page got cleared with clear_page_dirty.  It did not take into account that
    the page may be mmaped into other process's address space.  Recent
    replacement for clear_page_dirty cancel_dirty_page found the confusion with
    sanity check that page has to be not mapped.
    
    The patch fixes the confusion by making reiserfs avoid tail packing if an
    inode was ever mmapped.  reiserfs_mmap and reiserfs_file_release are
    serialized with mutex in reiserfs specific inode.  reiserfs_mmap locks the
    mutex and sets a bit in reiserfs specific inode flags.
    reiserfs_file_release checks the bit having the mutex locked.  If bit is
    set - tail packing is avoided.  This eliminates a possibility that mmapped
    page gets cancel_page_dirty-ed.
    
    Signed-off-by: Vladimir Saveliev <vs@namesys.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @AdrianBunk

    [libata] use kmap_atomic(KM_IRQ0) in SCSI simulator

    Jeff Garzik committed with AdrianBunk
    We are inside spin_lock_irqsave().  quoth akpm's debug facility:
    
     [  231.948000] SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
     [  232.232000] ata1.00: configured for UDMA/33
     [  232.404000] WARNING (1) at arch/i386/mm/highmem.c:47 kmap_atomic()
     [  232.404000]  [<c01162e6>] kmap_atomic+0xa9/0x1ab
     [  232.404000]  [<c0242c81>] ata_scsi_rbuf_get+0x1c/0x30
     [  232.404000]  [<c0242caf>] ata_scsi_rbuf_fill+0x1a/0x87
     [  232.404000]  [<c0243ab2>] ata_scsiop_mode_sense+0x0/0x309
     [  232.404000]  [<c01729d5>] end_bio_bh_io_sync+0x0/0x37
     [  232.404000]  [<c02311c6>] scsi_done+0x0/0x16
     [  232.404000]  [<c02311c6>] scsi_done+0x0/0x16
     [  232.404000]  [<c0242dcc>] ata_scsi_simulate+0xb0/0x13f
    [...]
    
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  4. @bzolnier @AdrianBunk

    ia64: add pci_get_legacy_ide_irq()

    bzolnier committed with AdrianBunk
    Add pci_get_legacy_ide_irq() identical to the one used by i386/x86_64.
    Fixes amd74xx driver build on ia64 (bugzilla bug #6644).
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  5. @AdrianBunk

    hwmon: Update Rudolf Marek's e-mail address

    Rudolf Marek committed with AdrianBunk
    The Silicon Hill club is not what it used to be.
    
    Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  6. @AdrianBunk

    k8temp: Documentation update

    Rudolf Marek committed with AdrianBunk
    Update the documentation for the k8temp driver.
    
    Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  7. @AdrianBunk

    k8temp: Add documentation

    Rudolf Marek committed with AdrianBunk
    Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  8. @neilbrown @AdrianBunk

    Make 'repair' actually work for raid1.

    neilbrown committed with AdrianBunk
    When 'repair' finds a block that is different one the various
    parts of the mirror. it is meant to write a chosen good version
    to the others.  However it currently writes out the original data
    to each. The memcpy to make all the data the same is missing.
    
    Also correct a test so that 'repair' causes a repair, rather than
    anything other then 'repair'.
    
    Signed-off-by: Neil Brown <neilb@suse.de>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Commits on Jan 30, 2007
  1. @AdrianBunk

    hwmon: New driver k8temp

    Rudolf Marek committed with AdrianBunk
    Add support for the temperature sensor(s) found in AMD K8 CPUs.
    
    Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  2. @AdrianBunk

    [SCSI] arcmsr: fix up sysfs values

    James Bottomley committed with AdrianBunk
    The sysfs files in arcmsr are non-standard in that they aren't simple
    filename value pairs, the values actually contain preceeding text which
    would have to be parsed.  The idea of sysfs files is that the file name
    is the description and the contents is a simple value.
    
    Fix up arcmsr to conform to this standard.
    
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @AdrianBunk

    [SCSI] areca sysfs fix

    Andrew Morton committed with AdrianBunk
    Remove sysfs_remove_bin_file() return-value checking from the areca driver.
    
    There's nothing a driver can do if sysfs file removal fails, so we'll soon be
    changing sysfs_remove_bin_file() to internally print a diagnostic and to
    return void.
    
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  4. @AdrianBunk

    [SCSI] arcmsr: initial driver, version 1.20.00.13

    Erich Chen committed with AdrianBunk
    arcmsr is a driver for the Areca Raid controller, a host based RAID
    subsystem that speaks SCSI at the firmware level.
    
    This patch is quite a clean up over the initial submission with
    contributions from:
    
    Randy Dunlap <rdunlap@xenotime.net>
    Christoph Hellwig <hch@lst.de>
    Matthew Wilcox <matthew@wil.cx>
    Adrian Bunk <bunk@stusta.de>
    
    Signed-off-by: Erich Chen <erich@areca.com.tw>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  5. @AdrianBunk

    Linux 2.6.16.39

    AdrianBunk committed
Commits on Jan 26, 2007
  1. @AdrianBunk

    Linux 2.6.16.39-rc1

    AdrianBunk committed
  2. @holtmann @AdrianBunk

    [Bluetooth] Fix deadlock in the L2CAP layer

    holtmann committed with AdrianBunk
    The Bluetooth L2CAP layer has 2 locks that are used in softirq context,
    (one spinlock and one rwlock, where the softirq usage is readlock) but
    where not all usages of the lock were _bh safe. The patch below corrects
    this.
    
    Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @holtmann @AdrianBunk

    [Bluetooth] Add locking for bt_proto array manipulation

    holtmann committed with AdrianBunk
    The bt_proto array needs to be protected by some kind of locking to
    prevent a race condition between bt_sock_create and bt_sock_register.
    
    And in addition all calls to sk_alloc need to be made GFP_ATOMIC now.
    
    Signed-off-by: Masatake YAMATO <jet@gyve.org>
    Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  4. @holtmann @AdrianBunk

    [Bluetooth] Fix compat ioctl for BNEP, CMTP and HIDP

    holtmann committed with AdrianBunk
    There exists no attempt do deal with the fact that a structure with
    a uint32_t followed by a pointer is going to be different for 32-bit
    and 64-bit userspace. Any 32-bit process trying to use it will be
    failing with -EFAULT if it's lucky; suffering from having data dumped
    at a random address if it's not.
    
    Signed-off-by: David Woodhouse <dwmw2@infradead.org>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  5. @holtmann @AdrianBunk

    [Bluetooth] Handle command complete event for exit periodic inquiry

    holtmann committed with AdrianBunk
    The command complete event of the exit periodic inquiry command must
    clear the HCI_INQUIRY flag and finish the HCI request.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  6. @holtmann @AdrianBunk

    [Bluetooth] Return EINPROGRESS for non-blocking socket calls

    holtmann committed with AdrianBunk
    In case of non-blocking socket calls we should return EINPROGRESS
    and not EAGAIN.
    
    Signed-off-by: Ulisses Furquim <ulissesf@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  7. @AdrianBunk

    kbuild: explicitly turn off gcc stack-protector

    AdrianBunk committed
    Ubuntu has enabled -fstack-protector per default in gcc
    breaking kernel build. Explicit turn it off for now.
    
    Backported based on several patches by Sam Ravnborg <sam@ravnborg.org>.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Commits on Jan 25, 2007
  1. @holtmann @AdrianBunk

    [Bluetooth] Fix uninitialized return value for RFCOMM sendmsg()

    holtmann committed with AdrianBunk
    When calling send() with a zero length parameter on a RFCOMM socket
    it returns a positive value. In this rare case the variable err is
    used uninitialized and unfortunately its value is returned.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  2. @holtmann @AdrianBunk

    [Bluetooth] More checks if DLC is still attached to the TTY

    holtmann committed with AdrianBunk
    If the DLC device is no longer attached to the TTY device, then return
    errors or default values for various callbacks of the TTY layer.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @davem330 @AdrianBunk

    BLUETOOTH: Fix unaligned access in hci_send_to_sock.

    davem330 committed with AdrianBunk
    The "u16 *" derefs of skb->data need to be wrapped inside of
    a get_unaligned().
    
    Thanks to Gustavo Zacarias for the bug report.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Acked-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  4. @holtmann @AdrianBunk

    [Bluetooth] Check if DLC is still attached to the TTY

    holtmann committed with AdrianBunk
    If the DLC device is no longer attached to the TTY device, then it
    makes no sense to go through with changing the termios settings.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Commits on Jan 24, 2007
  1. @AdrianBunk

    sparc32: add offset in pci_map_sg()

    Jan Andersson committed with AdrianBunk
    Add sg->offset to sg->dvma_address in pci_map_sg() on sparc32.  Without the
    offset, transfers to buffers that do not begin on a page boundary will not
    work as expected.
    
    Signed-off-by: Jan Andersson <jan.andersson@ieee.org>
    Acked-By: David Miller <davem@davemloft.net>
  2. @SesterhennEric @AdrianBunk

    V4L/DVB: Missing statement in drivers/media/dvb/frontends/cx22700.c

    SesterhennEric committed with AdrianBunk
    Stumbled over this because of coverity (id #492),
    seems like we are missing a return statement here and fail
    to do proper bounds checking. If this assumption is false
    we should at least change the identation to make it clear
    
    Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @AdrianBunk

    V4L/DVB: Flexcop-usb: fix debug printk

    Alexey Dobriyan committed with AdrianBunk
    .. fix debug printk. Why, oh why, one would want to do
       (u16 & 0xff) << 8
    and print it with %02x format?
    
    Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  4. @AdrianBunk

    V4L/DVB: Fix uninitialised variable in dvb_frontend_swzigzag

    Andrew de Quincey committed with AdrianBunk
    Spotted by coverity/Adrian Bunk.
    
    Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Commits on Jan 23, 2007
  1. @AdrianBunk

    [Bluetooth] Let BT_HIDP depend on INPUT

    AdrianBunk committed
    This patch lets BT_HIDP depend on instead of select INPUT. This fixes
    the following warning during an s390 build:
    
    net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol
    'BT_HIDP' refer to undefined symbol 'INPUT'
    
    A dependency on INPUT also implies !S390 (and therefore makes the
    explicit dependency obsolete) since INPUT is not available on s390.
    
    The practical difference should be nearly zero, since INPUT is always
    set to y unless EMBEDDED=y (or S390=y).
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  2. @AdrianBunk

    i386: fix CPU hotplug with 2GB VMSPLIT

    Shaohua Li committed with AdrianBunk
    In VMSPLIT mode, kernel PGD might have more entries than user space
    
    Signed-off-by: Shaohua Li <shaohua.li@intel.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @AdrianBunk

    read_zero_pagealigned() locking fix

    Hugh Dickins committed with AdrianBunk
    Ramiro Voicu hits the BUG_ON(!pte_none(*pte)) in zeromap_pte_range: kernel
    bugzilla 7645.  Right: read_zero_pagealigned uses down_read of mmap_sem,
    but another thread's racing read of /dev/zero, or a normal fault, can
    easily set that pte again, in between zap_page_range and zeromap_page_range
    getting there.  It's been wrong ever since 2.4.3.
    
    The simple fix is to use down_write instead, but that would serialize reads
    of /dev/zero more than at present: perhaps some app would be badly
    affected.  So instead let zeromap_page_range return the error instead of
    BUG_ON, and read_zero_pagealigned break to the slower clear_user loop in
    that case - there's no need to optimize for it.
    
    Use -EEXIST for when a pte is found: BUG_ON in mmap_zero (the other user of
    zeromap_page_range), though it really isn't interesting there.  And since
    mmap_zero wants -EAGAIN for out-of-memory, the zeromaps better return that
    than -ENOMEM.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Commits on Jan 22, 2007
  1. @AdrianBunk

    atiixp: hang fix

    Alan Cox committed with AdrianBunk
    When the old IDE layer calls into methods in the driver during error
    handling it is essentially random whether ide_lock is already held.  This
    causes a deadlock in the atiixp driver which also uses ide_lock internally
    for locking.
    
    Switch to a private lock instead.
    
    [akpm@osl.org: cleanup]
    Signed-off-by: Alan Cox <alan@redhat.com>
    Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  2. @AdrianBunk

    cdrom: set default timeout to 7 seconds

    Jens Axboe committed with AdrianBunk
    It's a known fact that Windows times out commands after 7 seconds, so
    drives generally try and respond if they can before that happens.  We
    default to 5 seconds, which sometimes is a bit too short.
    
    Jeremy Higdon reported here:
    
        http://lkml.org/lkml/2007/1/1/145
    
    that his drive takes longer than 5 seconds for a "read track
    information" command, later confirming that it is about 6.7 seconds.
    
    So just do the sane thing and change the default command timeout to 7
    seconds to avoid other surprises.
    
    Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
  3. @AdrianBunk

    [SCSI] qla1280 bus reset typo

    Jes Sorensen committed with AdrianBunk
    Fix typo in check of return value of qla1280_bus_reset() which would
    result in an adapter reset in addition to the bus reset.
    
    Signed-off-by: Jes Sorensen <jes@sgi.com>
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
Something went wrong with that request. Please try again.