Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.6.33-rc6

Jan 29, 2010

  1. Linus Torvalds

    Linux 2.6.33-rc6

    authored January 29, 2010
  2. Dmitry Artamonow

    mfd: Fix asic3 build

    asic3 also needs tmio_core or otherwise will fail to build.
    
    Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    authored January 24, 2010 Samuel Ortiz committed January 29, 2010
  3. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: update multi-touch protocol documentation
      Input: add the ABS_MT_PRESSURE event
      Input: winbond-cir - remove dmesg spam
      Input: lifebook - add another Lifebook DMI signature
      Input: ad7879 - support auxiliary GPIOs via gpiolib
    authored January 29, 2010
  4. mm: fix migratetype bug which slowed swapping

    After memory pressure has forced it to dip into the reserves, 2.6.32's
    5f8dcc2 "page-allocator: split per-cpu
    list into one-list-per-migrate-type" has been returning MIGRATE_RESERVE
    pages to the MIGRATE_MOVABLE free_list: in some sense depleting reserves.
    
    Fix that in the most straightforward way (which, considering the overheads
    of alternative approaches, is Mel's preference): the right migratetype is
    already in page_private(page), but free_pcppages_bulk() wasn't using it.
    
    How did this bug show up?  As a 20% slowdown in my tmpfs loop kbuild
    swapping tests, on PowerMac G5 with SLUB allocator.  Bisecting to that
    commit was easy, but explaining the magnitude of the slowdown not easy.
    
    The same effect appears, but much less markedly, with SLAB, and even
    less markedly on other machines (the PowerMac divides into fewer zones
    than x86, I think that may be a factor).  We guess that lumpy reclaim
    of short-lived high-order pages is implicated in some way, and probably
    this bug has been tickling a poor decision somewhere in page reclaim.
    
    But instrumentation hasn't told me much, I've run out of time and
    imagination to determine exactly what's going on, and shouldn't hold up
    the fix any longer: it's valid, and might even fix other misbehaviours.
    
    Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
    Acked-by: Mel Gorman <mel@csn.ul.ie>
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored January 29, 2010 torvalds committed January 29, 2010
  5. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable

    * git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
      Btrfs: check total number of devices when removing missing
      Btrfs: check return value of open_bdev_exclusive properly
      Btrfs: do not mark the chunk as readonly if in degraded mode
      Btrfs: run orphan cleanup on default fs root
      Btrfs: fix a memory leak in btrfs_init_acl
      Btrfs: Use correct values when updating inode i_size on fallocate
      Btrfs: remove tree_search() in extent_map.c
      Btrfs: Add mount -o compress-force
    authored January 29, 2010
  6. davem330

    sparc: TIF_ABI_PENDING bit removal

    Here are the sparc bits to remove TIF_ABI_PENDING now that
    set_personality() is called at the appropriate place in exec.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored January 28, 2010 torvalds committed January 29, 2010
  7. x86: get rid of the insane TIF_ABI_PENDING bit

    Now that the previous commit made it possible to do the personality
    setting at the point of no return, we do just that for ELF binaries.
    And suddenly all the reasons for that insane TIF_ABI_PENDING bit go
    away, and we can just make SET_PERSONALITY() just do the obvious thing
    for a 32-bit compat process.
    
    Everything becomes much more straightforward this way.
    
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored January 28, 2010 torvalds committed January 29, 2010
  8. Linus Torvalds

    Split 'flush_old_exec' into two functions

    'flush_old_exec()' is the point of no return when doing an execve(), and
    it is pretty badly misnamed.  It doesn't just flush the old executable
    environment, it also starts up the new one.
    
    Which is very inconvenient for things like setting up the new
    personality, because we want the new personality to affect the starting
    of the new environment, but at the same time we do _not_ want the new
    personality to take effect if flushing the old one fails.
    
    As a result, the x86-64 '32-bit' personality is actually done using this
    insane "I'm going to change the ABI, but I haven't done it yet" bit
    (TIF_ABI_PENDING), with SET_PERSONALITY() not actually setting the
    personality, but just the "pending" bit, so that "flush_thread()" can do
    the actual personality magic.
    
    This patch in no way changes any of that insanity, but it does split the
    'flush_old_exec()' function up into a preparatory part that can fail
    (still called flush_old_exec()), and a new part that will actually set
    up the new exec environment (setup_new_exec()).  All callers are changed
    to trivially comply with the new world order.
    
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored January 28, 2010
  9. rydberg

    Input: update multi-touch protocol documentation

    This patch documents a new ABS_MT parameter and adds further text to
    clarify some points around the MT protocol.
    
    Requested-by: Yoonyoung Shim <jy0922.shim@samsung.com>
    Requested-by: Mika Kuoppala <mika.kuoppala@nokia.com>
    Requested-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    authored January 28, 2010 dtor committed January 28, 2010
  10. rydberg

    Input: add the ABS_MT_PRESSURE event

    For pressure-based multi-touch devices, a direct way to send sensor
    intensity data per finger is needed. This patch adds the ABS_MT_PRESSURE
    event to the MT protocol.
    
    Requested-by: Yoonyoung Shim <jy0922.shim@samsung.com>
    Requested-by: Mika Kuoppala <mika.kuoppala@nokia.com>
    Requested-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    authored January 28, 2010 dtor committed January 28, 2010
  11. David Härdeman

    Input: winbond-cir - remove dmesg spam

    I missed converting one dev_info call to deb_dbg before submitting the driver.
    Without this change, a message will be printed to dmesg for each button press
    if a RC6 remote is used.
    
    Signed-off-by: David Härdeman <david@hardeman.nu>
    Cc: stable <stable@kernel.org>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    authored January 28, 2010 dtor committed January 28, 2010
  12. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/viro/vfs-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
      Fix failure exit in ipathfs
      fix oops in fs/9p late mount failure
      fix leak in romfs_fill_super()
      get rid of pointless checks after simple_pin_fs()
      Fix failure exits in bfs_fill_super()
      fix affs parse_options()
      Fix remount races with symlink handling in affs
      Fix a leak in affs_fill_super()
    authored January 28, 2010
  13. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/jbarnes/pci-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
      x86/PCI: remove IOH range fetching
      PCI: fix nested spinlock hang in aer_inject
    authored January 28, 2010

Jan 28, 2010

  1. Linus Torvalds

    Merge master.kernel.org:/home/rmk/linux-2.6-arm

    * master.kernel.org:/home/rmk/linux-2.6-arm:
      [ARM] Update mach-types
      [ARM] orion5x: D-link DNS-323 rev. B1 power-off
      [ARM] Orion5x: add GPIO LED and buttons for wrt350n v2
      [ARM] pxa: fix irq suspend/resume for pxa25x
      [ARM] pxa: fix the incorrect naming of AC97 reset pin config for pxa26x
      [ARM] pxa/corgi: fix incorrect default GPIO for UDC Vbus
      [ARM] Kirkwood: drive USB VBUS pin on rd88f6192-nas high on boot
      [ARM] Orion: fix PCIe inbound window programming when RAM size is not a power of two
    authored January 28, 2010
  2. [ARM] Update mach-types

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    authored January 28, 2010
  3. Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/y…

    …cmiao/pxa-linux-2.6
    authored January 28, 2010
  4. Btrfs: check total number of devices when removing missing

    If you have a disk failure in RAID1 and then add a new disk to the
    array, and then try to remove the missing volume, it will fail.  The
    reason is the sanity check only looks at the total number of rw devices,
    which is just 2 because we have 2 good disks and 1 bad one.  Instead
    check the total number of devices in the array to make sure we can
    actually remove the device.  Tested this with a failed disk setup and
    with this test we can now run
    
    btrfs-vol -r missing /mount/point
    
    and it works fine.
    
    Signed-off-by: Josef Bacik <josef@redhat.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 27, 2010 chrismason-xx committed January 28, 2010
  5. Btrfs: check return value of open_bdev_exclusive properly

    Hit this problem while testing RAID1 failure stuff.  open_bdev_exclusive
    returns ERR_PTR(), not NULL.  So change the return value properly.  This
    is important if you accidently specify a device that doesn't exist when
    trying to add a new device to an array, you will panic the box
    dereferencing bdev.
    
    Signed-off-by: Josef Bacik <josef@redhat.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 27, 2010 chrismason-xx committed January 28, 2010
  6. Btrfs: do not mark the chunk as readonly if in degraded mode

    If a RAID setup has chunks that span multiple disks, and one of those
    disks has failed, btrfs_chunk_readonly will return 1 since one of the
    disks in that chunk's stripes is dead and therefore not writeable.  So
    instead if we are in degraded mode, return 0 so we can go ahead and
    allocate stuff.  Without this patch all of the block groups in a RAID1
    setup will end up read-only, which will mean we can't add new disks to
    the array since we won't be able to make allocations.
    
    Signed-off-by: Josef Bacik <josef@redhat.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 27, 2010 chrismason-xx committed January 28, 2010
  7. Btrfs: run orphan cleanup on default fs root

    This patch revert's commit
    
    6c090a1
    
    Since it introduces this problem where we can run orphan cleanup on a
    volume that can have orphan entries re-added.  Instead of my original
    fix, Yan Zheng pointed out that we can just revert my original fix and
    then run the orphan cleanup in open_ctree after we look up the fs_root.
    I have tested this with all the tests that gave me problems and this
    patch fixes both problems.  Thanks,
    
    Signed-off-by: Josef Bacik <josef@redhat.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 26, 2010 chrismason-xx committed January 28, 2010
  8. Btrfs: fix a memory leak in btrfs_init_acl

    In btrfs_init_acl() cloned acl is not released
    
    Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 26, 2010 chrismason-xx committed January 28, 2010
  9. Aneesh Kumar K.V

    Btrfs: Use correct values when updating inode i_size on fallocate

    commit f2bc9dd
    Author: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    Date:   Wed Jan 20 12:57:53 2010 +0530
    
        Btrfs: Use correct values when updating inode i_size on fallocate
    
        Even though we allocate more, we should be updating inode i_size
        as per the arguments passed
    
        Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 20, 2010 chrismason-xx committed January 28, 2010
  10. Miao Xie

    Btrfs: remove tree_search() in extent_map.c

    This patch removes tree_search() in extent_map.c because it is not called by
    anything.
    
    Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored December 15, 2009 chrismason-xx committed January 28, 2010
  11. Chris Mason

    Btrfs: Add mount -o compress-force

    The default btrfs mount -o compress mode will quickly back off
    compressing a file if it notices that compression does not reduce the
    size of the data being written.  This can save considerable CPU because
    all future writes to the file go through uncompressed.
    
    But some files are both very large and have mixed data stored in
    them.  In that case, we want to add the ability to always try
    compressing data before writing it.
    
    This commit adds mount -o compress-force.  A later commit will add
    a new inode flag that does the same thing.
    
    Signed-off-by: Chris Mason <chris.mason@oracle.com>
    authored January 28, 2010
  12. Linus Torvalds

    Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-…

    …linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      MIPS: PowerTV: Fix support for timer interrupts with > 64 external IRQs
      MIPS: PowerTV: Streamline access to platform device registers
      MIPS: Fix vmlinuz build for 32bit-only math shells
      MIPS: Add support of LZO-compressed kernels
    authored January 28, 2010
  13. Linus Torvalds

    Merge branch 'for-linus' of git://git.infradead.org/ubi-2.6

    * 'for-linus' of git://git.infradead.org/ubi-2.6:
      UBI: fix volume creation input checking
    authored January 28, 2010
  14. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/ieee1394/linux1394-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
      firewire: ohci: fix crashes with TSB43AB23 on 64bit systems
      firewire: core: fix use-after-free regression in FCP handler
      firewire: cdev: add_descriptor documentation fix
      firewire: core: add_descriptor size check
    authored January 28, 2010
  15. Jeff Garrett

    x86/PCI: remove IOH range fetching

    Turned out to cause trouble on single IOH machines, and is superceded by
    _CRS on multi-IOH machines with production BIOSes.
    
    Signed-off-by: Jeff Garrett <jeff@jgarrett.org>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    authored January 27, 2010 Jesse Barnes committed January 28, 2010
  16. Input: lifebook - add another Lifebook DMI signature

    There are many many ways one can capitalize "Lifebook B Series"...
    
    Signed-off-by: Jon Dodgson <crayzeejon@gmail.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    authored January 28, 2010 dtor committed January 28, 2010

Jan 27, 2010

  1. MIPS: PowerTV: Fix support for timer interrupts with > 64 external IRQs

    The MIPS processor is limited to 64 external interrupt sources. Using a
    greater number without IRQ sharing requires reading platform-specific
    registers. On such platforms, reading the IntCtl register to determine
    which interrupt corresponds to a timer interrupt will not work.
    
    On MIPSR2 systems there is a solution - the TI bit in the Cause register,
    specifically indicates that a timer interrupt has occured. This patch uses
    that bit to detect interrupts for MIPSR2 processors, which may be expected
    to work regardless of how the timer interrupt may be routed in the hardware.
    
    Signed-off-by: David VomLehn (dvomlehn@cisco.com)
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/804/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    authored December 21, 2009 Ralf Baechle committed January 28, 2010
  2. MIPS: PowerTV: Streamline access to platform device registers

    Pre-compute addresses for the basic ASIC registers. This speeds up access
    and allows memory for unused configurations to be freed. In addition,
    uninitialized register addresses will be returned as NULL to catch bad
    usage quickly.
    
    Signed-off-by: David VomLehn <dvomlehn@cisco.com>
    To: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/806/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    authored December 23, 2009 Ralf Baechle committed January 28, 2010
  3. MIPS: Fix vmlinuz build for 32bit-only math shells

    POSIX requires $((<expression>)) arithmetic in sh only to have long
    arithmetic so on 32-bit sh binaries might do only 32-bit arithmetic but
    the arithmetic done in arch/mips/boot/compressed/Makefile needs 64-bit.
    
    I play with the AR7 platform, so VMLINUX_LOAD_ADDRESS is
    0xffffffff94100000, and for an example 4MiB kernel
    VMLINUZ_LOAD_ADDRESS is made out to be:
    ----
    alex@berk:~$ bash -c 'printf "%x\n" $((0xffffffff94100000 + 0x400000))'
    ffffffff94500000
    alex@berk:~$ dash -c 'printf "%x\n" $((0xffffffff94100000 + 0x400000))'
    80000000003fffff
    ----
    
    The former is obviously correct whilst the later breaks things royally.
    
    Fortunately working with only the lower 32bit's works for both bash and
    dash:
    ----
    $ bash -c 'printf "%x\n" $((0x94100000 + 0x400000))'
    94500000
    $ dash -c 'printf "%x\n" $((0x94100000 + 0x400000))'
    94500000
    ----
    
    So, we can split the original 64bit string to two parts, and only
    calculate the low 32bit part, which is big enough (1GiB kernel sizes
    anyone?) for a normal Linux kernel image file, now, we calculate the
    VMLINUZ_LOAD_ADDRESS like this:
    
    1. if present, append top 32bit of VMLINUX_LOAD_ADDRESS" as a prefix
    2. get the sum of the low 32bit of VMLINUX_LOAD_ADDRESS + VMLINUX_SIZE
    
    This patch fixes vmlinuz kernel builds on systems where only a
    32bit-only math shell is available.
    
    Patch Changelog:
      Version 2
        - simplified method by using 'expr' for 'substr' and making it work
    	with dash once again
      Version 1
        - Revert the removals of '-n "$(VMLINUX_SIZE)"' to avoid the error
            of "make clean"
        - Consider more cases of the VMLINUX_LOAD_ADDRESS
      Version 0
        - initial release
    
    Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
    Acked-by: Wu Zhangjin <wuzhangjin@gmail.com>
    Patchwork: http://patchwork.linux-mips.org/patch/861/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    authored January 20, 2010 Ralf Baechle committed January 28, 2010
  4. lzufalcon

    MIPS: Add support of LZO-compressed kernels

    The necessary changes to the x86 Kconfig and boot/compressed to allow the
    use of this new compression method.
    
    Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
    Cc: linux-mips@linux-mips.org
    Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
    Patchwork: http://patchwork.linux-mips.org/patch/857/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    authored January 15, 2010 Ralf Baechle committed January 28, 2010
  5. Merge branch 'for-rmk' of git://git.marvell.com/orion

    authored January 27, 2010
  6. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixe…

    …s-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
      [SCSI] aic79xx: check for non-NULL scb in ahd_handle_nonpkt_busfree
      [SCSI] zfcp: Set hardware timeout as requested by BSG request.
      [SCSI] zfcp: Introduce bsg_timeout callback.
      [SCSI] scsi_transport_fc: Allow LLD to reset FC BSG timeout
      [SCSI] zfcp: add missing compat ptr conversion
      [SCSI] zfcp: Fix linebreak in hba trace
      [SCSI] zfcp: Issue zfcp_fc_wka_port_put after FC CT BSG request
      [SCSI] qla2xxx: Update version number to 8.03.01-k10.
      [SCSI] fc-transport: Use packed modifier for fc_bsg_request structure.
      [SCSI] qla2xxx: Perform fast mailbox read of flash regardless of size nor address alignment.
      [SCSI] qla2xxx: Correct FCP2 recovery handling.
      [SCSI] scsi_lib: Fix bug in completion of bidi commands
      [SCSI] mptsas: Fix issue with chain pools allocation on katmai
      [SCSI] aacraid: fix File System going into read-only mode
      [SCSI] lpfc: fix file permissions
    authored January 27, 2010
Something went wrong with that request. Please try again.