04 Feb, 2011

4 commits


01 Feb, 2011

11 commits

  • Linus Torvalds
     
  • * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    NFS: NFSv4 readdir loses entries
    NFS: Micro-optimize nfs4_decode_dirent()
    NFS: Fix an NFS client lockdep issue
    NFS construct consistent co_ownerid for v4.1
    NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount
    NFS improve pnfs_put_deviceid_cache debug print
    NFS fix cb_sequence error processing
    NFS do not find client in NFSv4 pg_authenticate
    NLM: Fix "kernel BUG at fs/lockd/host.c:417!" or ".../host.c:283!"
    NFS: Prevent memory allocation failure in nfsacl_encode()
    NFS: nfsacl_{encode,decode} should return signed integer
    NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!"
    NFS: Fix "kernel BUG at fs/aio.c:554!"
    NFS4: Avoid potential NULL pointer dereference in decode_and_add_ds().
    NFS: fix handling of malloc failure during nfs_flush_multi()

    Linus Torvalds
     
  • * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
    ARM: smp_on_up: allow non-ARM SMP processors
    ARM: io: ensure inb/outb() et.al. are properly ordered on ARMv6+
    ARM: initrd: disable initrd if passed address overlaps reserved region
    ARM: footbridge: fix debug macros
    ARM: mmci: round down the bytes transferred on error
    ARM: mmci: complete the transaction on error
    ARM: 6642/1: mmci: calculate remaining bytes at error correctly

    Linus Torvalds
     
  • …/git/tmlind/linux-omap-2.6

    * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
    arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR
    arm: omap2: mux: fix compile warning
    omap1: Simplify use of omap_irq_flags
    omap2+: Fix unused variable warning for omap_irq_base

    Linus Torvalds
     
  • Fix kernel-doc warning in kernel.h from commit 7ef88ad56145
    ("BUILD_BUG_ON: make it handle more cases"):

    Warning(include/linux/kernel.h:605): No description found for parameter 'condition'
    Warning(include/linux/kernel.h:605): Excess function parameter 'cond' description in 'BUILD_BUG_ON'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    xfs: xfs_bmap_add_extent_delay_real should init br_startblock
    xfs: fix dquot shaker deadlock
    xfs: handle CIl transaction commit failures correctly
    xfs: limit extsize to size of AGs and/or MAXEXTLEN
    xfs: prevent extsize alignment from exceeding maximum extent size
    xfs: limit extent length for allocation to AG size
    xfs: speculative delayed allocation uses rounddown_power_of_2 badly
    xfs: fix efi item leak on forced shutdown
    xfs: fix log ticket leak on forced shutdown.

    Linus Torvalds
     
  • Patches should keep coming through Rusty but it helps if I'm Cc'd as
    well.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Michael S. Tsirkin
     
  • * 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (42 commits)
    usb: gadget: composite: avoid access beyond array max length
    USB: serial: handle Data Carrier Detect changes
    USB: gadget: Fix endpoint representation in ci13xxx_udc
    USB: gadget: Fix error path in ci13xxx_udc gadget probe function
    usb: pch_udc: Fix the worning log issue at gadget driver remove
    USB: serial: Updated support for ICOM devices
    USB: ehci-mxc: add work-around for efika mx/sb bug
    USB: unbreak ehci-mxc on otg port of i.MX27
    drivers: update to pl2303 usb-serial to support Motorola cables
    USB: adding USB support for Cinterion's HC2x, EU3 and PH8 products
    USB serial: add missing .usb_driver field in serial drivers
    USB: ehci-fsl: Fix 'have_sysif_regs' detection
    USB: g_printer: fix bug in module parameter definitions
    USB: g_printer: fix bug in unregistration
    USB: uss720: remove duplicate USB device
    MAINTAINERS: add ueagle-atm entry
    USB: EHCI: fix DMA deallocation bug
    USB: pch_udc: support new device ML7213 IOH
    usb: pch_udc: Fixed issue which does not work with g_serial
    usb: set ep_dev async suspend should be later than device_initialize
    ...

    Linus Torvalds
     
  • * 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (26 commits)
    staging: r8712u: Add new device IDs
    staging: brcm80211: fix suspend/resume issue in brcmsmac
    staging: brcm80211: remove assert to avoid panic since 2.6.37 kernel
    Staging: iio: Aditional fixpoint formatted output bugfix
    staging: usbip: vhci: use urb->dev->portnum to find port
    staging: usbip: vhci: handle EAGAIN from SO_RCVTIMEO
    staging: usbip: vhci: friendly log messages for connection errors
    staging: usbip: vhci: refuse to enqueue for dead connections
    staging: usbip: vhci: give back URBs from in-flight unlink requests
    staging: usbip: vhci: update reference count for usb_device
    staging: usbip: stub: update refcounts for devices and interfaces
    staging: tidspbridge: replace mbox callback with notifier_call
    staging: comedi: ni_labpc: Use shared IRQ for PCMCIA card
    Staging: speakup: &&/|| confusion in silent_store()
    iio: Fixpoint formatted output bugfix
    staging: rt2860: Fix incorrect netif_stop_queue usage warning
    staging: r8712u: Fix memory leak in firmware loading
    staging: tidspbridge: configure full L1 MMU range
    staging: rt2870sta: Add ID for Linksys WUSB100v2
    Staging: xgfib: put parenthesis in the right place
    ...

    Linus Torvalds
     
  • * 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6:
    tty/serial: fix apbuart build
    n_hdlc: fix read and write locking
    serial: unbreak billionton CF card
    tty: use for_each_console() and WARN() on sysfs failures
    vt: fix issue when fbcon wants to takeover a second time.

    Fix up trivial conflict in drivers/tty/tty_io.c

    Linus Torvalds
     
  • Allow non-ARM SMP processors to use the SMP_ON_UP feature. CPUs
    supporting SMP must have the new CPU ID format, so check for this first.
    Then check for ARM11MPCore, which fails the MPIDR check. Lastly check
    the MPIDR reports multiprocessing extensions and that the CPU is part of
    a multiprocessing system.

    Cc:
    Reported-and-Tested-by: Stephen Boyd
    Acked-by: Will Deacon
    Signed-off-by: Russell King

    Russell King
     

31 Jan, 2011

17 commits


30 Jan, 2011

1 commit

  • This reverts commit a121f643993474548fe98144514c50dd4f3dbe76.

    Unfortunately, this commit breaks UBIFS backward compatibility and
    makes new UBIFS refuse older UBIFS-formatted media:

    UBIFS error: validate_sb: min. I/O unit mismatch: 8 in superblock, 64 real

    Thus, we have to revert this patch and work on a better solution.

    Reported-by: Holger Brunck
    Signed-off-by: Artem Bityutskiy

    Artem Bityutskiy
     

29 Jan, 2011

7 commits

  • On some machines, like Dell Studio XPS 16 (1640), touchpad fails to
    respond to the standard query after first reset but may start
    responding later, so let's repeat reset sequence several (3) times.

    Signed-off-by: Alexandre Peixoto Ferreira
    Signed-off-by: Dmitry Torokhov

    Alexandre Peixoto Ferreira
     
  • synaptics_set_advanced_gesture_mode() affect capabilities bits we should
    perform comparison after calling this function, otherwise they will never
    match and we will be forced to perform full reconnect.

    Signed-off-by: Alexandre Peixoto Ferreira
    Signed-off-by: Dmitry Torokhov

    Alexandre Peixoto Ferreira
     
  • Correct key mapping for Left Meta key.

    Signed-off-by: Rakesh Iyer
    Signed-off-by: Dmitry Torokhov

    Rakesh Iyer
     
  • Fix build error introduced by variable name change.

    Signed-off-by: Rakesh Iyer
    Signed-off-by: Dmitry Torokhov

    Rakesh Iyer
     
  • On recent 2.6.38-rc kernels, connectathon basic test 6 fails on
    NFSv4 mounts of OpenSolaris with something like:

    > ./test6: readdir
    > ./test6: (/mnt/klimt/matisse.test) didn't read expected 'file.12' dir entry, pass 0
    > ./test6: (/mnt/klimt/matisse.test) didn't read expected 'file.82' dir entry, pass 0
    > ./test6: (/mnt/klimt/matisse.test) didn't read expected 'file.164' dir entry, pass 0
    > ./test6: (/mnt/klimt/matisse.test) Test failed with 3 errors
    > basic tests failed
    > Tests failed, leaving /mnt/klimt mounted
    > [cel@matisse cthon04]$

    I narrowed the problem down to nfs4_decode_dirent() reporting that the
    decode buffer had overflowed while decoding the entries for those
    missing files.

    verify_attr_len() assumes both it's pointer arguments reside on the
    same page. When these arguments point to locations on two different
    pages, verify_attr_len() can report false errors. This can happen now
    that a large NFSv4 readdir result can span pages.

    We have reasonably good checking in nfs4_decode_dirent() anyway, so
    it should be safe to simply remove the extra checking.

    At a guess, this was introduced by commit 6650239a, "NFS: Don't use
    vm_map_ram() in readdir".

    Cc: stable@kernel.org [2.6.37]
    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     
  • Make the decoding of NFSv4 directory entries slightly more efficient
    by:

    1. Avoiding unnecessary byte swapping when checking XDR booleans,
    and

    2. Not bumping "p" when its value will be immediately replaced by
    xdr_inline_decode()

    This commit makes nfs4_decode_dirent() consistent with similar logic
    in the other two decode_dirent() functions.

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     
  • There is no reason to be freeing the delegation cred in the rcu callback,
    and doing so is resulting in a lockdep complaint that rpc_credcache_lock
    is being called from both softirq and non-softirq contexts.

    Reported-by: Chuck Lever
    Signed-off-by: Trond Myklebust
    Cc: stable@kernel.org

    Trond Myklebust