05 Jun, 2010

7 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (23 commits)
    sh: Make intc messages consistent via pr_fmt.
    sh: make sure static declaration on ms7724se
    sh: make sure static declaration on mach-migor
    sh: make sure static declaration on mach-ecovec24
    sh: make sure static declaration on mach-ap325rxa
    clocksource: sh_cmt: compute mult and shift before registration
    clocksource: sh_tmu: compute mult and shift before registration
    sh: PIO disabling for x3proto and urquell.
    sh: mach-sdk7786: conditionally disable PIO support.
    sh: support for platforms without PIO.
    usb: r8a66597-hcd pio to mmio accessor conversion.
    usb: gadget: r8a66597-udc pio to mmio accessor conversion.
    usb: gadget: m66592-udc pio to mmio accessor conversion.
    sh: add romImage MMCIF boot for sh7724 and Ecovec V2
    sh: add boot code to MMCIF driver header
    sh: prepare MMCIF driver header file
    sh: allow romImage data between head.S and the zero page
    sh: Add support MMCIF for ecovec
    sh: remove duplicated #include
    input: serio: disable i8042 for non-cayman sh platforms.
    ...

    Linus Torvalds
     
  • * 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/i7core: (83 commits)
    i7core_edac: Better describe the supported devices
    Add support for Westmere to i7core_edac driver
    i7core_edac: don't free on success
    i7core_edac: Add support for X5670
    Always call i7core_[ur]dimm_check_mc_ecc_err
    i7core_edac: fix memory leak of i7core_dev
    EDAC: add __init to i7core_xeon_pci_fixup
    i7core_edac: Fix wrong device id for channel 1 devices
    i7core: add support for Lynnfield alternate address
    i7core_edac: Add initial support for Lynnfield
    i7core_edac: do not export static functions
    edac: fix i7core build
    edac: i7core_edac produces undefined behaviour on 32bit
    i7core_edac: Use a more generic approach for probing PCI devices
    i7core_edac: PCI device is called NONCORE, instead of NOCORE
    i7core_edac: Fix ringbuffer maxsize
    i7core_edac: First store, then increment
    i7core_edac: Better parse "any" addrmask
    i7core_edac: Use a lockless ringbuffer
    edac: Create an unique instance for each kobj
    ...

    Linus Torvalds
     
  • kunmap_atomic() takes a pointer to within the page, not the struct page.

    Signed-off-by: Cesar Eduardo Barros
    Cc: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cesar Eduardo Barros
     
  • As explained in commit 1c0fe6e3bd ("mm: invoke oom-killer from page
    fault") , we want to call the architecture independent oom killer when
    getting an unexplained OOM from handle_mm_fault, rather than simply
    killing current.

    Signed-off-by: Nick Piggin
    Acked-by: David Rientjes
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • As explained in commit 1c0fe6e3bd ("mm: invoke oom-killer from page
    fault") , we want to call the architecture independent oom killer when
    getting an unexplained OOM from handle_mm_fault, rather than simply
    killing current.

    Signed-off-by: Nick Piggin
    Acked-by: David Rientjes
    Acked-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • As explained in commit 1c0fe6e3bd ("mm: invoke oom-killer from page
    fault") , we want to call the architecture independent oom killer when
    getting an unexplained OOM from handle_mm_fault, rather than simply
    killing current.

    Signed-off-by: Nick Piggin
    Acked-by: David Rientjes
    Cc: Hirokazu Takata
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • As explained in commit 1c0fe6e3bd ("mm: invoke oom-killer from page
    fault") , we want to call the architecture independent oom killer when
    getting an unexplained OOM from handle_mm_fault, rather than simply
    killing current.

    Signed-off-by: Nick Piggin
    Acked-by: David Howells
    Acked-by: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     

04 Jun, 2010

4 commits

  • …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, smpboot: Fix cores per node printing on boot
    x86/amd-iommu: Fall back to GART if initialization fails
    x86/amd-iommu: Fix crash when request_mem_region fails
    x86/mm: Remove unused DBG() macro
    arch/x86/kernel: Add missing spin_unlock

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/macio: Fix probing of macio devices by using the right of match table
    agp/uninorth: Fix oops caused by flushing too much
    powerpc/pasemi: Update MAINTAINERS file
    powerpc/cell: Fix integer constant warning
    powerpc/kprobes: Remove resume_execution() in kprobes
    powerpc/macio: Don't dereference pointer before null check

    Linus Torvalds
     
  • * 'for-linus/bugfixes' of git://xenbits.xensource.com/people/ianc/linux-2.6:
    xen: avoid allocation causing potential swap activity on the resume path
    xen: ensure timer tick is resumed even on CPU driving the resume

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

    * 'perf-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf: Fix crash in swevents
    perf buildid-list: Fix --with-hits event processing
    perf scripts python: Give field dict to unhandled callback
    perf hist: fix objdump output parsing
    perf-record: Check correct pid when forking
    perf: Do the comm inheritance per thread in event__process_task
    perf: Use event__process_task from perf sched
    perf: Process comm events by tid
    blktrace: Fix new kernel-doc warnings
    perf_events: Fix unincremented buffer base on partial copy
    perf_events: Fix event scheduling issues introduced by transactional API
    perf_events, trace: Fix perf_trace_destroy(), mutex went missing
    perf_events, trace: Fix probe unregister race
    perf_events: Fix races in group composition
    perf_events: Fix races and clean up perf_event and perf_mmap_data interaction

    Linus Torvalds
     

03 Jun, 2010

2 commits

  • The core suspend/resume code is run from stop_machine on CPU0 but
    parts of the suspend/resume machinery (including xen_arch_resume) are
    run on whichever CPU happened to schedule the xenwatch kernel thread.

    As part of the non-core resume code xen_arch_resume is called in order
    to restart the timer tick on non-boot processors. The boot processor
    itself is taken care of by core timekeeping code.

    xen_arch_resume uses smp_call_function which does not call the given
    function on the current processor. This means that we can end up with
    one CPU not receiving timer ticks if the xenwatch thread happened to
    be scheduled on CPU > 0.

    Use on_each_cpu instead of smp_call_function to ensure the timer tick
    is resumed everywhere.

    Signed-off-by: Ian Campbell
    Acked-by: Jeremy Fitzhardinge
    Cc: Stable Kernel # .32.x

    Ian Campbell
     
  • Signed-off-by: Wolfram Sang
    Signed-off-by: Grant Likely

    Wolfram Sang
     

02 Jun, 2010

14 commits


01 Jun, 2010

6 commits


31 May, 2010

7 commits

  • DBG() macro for CONFIG_DEBUG_PER_CPU_MAPS is unused.

    Signed-off-by: Akinobu Mita
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Akinobu Mita
     
  • The transactional API patch between the generic and model-specific
    code introduced several important bugs with event scheduling, at
    least on X86. If you had pinned events, e.g., watchdog, and were
    over-committing the PMU, you would get bogus counts. The bug was
    showing up on Intel CPU because events would move around more
    often that on AMD. But the problem also existed on AMD, though
    harder to expose.

    The issues were:

    - group_sched_in() was missing a cancel_txn() in the error path

    - cpuc->n_added was not properly maintained, leading to missing
    actions in hw_perf_enable(), i.e., n_running being 0. You cannot
    update n_added until you know the transaction has succeeded. In
    case of failed transaction n_added was not adjusted back.

    - in case of failed transactions, event_sched_out() was called
    and eventually invoked x86_disable_event() to touch the HW reg.
    But with transactions, on X86, event_sched_in() does not touch
    HW registers, it simply collects events into a list. Thus, you
    could end up calling x86_disable_event() on a counter which
    did not correspond to the current event when idx != -1.

    The patch modifies the generic and X86 code to avoid all those problems.

    First, we keep track of the number of events added last. In case the
    transaction fails, we substract them from n_added. This approach is
    necessary (as opposed to delaying updates to n_added) because not all
    event updates use the transaction API, e.g., single events.

    Second, we encapsulate the event_sched_in() and event_sched_out() in
    group_sched_in() inside the transaction. That makes the operations
    symmetrical and you can also detect that you are inside a transaction
    and skip the HW reg access by checking cpuc->group_flag.

    With this patch, you can now overcommit the PMU even with pinned
    system-wide events present and still get valid counts.

    Signed-off-by: Stephane Eranian
    Signed-off-by: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Stephane Eranian
     
  • This patch is V2 of the MMCIF romImage boot support
    for sh7724 and the Ecovec board. With this patch
    applied and CONFIG_ROMIMAGE_MMCIF selected the
    romImage kernel image can be written to a MMC card
    and booted directly by the sh7724 cpu.

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

    Magnus Damm
     
  • Extend the romImage code to allow putting data between
    the head.S file and the empty_zero_page. Needed in the
    case of more advanced loader code in a separate C file.

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

    Magnus Damm
     
  • This patch adds MMCIF platform data for the Ecovec board.

    Signed-off-by: Yusuke Goda
    Signed-off-by: Paul Mundt

    Yusuke Goda
     
  • Paul Mundt
     
  • Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt