Permalink
Commits on Apr 14, 2009
  1. @torvalds

    Linux 2.6.30-rc2

    torvalds committed Apr 14, 2009
  2. @torvalds

    Merge branch 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/anholt/drm-intel
    
    * 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel:
      drm/i915: fix scheduling while holding the new active list spinlock
      drm/i915: Allow tiling of objects with bit 17 swizzling by the CPU.
      drm/i915: Correctly set the write flag for get_user_pages in pread.
      drm/i915: Fix use of uninitialized var in 40a5f0d
      drm/i915: indicate framebuffer restore key in SysRq help message
      drm/i915: sync hdmi detection by hdmi identifier with 2D
      drm/i915: Fix a mismerge of the IGD patch (new .find_pll hooks missed)
      drm/i915: Implement batch and ring buffer dumping
    torvalds committed Apr 14, 2009
  3. @torvalds

    x86 microcode: revert some work_on_cpu

    Revert part of af5c820 ("x86: cpumask:
    use work_on_cpu in arch/x86/kernel/microcode_core.c")
    
    That change is causing only one Intel CPU's microcode to be updated e.g.
    microcode: CPU3 updated from revision 0x9 to 0x17, date = 2005-04-22
    where before it announced that also for CPU0 and CPU1 and CPU2.
    
    We cannot use work_on_cpu() in the CONFIG_MICROCODE_OLD_INTERFACE code,
    because Intel's request_microcode_user() involves a copy_from_user() from
    /sbin/microcode_ctl, which therefore needs to be on that CPU at the time.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins committed with torvalds Apr 14, 2009
  4. @anholt

    drm/i915: fix scheduling while holding the new active list spinlock

    regression caused by commit 5e118f4:
    i915_gem_object_move_to_inactive() should be called in task context,
    as it calls fput();
    
    Signed-off-by: Shaohua Li<shaohua.li@intel.com>
    [anholt: Add more detail to the comment about the lock break that's added]
    Signed-off-by: Eric Anholt <eric@anholt.net>
    Shaohua Li committed with anholt Apr 8, 2009
  5. @torvalds

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

    …inux/kernel/git/tip/linux-2.6-tip
    
    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
      lockdep: warn about lockdep disabling after kernel taint, fix
    torvalds committed Apr 14, 2009
  6. @torvalds

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

    …/git/mszeredi/fuse
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
      fuse: fix "direct_io" private mmap
      fuse: fix argument type in fuse_get_user_pages()
    torvalds committed Apr 14, 2009
  7. @torvalds

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

    …/git/ryusuke/nilfs2
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
      nilfs2: fix possible mismatch of sufile counters on recovery
      nilfs2: segment usage file cleanups
      nilfs2: fix wrong accounting and duplicate brelse in nilfs_sufile_set_error
      nilfs2: simplify handling of active state of segments fix
      nilfs2: remove module version
      nilfs2: fix lockdep recursive locking warning on meta data files
      nilfs2: fix lockdep recursive locking warning on bmap
      nilfs2: return f_fsid for statfs2
    torvalds committed Apr 14, 2009
  8. @torvalds

    Merge branch 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-micro…

    …blaze
    
    * 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
      microblaze: Add missing FILE tag to MAINTAINERS
      microblaze: remove duplicated #include's
      microblaze: struct device - replace bus_id with dev_name()
      microblaze: Simplify copy_thread()
      microblaze: Add TIMESTAMPING constants to socket.h
      microblaze: Add missing empty ftrace.h file
      microblaze: Fix problem with removing zero length files
    torvalds committed Apr 14, 2009
  9. @torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6

    * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
      sh: Add in PCI bus for DMA API debugging.
      sh: Pre-allocate a reasonable number of DMA debug entries.
      sh: sh7786: modify usb setup timeout judgment bug.
      MAINTAINERS: Update sh architecture file patterns.
      sh: ap325: use edge control for ov772x camera
      sh: Plug in support for ARCH=sh64 using sh SRCARCH.
      sh: urquell: Fix up address mapping in board comments.
      sh: Add support for DMA API debugging.
      sh: Provide cpumask_of_pcibus() to fix NUMA build.
      sh: urquell: Add board comment
      sh: wire up sys_preadv/sys_pwritev() syscalls.
      sh: sh7785lcr: fix PCI address map for 32-bit mode
      sh: intc: Added resume from hibernation support to the intc
    torvalds committed Apr 14, 2009
  10. @torvalds

    Fix lpfc_parse_bg_err()'s use of do_div()

    Fix lpfc_parse_bg_err()'s use of do_div().  It should be passing a 64-bit
    variable as the first parameter.  However, since it's only using a 32-bit
    variable, it doesn't need to use do_div() at all, but can instead use the
    division operator.
    
    This deals with the following warnings:
    
        CC      drivers/scsi/lpfc/lpfc_scsi.o
      drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_parse_bg_err':
      drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: comparison of distinct pointer types lacks a cast
      drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: right shift count >= width of type
      drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: passing argument 1 of '__div64_32' from incompatible pointer type
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    David Howells committed with torvalds Apr 14, 2009
  11. @dorileo @torvalds

    tty: Update some of the USB kernel doc

    Updates some usb_serial_port members documentation.
    
    Signed-off-by: Leandro Dorileo <ldorileo@gmail.com>
    Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    dorileo committed with torvalds Apr 14, 2009
  12. @tbreeds @torvalds

    parport_pc: Fix build failure drivers/parport/parport_pc.c for powerpc

    In commit 51dcdfe ("parport: Use the
    PCI IRQ if offered") parport_pc_probe_port() gained an irqflags arg.
    This isn't being supplied on powerpc.  This patch make powerpc fallback
    to the old behaviour, that is using "0" for irqflags.
    
    Fixes build failure:
    
      In file included from drivers/parport/parport_pc.c:68:
      arch/powerpc/include/asm/parport.h: In function 'parport_pc_find_nonpci_ports':
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      arch/powerpc/include/asm/parport.h:32: error: too few arguments to function 'parport_pc_probe_port'
      make[3]: *** [drivers/parport/parport_pc.o] Error 1
    
    Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
    Signed-off-by: Alan Cox <alan@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    tbreeds committed with torvalds Apr 14, 2009
  13. @Alan-Cox @torvalds

    parport: Fix various uses of parport_pc

    These got overlooked first time around.
    
    Signed-off-by: Alan Cox <alan@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Alan-Cox committed with torvalds Apr 14, 2009
  14. @Alan-Cox @torvalds

    tty: Fix leak in ti-usb

    If the ti-usb adapter returns an zero data length frame (which happens)
    then we leak a kref.  Found by Christoph Mair <christoph.mair@gmail.com>
    who proposed a patch.  The patch here is different as Christoph's patch
    didn't work for the case where tty = NULL and data arrived but Christoph
    did all the hard work chasing it down.
    
    Signed-off-by: Alan Cox <alan@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Alan-Cox committed with torvalds Apr 14, 2009
  15. @Alan-Cox @torvalds

    cdc-acm: Fix long standing abuse of tty->low_latency

    ACM sets the low latency flag but calls the flip buffer routines from
    IRQ context which isn't permitted (and as of 2.6.29 causes a warning
    hence this one was caught)
    
    Fortunatelt ACM doesn't need to set this flag in the first place as it
    only set it to work around problems in ancient (pre tty flip rewrite)
    kernels.
    
    Reported-by: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Alan-Cox committed with torvalds Apr 14, 2009
  16. @michalsimek

    microblaze: Add missing FILE tag to MAINTAINERS

    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 14, 2009
  17. lockdep: warn about lockdep disabling after kernel taint, fix

    Impact: build fix for Sparc and s390
    
    Stephen Rothwell reported that the Sparc build broke:
    
     In file included from kernel/panic.c:12:
     include/linux/debug_locks.h: In function '__debug_locks_off':
     include/linux/debug_locks.h:15: error: implicit declaration of function 'xchg'
    
    due to:
    
     9eeba61: lockdep: warn about lockdep disabling after kernel taint
    
    There is some inconsistency between architectures about where exactly
    xchg() is defined.
    
    The traditional place is in system.h but the more logical point for it
    is in atomic.h - where most architectures (especially new ones) have
    it defined. These architecture also still offer it via system.h.
    
    Some, such as Sparc or s390 only have it in asm/system.h and not available
    via asm/atomic.h at all.
    
    Use the widest set of headers in debug_locks.h and also include asm/system.h.
    
    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    LKML-Reference: <20090414144317.026498df.sfr@canb.auug.org.au>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Ingo Molnar committed Apr 14, 2009
  18. @michalsimek

    microblaze: remove duplicated #include's

    Remove duplicated #include's in
      arch/microblaze/include/asm/io.h
      arch/microblaze/kernel/prom.c
      arch/microblaze/kernel/ptrace.c
      arch/microblaze/kernel/signal.c
      arch/microblaze/kernel/sys_microblaze.c
    
    Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    Huang Weiyi committed with michalsimek Apr 13, 2009
  19. @michalsimek

    microblaze: struct device - replace bus_id with dev_name()

    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 14, 2009
  20. @michalsimek

    microblaze: Simplify copy_thread()

    Removing nr parameter from copy_tread function
    commit 6f2c55b
    
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 14, 2009
  21. @michalsimek

    microblaze: Add TIMESTAMPING constants to socket.h

    This changes was introduce with
    commit: cb9eff0
    
    net: new user space API for time stamping of incoming and outgoing packets
    
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 14, 2009
  22. @michalsimek

    microblaze: Add missing empty ftrace.h file

    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 14, 2009
  23. @michalsimek

    microblaze: Fix problem with removing zero length files

    Adding one new line was recommended solution.
    Test with make distclean
    
    Tested-by: Jeff Garzik <jgarzik@redhat.com>
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    michalsimek committed Apr 13, 2009
  24. sh: Add in PCI bus for DMA API debugging.

    This adds in the pci_bus_type for DMA API debug.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Paul Mundt committed Apr 14, 2009
  25. sh: Pre-allocate a reasonable number of DMA debug entries.

    This prevents the DMA API debugging from running out of entries right
    away on boot. Defines 4096 entries by default, which while a bit on the
    heavy side, ought to leave enough breathing room for some time.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Paul Mundt committed Apr 14, 2009
  26. @torvalds

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

    …/git/jmorris/security-testing-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
      tomoyo: version bump to 2.2.0.
      tomoyo: add Documentation/tomoyo.txt
    torvalds committed Apr 14, 2009
  27. @torvalds

    Fix quilt merge error in acpi-cpufreq.c

    We ended up incorrectly using '&cur' instead of '&readin' in the
    work_on_cpu() -> smp_call_function_single() transformation in commit
    01599fc ("cpufreq: use
    smp_call_function_[single|many]() in acpi-cpufreq.c").
    
    Andrew explains:
     "OK, the acpi tree went and had conflicting changes merged into it after
      I'd written the patch and it appears that I incorrectly reverted part
      of 18b2646 while fixing the resulting
      rejects.
    
      Switching it to `readin' looks correct."
    
    Acked-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Apr 14, 2009
Commits on Apr 13, 2009
  1. tomoyo: version bump to 2.2.0.

    Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
    Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: Toshiharu Harada <haradats@nttdata.co.jp>
    Signed-off-by: James Morris <jmorris@namei.org>
    Tetsuo Handa committed with James Morris Apr 8, 2009
  2. tomoyo: add Documentation/tomoyo.txt

    Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
    Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: Toshiharu Harada <haradats@nttdata.co.jp>
    Signed-off-by: James Morris <jmorris@namei.org>
    Tetsuo Handa committed with James Morris Apr 13, 2009
  3. @torvalds

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

    …/kernel/git/jeremy/xen
    
    * 'for-rc1/xen/core' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen:
      xen: add FIX_TEXT_POKE to fixmap
      xen: honour VCPU availability on boot
      xen: clean up gate trap/interrupt constants
      xen: set _PAGE_NX in __supported_pte_mask before pagetable construction
      xen: resume interrupts before system devices.
      xen/mmu: weaken flush_tlb_other test
      xen/mmu: some early pagetable cleanups
      Xen: Add virt_to_pfn helper function
      x86-64: remove PGE from must-have feature list
      xen: mask XSAVE from cpuid
      NULL noise: arch/x86/xen/smp.c
      xen: remove xen_load_gdt debug
      xen: make xen_load_gdt simpler
      xen: clean up xen_load_gdt
      xen: split construction of p2m mfn tables from registration
      xen: separate p2m allocation from setting
      xen: disable preempt for leave_lazy_mmu
    torvalds committed Apr 13, 2009
  4. sh: sh7786: modify usb setup timeout judgment bug.

    This corrects a race with the PHY RST bit not being set properly if the
    PLL status changes right before timeout. This resulted in it potentially
    failing even if the device came up in time.
    
    Special thanks to Mr. Juha Leppanen and Iwamatsu-san for reporting this
    out and reviewing it.
    
    Reported-by: Juha Leppanen <juha_motorsportcom@luukku.com>
    Reviewed-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
    Tested-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Kuninori Morimoto committed with Paul Mundt Apr 10, 2009
  5. @torvalds

    edac: use to_delayed_work()

    The edac-core driver includes code which assumes that the work_struct
    which is included in every delayed_work is the first member of that
    structure.  This is currently the case but might change in the future, so
    use to_delayed_work() instead, which doesn't make such an assumption.
    
    linux-2.6.30-rc1 has the to_delayed_work() function that will allow this
    patch to work
    
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Doug Thompson <dougthompson@xmission.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Jean Delvare committed with torvalds Apr 13, 2009
  6. @torvalds

    edac: fix local pci_write_bits32

    Fix the edac local pci_write_bits32 to properly note the 'escape' mask if
    all ones in a 32-bit word.
    
    Currently no consumer of this function uses that mask, so there is no
    danger to existing code.
    
    Signed-off-by: Jeff Haran <jharan@Brocade.COM>
    Signed-off-by: Doug Thompson <dougthompson@xmission.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Jeff Haran committed with torvalds Apr 13, 2009
  7. @torvalds

    sgi-xpc: clean up numerous globals

    Introduce xpc_arch_ops and eliminate numerous individual global definitions.
    
    Signed-off-by: Robin Holt <holt@sgi.com>
    Cc: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Robin Holt committed with torvalds Apr 13, 2009
  8. @torvalds

    sgi-xpc: implement opencomplete messaging

    sgi-xpc has a window of failure where an open message can be sent and a
    subsequent data message can get lost.  We have added a new message
    (opencomplete) which closes that window.
    
    Signed-off-by: Robin Holt <holt@sgi.com>
    Signed-off-by: Dean Nelson <dcn@sgi.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Robin Holt committed with torvalds Apr 13, 2009