09 Nov, 2009

6 commits


06 Nov, 2009

13 commits


05 Nov, 2009

5 commits


04 Nov, 2009

16 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel:
    drm/i915: Ironlake suspend/resume support
    drm/i915: kill warning in intel_find_pll_g4x_dp
    drm/i915: update watermarks before enabling PLLs
    drm/i915: add FIFO watermark support for G4x
    drm/i915: quiet DP i2c init
    drm/i915: fix panel fitting filter coefficient select for Ironlake
    drm/i915: fix to setup display reference clock control on Ironlake
    drm/i915: Install a fence register for fbc on g4x
    drm/i915: save/restore BLC histogram control reg across suspend/resume
    drm/i915: Fix FDI M/N setting according with correct color depth
    drm/i915: disable powersave feature for Ironlake currently
    drm/i915: Fix render reclock availability detection.
    drm/i915: Save and restore the GM45 FBC regs on suspend and resume.
    drm/i915: Set the LVDS_BORDER when using LVDS scaling mode
    drm/i915: disable FBC for Pineview, fixing a boot hang.

    Linus Torvalds
     
  • If TSS we are switching to resides in high memory task switch will fail
    since address will be truncated. Windows2k3 does this sometimes when
    running with more then 4G

    Cc: stable@kernel.org
    Signed-off-by: Gleb Natapov
    Signed-off-by: Avi Kivity

    Gleb Natapov
     
  • We only allocate memory for 32 MCE banks (KVM_MAX_MCE_BANKS) but we
    allow user space to fill up to 255 on setup (mcg_cap & 0xff), corrupting
    kernel memory. Catch these overflows.

    Signed-off-by: Jan Kiszka
    Signed-off-by: Marcelo Tosatti

    Jan Kiszka
     
  • Shift error type bits properly.

    Signed-off-by: Borislav Petkov

    Borislav Petkov
     
  • In amd64_edac_init(void) in amd64_edac.c, cache_k8_northbridges() is
    called before pci_register_driver. If it fails, should exit with err
    directly.

    Signed-off-by: Li Hong
    Acked-by: Doug Thompson
    Signed-off-by: Borislav Petkov

    Li Hong
     
  • This patch fixes two issues in the procfs stack information on
    x86-64 linux.

    The 32 bit loader compat_do_execve did not store stack
    start. (this was figured out by Alexey Dobriyan).

    The stack information on a x64_64 kernel always shows 0 kbyte
    stack usage, because of a missing implementation of the KSTK_ESP
    macro which always returned -1.

    The new implementation now returns the right value.

    Signed-off-by: Stefani Seibold
    Cc: Americo Wang
    Cc: Alexey Dobriyan
    Cc: Al Viro
    Cc: Andrew Morton
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Stefani Seibold
     
  • Invalidate the target's attributes, which may have changed (such as
    nlink, change time) so that they are refreshed on the next getattr().

    Signed-off-by: Miklos Szeredi

    Miklos Szeredi
     
  • Looks like another victim of the confusing kmap() vs kmap_atomic() API
    differences.

    Reported-by: Todor Gyumyushev
    Signed-off-by: Jens Axboe
    Signed-off-by: Miklos Szeredi
    Cc: Tejun Heo
    Cc: stable@kernel.org

    Jens Axboe
     
  • fuse_direct_io() has a loop where requests are allocated in each
    iteration. if allocation fails, the loop is broken out and follows
    into an unconditional fuse_put_request() on that invalid pointer.

    Signed-off-by: Anand V. Avati
    Signed-off-by: Miklos Szeredi
    Cc: stable@kernel.org

    Anand V. Avati
     
  • When a command is passed to the set_ftrace_filter, then
    the ftrace_regex_lock is still held going back to user space.

    # echo 'do_open : foo' > set_ftrace_filter
    (still holding ftrace_regex_lock when returning to user space!)

    Signed-off-by: Li Zefan
    LKML-Reference:
    Signed-off-by: Steven Rostedt

    Li Zefan
     
  • We got a sudden panic when we reduced the size of the
    ringbuffer.

    We can reproduce the panic by the following steps:

    echo 1 > events/sched/enable
    cat trace_pipe > /dev/null &

    while ((1))
    do
    echo 12000 > buffer_size_kb
    echo 512 > buffer_size_kb
    done

    (not more than 5 seconds, panic ...)

    Reported-by: KOSAKI Motohiro
    Signed-off-by: Lai Jiangshan
    LKML-Reference:
    Signed-off-by: Steven Rostedt

    Lai Jiangshan
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    cfq-iosched: limit coop preemption
    cfq-iosched: fix bad return value cfq_should_preempt()
    backing-dev: bdi sb prune should be in the unregister path, not destroy
    Fix bio_alloc() and bio_kmalloc() documentation
    bio_put(): add bio_clone() to the list of functions in the comment

    Linus Torvalds
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    sata_via: Remove redundant device ID for VIA VT8261
    drivers/ata/libata: Move dereference after NULL test
    ahci: Enable SB600 64bit DMA on MSI K9A2 Platinum v2

    Linus Torvalds
     
  • Index `ipi_num' is signed, test whether it is negative to
    make sure we don't get a negative array element.

    Signed-off-by: Roel Kluin
    Signed-off-by: Hirokazu Takata

    Roel Kluin
     
  • - Support bzip2 and lzma kernel compression for m32r.
    - Clean up arch/m32r/boot/compressed/misc.c.

    Signed-off-by: Hirokazu Takata

    Hirokazu Takata
     
  • Building with --build-id option, .note.gnu.build-id section is added
    to vmlinux.bin. But some old buggy binutils creates a huge vmlinux.bin,
    and a bootloader fails to boot its zImage as well.

    This patch adds a NOTES macro to a linker script vmlinux.ld.S to put
    .note.gnu.build-id section into .note section.
    Then, the .note section will be removed, because "-R .note" option is
    specified in OBJCOPYFLAGS to make a vmlinux.bin binary.

    Signed-off-by: Hirokazu Takata

    Hirokazu Takata