Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.6.37-rc7

Dec 21, 2010

  1. Linus Torvalds

    Linux 2.6.37-rc7

    authored December 21, 2010
  2. Linus Torvalds

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

    …/git/gregkh/tty-2.6
    
    * 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6:
      n_gsm: gsm_data_alloc buffer allocation could fail and it is not being checked
      n_gsm: Fix message length handling when building header
    authored December 20, 2010
  3. Linus Torvalds

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

    …/git/gregkh/usb-2.6
    
    * 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
      Revert "USB: gadget: Allow function access to device ID data during bind()"
      USB: misc: uss720.c: add another vendor/product ID
      USB: usb-storage: unusual_devs entry for the Samsung YP-CP3
      USB: gadget: Remove suspended sysfs file before freeing cdev
      USB: core: Add input prompt and help text for USB_OTG config
      USB: ftdi_sio: Add D.O.Tec PID
      xhci: Fix issue with port array setup and buggy hosts.
    authored December 20, 2010
  4. Linus Torvalds

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

    …/git/sage/ceph-client
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
      ceph: handle partial result from get_user_pages
      ceph: mark user pages dirty on direct-io reads
      ceph: fix null pointer dereference in ceph_init_dentry for nfs reexport
      ceph: fix direct-io on non-page-aligned buffers
      ceph: fix msgr_init error path
    authored December 20, 2010
  5. Linus Torvalds

    Fix build error in drivers/block/cciss.c

    .. caused by a missing semi-colon, introduced in commit 0fc13c8
    ("cciss: fix cciss_revalidate panic").
    
    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Reported-by: Thiago Farina <tfransosi@gmail.com>
    Cc: Jens Axboe <jaxboe@fusionio.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored December 20, 2010

Dec 20, 2010

  1. Linus Torvalds

    Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/mchehab/linux-2.6
    
    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
      [media] gspca - sonixj: Better handling of the bridge registers 0x01 and 0x17
      [media] gspca - sonixj: Add the bit definitions of the bridge reg 0x01 and 0x17
      [media] gspca - sonixj: Set the flag for some devices
      [media] gspca - sonixj: Add a flag in the driver_info table
      [media] gspca - sonixj: Fix a bad probe exchange
      [media] gspca - sonixj: Move bridge init to sd start
      [media] bttv: remove unneeded locking comments
      [media] bttv: fix mutex use before init (BZ#24602)
      [media] Don't export format_by_forcc on two different drivers
    authored December 20, 2010
  2. Linus Torvalds

    Merge branch 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/lethal/sh-2.6
    
    * 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
      ARM: mach-shmobile: INTC interrupt priority level demux fix
      ARM: mach-shmobile: fix compile warning in mm/init.c
    authored December 20, 2010
  3. Linus Torvalds

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

    …ux/kernel/git/lethal/sh-2.6
    
    * 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
      clocksource: sh_cmt: Remove nested spinlock fix
    authored December 20, 2010
  4. Linus Torvalds

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

    …linux/kernel/git/lethal/fbdev-2.6
    
    * 'fbdev-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6:
      OMAP: OMAPFB: disable old omapfb for OMAP4 builds
      OMAP: DSS: VRAM: Align start & size of vram to 2M
    authored December 20, 2010
  5. Linus Torvalds

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

    …nux/kernel/git/kgene/linux-samsung
    
    * 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
      ARM: S5PV210: update MAX8998 platform data to get rid of WARN()
      ARM S3C24XX: Fix compilation of PM code for S3C2416
      ARM: S3C24XX: Fix CONFIG_S3C_DEV_NAND Kconfig entry
    authored December 20, 2010
  6. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block

    * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
      cciss: fix cciss_revalidate panic
      block: max hardware sectors limit wrapper
      block: Deprecate QUEUE_FLAG_CLUSTER and use queue_limits instead
      blk-throttle: Correct the placement of smp_rmb()
      blk-throttle: Trim/adjust slice_end once a bio has been dispatched
      block: check for proper length of iov entries earlier in blk_rq_map_user_iov()
      drbd: fix for spin_lock_irqsave in endio callback
      drbd: don't recvmsg with zero length
    authored December 20, 2010
  7. Fix btrfs b0rkage

    Buggered-in: 76dda93 ("Btrfs: add snapshot/subvolume destroy
    ioctl")
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Acked-by: Chris Mason <chris.mason@oracle.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored December 20, 2010 torvalds committed December 20, 2010
  8. npitre

    clarify a usage constraint for cnt32_to_63()

    The cnt32_to_63 algorithm relies on proper counter data evaluation
    ordering to work properly. This was missing from the provided
    documentation.
    
    Let's augment the documentation with the missing usage constraint and
    fix the only instance that got it wrong.
    
    Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
    Acked-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored December 20, 2010 torvalds committed December 20, 2010
  9. Linus Torvalds

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

    …linux/kernel/git/tip/linux-2.6-tip
    
    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      sched: Remove debugging check
    authored December 20, 2010

Dec 19, 2010

  1. sched: Remove debugging check

    Linus reported that the new warning introduced by commit f26f9af
    "Sched: fix skip_clock_update optimization" triggers. The need_resched
    flag can be set by other CPUs asynchronously so this debug check is
    bogus - remove it.
    
    Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    LKML-Reference: <AANLkTinJ8hAG1TpyC+CSYPR47p48+1=E7fiC45hMXT_1@mail.gmail.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    authored December 19, 2010
  2. Linus Torvalds

    Merge branches 'x86-fixes-for-linus' and 'perf-fixes-for-linus' of gi…

    …t://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
    
    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      x86-32: Make sure we can map all of lowmem if we need to
      x86, vt-d: Handle previous faults after enabling fault handling
      x86: Enable the intr-remap fault handling after local APIC setup
      x86, vt-d: Fix the vt-d fault handling irq migration in the x2apic mode
      x86, vt-d: Quirk for masking vtd spec errors to platform error handling logic
      x86, xsave: Use alloc_bootmem_align() instead of alloc_bootmem()
      bootmem: Add alloc_bootmem_align()
      x86, gcc-4.6: Use gcc -m options when building vdso
      x86: HPET: Chose a paranoid safe value for the ETIME check
      x86: io_apic: Avoid unused variable warning when CONFIG_GENERIC_PENDING_IRQ=n
    
    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      perf: Fix off by one in perf_swevent_init()
      perf: Fix duplicate events with multiple-pmu vs software events
      ftrace: Have recordmcount honor endianness in fn_ELF_R_INFO
      scripts/tags.sh: Add magic for trace-events
      tracing: Fix panic when lseek() called on "trace" opened for writing
    authored December 19, 2010
  3. Linus Torvalds

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

    …linux/kernel/git/tip/linux-2.6-tip
    
    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      sched: Fix the irqtime code for 32bit
      sched: Fix the irqtime code to deal with u64 wraps
      nohz: Fix get_next_timer_interrupt() vs cpu hotplug
      Sched: fix skip_clock_update optimization
      sched: Cure more NO_HZ load average woes
    authored December 19, 2010

Dec 18, 2010

  1. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile

    * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
      arch/tile: handle rt_sigreturn() more cleanly
      arch/tile: handle CLONE_SETTLS in copy_thread(), not user space
    authored December 18, 2010
  2. Linus Torvalds

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

    …linus
    
    * 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus:
      MIPS: Fix build errors in sc-mips.c
    authored December 18, 2010
  3. 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: avoid high BIOS area when allocating address space
      x86: avoid E820 regions when allocating address space
      x86: avoid low BIOS area when allocating address space
      resources: add arch hook for preventing allocation in reserved areas
      Revert "resources: support allocating space within a region from the top down"
      Revert "PCI: allocate bus resources from the top down"
      Revert "x86/PCI: allocate space from the end of a region, not the beginning"
      Revert "x86: allocate space within a region top-down"
      Revert "PCI: fix pci_bus_alloc_resource() hang, prefer positive decode"
      PCI: Update MCP55 quirk to not affect non HyperTransport variants
    authored December 18, 2010

Dec 17, 2010

  1. cmetcalf-tilera

    arch/tile: handle rt_sigreturn() more cleanly

    The current tile rt_sigreturn() syscall pattern uses the common idiom
    of loading up pt_regs with all the saved registers from the time of
    the signal, then anticipating the fact that we will clobber the ABI
    "return value" register (r0) as we return from the syscall by setting
    the rt_sigreturn return value to whatever random value was in the pt_regs
    for r0.
    
    However, this breaks in our 64-bit kernel when running "compat" tasks,
    since we always sign-extend the "return value" register to properly
    handle returned pointers that are in the upper 2GB of the 32-bit compat
    address space.  Doing this to the sigreturn path then causes occasional
    random corruption of the 64-bit r0 register.
    
    Instead, we stop doing the crazy "load the return-value register"
    hack in sigreturn.  We already have some sigreturn-specific assembly
    code that we use to pass the pt_regs pointer to C code.  We extend that
    code to also set the link register to point to a spot a few instructions
    after the usual syscall return address so we don't clobber the saved r0.
    Now it no longer matters what the rt_sigreturn syscall returns, and the
    pt_regs structure can be cleanly and completely reloaded.
    
    Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
    authored December 14, 2010
  2. cmetcalf-tilera

    arch/tile: handle CLONE_SETTLS in copy_thread(), not user space

    Previously we were just setting up the "tp" register in the
    new task as started by clone() in libc.  However, this is not
    quite right, since in principle a signal might be delivered to
    the new task before it had its TLS set up.  (Of course, this race
    window still exists for resetting the libc getpid() cached value
    in the new task, in principle.  But in any case, we are now doing
    this exactly the way all other architectures do it.)
    
    This change is important for 2.6.37 since the tile glibc we will
    be submitting upstream will not set TLS in user space any more,
    so it will only work on a kernel that has this fix.  It should
    also be taken for 2.6.36.x in the stable tree if possible.
    
    Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
    Cc: stable <stable@kernel.org>
    authored December 14, 2010
  3. [media] gspca - sonixj: Better handling of the bridge registers 0x01 …

    …and 0x17
    
    The initial values of the registers 0x01 and 0x17 are taken from the sensor
    table at capture start and updated according to the flag PDN_INV.
    
    Their values are updated at each step of the capture initialization and
    memorized for reuse in capture stop.
    
    This patch also fixed automatically some bad hardcoded values of these
    registers.
    
    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  4. [media] gspca - sonixj: Add the bit definitions of the bridge reg 0x0…

    …1 and 0x17
    
    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  5. [media] gspca - sonixj: Set the flag for some devices

    The flag PDN_INV indicates that the sensor pin S_PWR_DN has not the same
    value as other webcams with the same sensor. For now, only two webcams have
    been so detected: the Microsoft's VX1000 and VX3000.
    
    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  6. [media] gspca - sonixj: Add a flag in the driver_info table

    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  7. [media] gspca - sonixj: Fix a bad probe exchange

    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  8. [media] gspca - sonixj: Move bridge init to sd start

    Signed-off-by: Jean-François Moine <moinejf@free.fr>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 14, 2010 Mauro Carvalho Chehab committed December 17, 2010
  9. Brandon Philips

    [media] bttv: remove unneeded locking comments

    After Mauro's "bttv: Fix locking issues due to BKL removal code" there
    are a number of comments that are no longer needed about lock ordering.
    Remove them.
    
    Signed-off-by: Brandon Philips <bphilips@suse.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 17, 2010 Mauro Carvalho Chehab committed December 17, 2010
  10. Mauro Carvalho Chehab

    [media] bttv: fix mutex use before init (BZ#24602)

    Fix a regression where bttv driver causes oopses when loading, since it
    were using some non-initialized mutexes. While it would be possible to
    fix the issue, there are some other lock troubles, like to the presence of
    lock code at free_btres_lock().
    
    It is possible to fix, but the better is to just use the core-assisted
    locking schema. This way, V4L2 core will serialize access to all
    ioctl's/open/close/mmap/read/poll operations, avoiding to have two
    processes accessing the hardware at the same time. Also, as there's just
    one lock, instead of 3, there's no risk of dead locks.
    
    The net result is a cleaner code, with just one lock.
    
    Reported-by: Dan Carpenter <error27@gmail.com>
    Reported-by: Brandon Philips<brandon@ifup.org>
    Reported-by: Chris Clayton <chris2553@googlemail.com>
    Reported-by: Torsten Kaiser <just.for.lkml@googlemail.com>
    Tested-by: Chris Clayton <chris2553@googlemail.com>
    Tested-by: Torsten Kaiser <just.for.lkml@googlemail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    authored December 15, 2010 Mauro Carvalho Chehab committed December 17, 2010
  11. Kevin Cernekee

    MIPS: Fix build errors in sc-mips.c

    Seen with malta_defconfig on Linus' tree:
    
      CC      arch/mips/mm/sc-mips.o
    arch/mips/mm/sc-mips.c: In function 'mips_sc_is_activated':
    arch/mips/mm/sc-mips.c:77: error: 'config2' undeclared (first use in this function)
    arch/mips/mm/sc-mips.c:77: error: (Each undeclared identifier is reported only once
    arch/mips/mm/sc-mips.c:77: error: for each function it appears in.)
    arch/mips/mm/sc-mips.c:81: error: 'tmp' undeclared (first use in this function)
    make[2]: *** [arch/mips/mm/sc-mips.o] Error 1
    make[1]: *** [arch/mips/mm] Error 2
    make: *** [arch/mips] Error 2
    
    [Ralf: Cosmetic changes to minimize the number of arguments passed to
    mips_sc_is_activated]
    
    Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
    Patchwork: https://patchwork.linux-mips.org/patch/1752/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    authored November 02, 2010 Ralf Baechle committed December 17, 2010
  12. x86: avoid high BIOS area when allocating address space

    This prevents allocation of the last 2MB before 4GB.
    
    The experiment described here shows Windows 7 ignoring the last 1MB:
    https://bugzilla.kernel.org/show_bug.cgi?id=23542#c27
    
    This patch ignores the top 2MB instead of just 1MB because H. Peter Anvin
    says "There will be ROM at the top of the 32-bit address space; it's a fact
    of the architecture, and on at least older systems it was common to have a
    shadow 1 MiB below."
    
    Acked-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    authored December 16, 2010 Jesse Barnes committed December 17, 2010
  13. x86: avoid E820 regions when allocating address space

    When we allocate address space, e.g., to assign it to a PCI device, don't
    allocate anything mentioned in the BIOS E820 memory map.
    
    On recent machines (2008 and newer), we assign PCI resources from the
    windows described by the ACPI PCI host bridge _CRS.  On many Dell
    machines, these windows overlap some E820 reserved areas, e.g.,
    
        BIOS-e820: 00000000bfe4dc00 - 00000000c0000000 (reserved)
        pci_root PNP0A03:00: host bridge window [mem 0xbff00000-0xdfffffff]
    
    If we put devices at 0xbff00000, they don't work, probably because
    that's really RAM, not I/O memory.  This patch prevents that by removing
    the 0xbfe4dc00-0xbfffffff area from the "available" resource.
    
    I'm not very happy with this solution because Windows solves the problem
    differently (it seems to ignore E820 reserved areas and it allocates
    top-down instead of bottom-up; details at comment 45 of the bugzilla
    below).  That means we're vulnerable to BIOS defects that Windows would not
    trip over.  For example, if BIOS described a device in ACPI but didn't
    mention it in E820, Windows would work fine but Linux would fail.
    
    Reference: https://bugzilla.kernel.org/show_bug.cgi?id=16228
    Acked-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    authored December 16, 2010 Jesse Barnes committed December 17, 2010
  14. x86: avoid low BIOS area when allocating address space

    This implements arch_remove_reservations() so allocate_resource() can
    avoid any arch-specific reserved areas.  This currently just avoids the
    BIOS area (the first 1MB), but could be used for E820 reserved areas if
    that turns out to be necessary.
    
    We previously avoided this area in pcibios_align_resource().  This patch
    moves the test from that PCI-specific path to a generic path, so *all*
    resource allocations will avoid this area.
    
    Acked-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    authored December 16, 2010 Jesse Barnes committed December 17, 2010
  15. resources: add arch hook for preventing allocation in reserved areas

    This adds arch_remove_reservations(), which an arch can implement if it
    needs to protect part of the address space from allocation.
    
    Sometimes that can be done by just putting a region in the resource tree,
    but there are cases where that doesn't work well.  For example, x86 BIOS
    E820 reservations are not related to devices, so they may overlap part of,
    all of, or more than a device resource, so they may not end up at the
    correct spot in the resource tree.
    
    Acked-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    authored December 16, 2010 Jesse Barnes committed December 17, 2010
Something went wrong with that request. Please try again.