12 Jun, 2009

18 commits

  • …el/git/tip/linux-2.6-tip

    * 'perfcounters-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (574 commits)
    perf_counter: Turn off by default
    perf_counter: Add counter->id to the throttle event
    perf_counter: Better align code
    perf_counter: Rename L2 to LL cache
    perf_counter: Standardize event names
    perf_counter: Rename enums
    perf_counter tools: Clean up u64 usage
    perf_counter: Rename perf_counter_limit sysctl
    perf_counter: More paranoia settings
    perf_counter: powerpc: Implement generalized cache events for POWER processors
    perf_counters: powerpc: Add support for POWER7 processors
    perf_counter: Accurate period data
    perf_counter: Introduce struct for sample data
    perf_counter tools: Normalize data using per sample period data
    perf_counter: Annotate exit ctx recursion
    perf_counter tools: Propagate signals properly
    perf_counter tools: Small frequency related fixes
    perf_counter: More aggressive frequency adjustment
    perf_counter/x86: Fix the model number of Intel Core2 processors
    perf_counter, x86: Correct some event and umask values for Intel processors
    ...

    Linus Torvalds
     
  • …/git/penberg/slab-2.6

    * 'topic/slab/earlyboot' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    vgacon: use slab allocator instead of the bootmem allocator
    irq: use kcalloc() instead of the bootmem allocator
    sched: use slab in cpupri_init()
    sched: use alloc_cpumask_var() instead of alloc_bootmem_cpumask_var()
    memcg: don't use bootmem allocator in setup code
    irq/cpumask: make memoryless node zero happy
    x86: remove some alloc_bootmem_cpumask_var calling
    vt: use kzalloc() instead of the bootmem allocator
    sched: use kzalloc() instead of the bootmem allocator
    init: introduce mm_init()
    vmalloc: use kzalloc() instead of alloc_bootmem()
    slab: setup allocators earlier in the boot sequence
    bootmem: fix slab fallback on numa
    bootmem: use slab if bootmem is no longer available

    Linus Torvalds
     
  • …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: memtest: use pointers of equal type for comparison

    Linus Torvalds
     
  • * 'for-2.6.31' of git://git.kernel.dk/linux-2.6-block: (153 commits)
    block: add request clone interface (v2)
    floppy: fix hibernation
    ramdisk: remove long-deprecated "ramdisk=" boot-time parameter
    fs/bio.c: add missing __user annotation
    block: prevent possible io_context->refcount overflow
    Add serial number support for virtio_blk, V4a
    block: Add missing bounce_pfn stacking and fix comments
    Revert "block: Fix bounce limit setting in DM"
    cciss: decode unit attention in SCSI error handling code
    cciss: Remove no longer needed sendcmd reject processing code
    cciss: change SCSI error handling routines to work with interrupts enabled.
    cciss: separate error processing and command retrying code in sendcmd_withirq_core()
    cciss: factor out fix target status processing code from sendcmd functions
    cciss: simplify interface of sendcmd() and sendcmd_withirq()
    cciss: factor out core of sendcmd_withirq() for use by SCSI error handling code
    cciss: Use schedule_timeout_uninterruptible in SCSI error handling code
    block: needs to set the residual length of a bidi request
    Revert "block: implement blkdev_readpages"
    block: Fix bounce limit setting in DM
    Removed reference to non-existing file Documentation/PCI/PCI-DMA-mapping.txt
    ...

    Manually fix conflicts with tracing updates in:
    block/blk-sysfs.c
    drivers/ide/ide-atapi.c
    drivers/ide/ide-cd.c
    drivers/ide/ide-floppy.c
    drivers/ide/ide-tape.c
    include/trace/events/block.h
    kernel/trace/blktrace.c

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: (26 commits)
    amd64_edac: add MAINTAINERS entry
    EDAC: do not enable modules by default
    amd64_edac: do not enable module by default
    amd64_edac: add module registration routines
    amd64_edac: add ECC reporting initializers
    amd64_edac: add EDAC core-related initializers
    amd64_edac: add error decoding logic
    amd64_edac: add ECC chipkill syndrome mapping table
    amd64_edac: add per-family descriptors
    amd64_edac: add F10h-and-later methods-p3
    amd64_edac: add F10h-and-later methods-p2
    amd64_edac: add F10h-and-later methods-p1
    amd64_edac: add k8-specific methods
    amd64_edac: assign DRAM chip select base and mask in a family-specific way
    amd64_edac: add helper to dump relevant registers
    amd64_edac: add DRAM address type conversion facilities
    amd64_edac: add functionality to compute the DRAM hole
    amd64_edac: add sys addr to memory controller mapping helpers
    amd64_edac: add memory scrubber interface
    amd64_edac: add MCA error types
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (266 commits)
    sh: Tie sparseirq in to Kconfig.
    sh: Wire up sys_rt_tgsigqueueinfo.
    sh: Fix sys_pwritev() syscall table entry for sh32.
    sh: Fix sh4a llsc-based cmpxchg()
    sh: sh7724: Add JPU support
    sh: sh7724: INTC setting update
    sh: sh7722 clock framework rewrite
    sh: sh7366 clock framework rewrite
    sh: sh7343 clock framework rewrite
    sh: sh7724 clock framework rewrite V3
    sh: sh7723 clock framework rewrite V2
    sh: add enable()/disable()/set_rate() to div6 code
    sh: add AP325RXA mode pin configuration
    sh: add Migo-R mode pin configuration
    sh: sh7722 mode pin definitions
    sh: sh7724 mode pin comments
    sh: sh7723 mode pin V2
    sh: rework mode pin code
    sh: clock div6 helper code
    sh: clock div4 frequency table offset fix
    ...

    Linus Torvalds
     
  • * 'kvm-updates/2.6.31' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (138 commits)
    KVM: Prevent overflow in largepages calculation
    KVM: Disable large pages on misaligned memory slots
    KVM: Add VT-x machine check support
    KVM: VMX: Rename rmode.active to rmode.vm86_active
    KVM: Move "exit due to NMI" handling into vmx_complete_interrupts()
    KVM: Disable CR8 intercept if tpr patching is active
    KVM: Do not migrate pending software interrupts.
    KVM: inject NMI after IRET from a previous NMI, not before.
    KVM: Always request IRQ/NMI window if an interrupt is pending
    KVM: Do not re-execute INTn instruction.
    KVM: skip_emulated_instruction() decode instruction if size is not known
    KVM: Remove irq_pending bitmap
    KVM: Do not allow interrupt injection from userspace if there is a pending event.
    KVM: Unprotect a page if #PF happens during NMI injection.
    KVM: s390: Verify memory in kvm run
    KVM: s390: Sanity check on validity intercept
    KVM: s390: Unlink vcpu on destroy - v2
    KVM: s390: optimize float int lock: spin_lock_bh --> spin_lock
    KVM: s390: use hrtimer for clock wakeup from idle - v2
    KVM: s390: Fix memory slot versus run - v3
    ...

    Linus Torvalds
     
  • Don't hardcode to node zero for early boot IRQ setup memory allocations.

    [ penberg@cs.helsinki.fi: minor cleanups ]
    Cc: Ingo Molnar
    Cc: Johannes Weiner
    Cc: Linus Torvalds
    Signed-off-by: Yinghai Lu
    Signed-off-by: Pekka Enberg

    Yinghai Lu
     
  • Now that we set up the slab allocator earlier, we can get rid of some
    alloc_bootmem_cpumask_var() calls in boot code.

    Cc: Ingo Molnar
    Cc: Johannes Weiner
    Cc: Linus Torvalds
    Signed-off-by: Yinghai Lu
    Signed-off-by: Pekka Enberg

    Yinghai Lu
     
  • * frv:
    FRV: Implement new-style ptrace
    FRV: Don't turn on TIF_SYSCALL_TRACE unconditionally in syscall prologue
    FRV: Implement TIF_NOTIFY_RESUME
    FRV: Remove in-kernel strace code
    FRV: BUG to BUG_ON changes
    FRV: bitops: Change the bitmap index from int to unsigned long

    * mn10300:
    MN10300: Add utrace/tracehooks support
    MN10300: Don't set the dirty bit in the DTLB entries in the TLB-miss handler

    Linus Torvalds
     
  • Add utrace/tracehooks support to MN10300.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Remove the special handling for the Data TLB entry dirty bit in the TLB-miss
    handler. As the code stands, all that it does is to cause us to take a second
    data address exception to set the dirty bit. Instead, we can just let
    pte_mkdirty() set the bit.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Implement the new-style ptrace for FRV, including adding appropriate
    tracehooks.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Don't turn on TIF_SYSCALL_TRACE unconditionally in syscall prologue in FRV's
    entry.S. This was originally for debugging stuff and should have been removed
    a long time ago.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Implement the TIF_NOTIFY_RESUME thread flag, making it call do_notify_resume()
    which then clears it. This will be made use of later by tracehooks in the
    new-style ptrace implementation

    Also discard TIF_IRET as that's not used by FRV.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Remove in-kernel strace code from the FRV arch as it's not really needed any
    more.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Change some BUG()'s to BUG_ON()'s.

    Signed-off-by: Stoyan Gaydarov
    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    Stoyan Gaydarov
     
  • Change the index to unsigned long in all bitops for [frv]

    Signed-off-by: Justin Chen
    Reviewed-by: Bjorn Helgaas
    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    Justin Chen
     

11 Jun, 2009

22 commits

  • * serial-from-alan: (79 commits)
    moxa: prevent opening unavailable ports
    imx: serial: use tty_encode_baud_rate to set true rate
    imx: serial: add IrDA support to serial driver
    imx: serial: use rational library function
    lib: isolate rational fractions helper function
    imx: serial: handle initialisation failure correctly
    imx: serial: be sure to stop xmit upon shutdown
    imx: serial: notify higher layers in case xmit IRQ was not called
    imx: serial: fix one bit field type
    imx: serial: fix whitespaces (no changes in functionality)
    tty: use prepare/finish_wait
    tty: remove sleep_on
    sierra: driver interface blacklisting
    sierra: driver urb handling improvements
    tty: resolve some sierra breakage
    timbuart: Fix the termios logic
    serial: Added Timberdale UART driver
    tty: Add URL for ttydev queue
    devpts: unregister the file system on error
    tty: Untangle termios and mm mutex dependencies
    ...

    Linus Torvalds
     
  • Conflicts:
    arch/x86/kernel/irqinit.c
    arch/x86/kernel/irqinit_64.c
    arch/x86/kernel/traps.c
    arch/x86/mm/fault.c
    include/linux/sched.h
    kernel/exit.c

    Ingo Molnar
     
  • The top (fastest) and last level (biggest) caches are the most
    interesting ones, performance wise.

    Signed-off-by: Peter Zijlstra
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Arnaldo Carvalho de Melo
    LKML-Reference:
    [ Fixed the Nehalem LL table to LLC Reference/Miss events ]
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • Pure renames only, to PERF_COUNT_HW_* and PERF_COUNT_SW_*.

    Signed-off-by: Peter Zijlstra
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Arnaldo Carvalho de Melo
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • Using the iMX serial driver with an IrDA device
    needs extra peripheral settings and specific
    timing depending on the transmitter circuitry used.

    Signed-off-by: Fabian Godehardt
    Signed-off-by: Oskar Schirmer
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Fabian Godehardt
     
  • The legacy TCSETA{,W,F} ioctls failed to set the termio->c_line field
    on x86. This adds a missing get_user.

    The same ioctls also fail to report faulting user pointers, which
    we keep ignoring.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Arnd Bergmann
     
  • This adds tables of event codes for the generalized cache events for
    all the currently supported powerpc processors: POWER{4,5,5+,6,7} and
    PPC970*, plus powerpc-specific code to use these tables when a
    generalized cache event is requested.

    Signed-off-by: Paul Mackerras
    Cc: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Paul Mackerras
     
  • This adds the back-end for the PMU on POWER7 processors. POWER7
    has 4 fully-programmable counters and two fixed-function counters
    (which do respect the freeze conditions, can generate interrupts,
    and are writable, unlike PMC5/6 on POWER5+/6).

    Signed-off-by: Paul Mackerras
    Cc: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Paul Mackerras
     
  • Commit c9690998ef48ffefeccb91c70a7739eebdea57f9 (x86: memtest: remove
    64-bit division) introduced following compile warning:

    arch/x86/mm/memtest.c: In function 'memtest':
    arch/x86/mm/memtest.c:56: warning: comparison of distinct pointer types lacks a cast
    arch/x86/mm/memtest.c:58: warning: comparison of distinct pointer types lacks a cast

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • Now that the dependent patches are merged, we are ready to enable
    sparseirq support. This simply adds the Kconfig option, and then converts
    from the _cpu to the _node allocation routines to follow the upstream
    sparseirq API changes.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • There was a typo here that had this as sys_writev() instead of
    sys_pwritev(), fix this up. sh64 got this right, as did the preadv()
    case.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This fixes up a typo in the ll/sc based cmpxchg code which apparently
    wasn't getting a lot of testing due to the swapped old/new pair. With
    that fixed up, the ll/sc code also starts using it and provides its own
    atomic_add_unless().

    Signed-off-by: Aoi Shinkai
    Signed-off-by: Paul Mundt

    Aoi Shinkai
     
  • Signed-off-by: Kuninori Morimoto
    Acked-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Kuninori Morimoto
     
  • This patch follows Rev 0.50 manual

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Paul Mundt

    Kuninori Morimoto
     
  • This patch rewrites the sh7722 clock framework code.
    The new code makes use of the recently merged div4,
    div6 and mstp32 helper code. Both extal and dll are
    supported as input clocks to the pll.

    While at it, now when all SuperH Mobile processors
    are converted, fix CONFIG_SH_CLK_CPG_LEGACY to depend
    on CONFIG_ARCH_SHMOBILE.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch rewrites the sh7366 clock framework code.
    The new code makes use of the recently merged div4,
    div6 and mstp32 helper code. Both extal and dll are
    supported as input clocks to the pll.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch rewrites the sh7343 clock framework code.
    The new code makes use of the recently merged div4,
    div6 and mstp32 helper code. Both extal and dll are
    supported as input clocks to the pll.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch contains V3 of the sh7724 clock framework
    rewrite. The new code makes use of the recently merged
    div4, div6 and mstp32 helper code. Both extal and fll are
    supported as input clocks to the pll. The div6 clocks are
    fed through a divide-by-3 block.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch contains V2 of the sh7723 clock framework
    rewrite. The new code makes use of the recently merged
    div4, div6 and mstp32 helper code. Both extal and dll
    are supported as input clocks to the pll.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch updates the div6 clock helper code to add support
    for enable(), disable() and set_rate() callbacks.

    Needed by the camera clock enabling board code on Migo-R.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch adds mode pin configuration to ap325rxa.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm