07 Oct, 2010

2 commits

  • * 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus:
    MIPS: Octeon: Place cnmips_cu2_setup in __init memory.
    MIPS: Don't place cu2 notifiers in __cpuinitdata
    MIPS: Calculate VMLINUZ_LOAD_ADDRESS based on the length of vmlinux.bin
    MIPS: Alchemy: Resolve prom section mismatches
    MIPS: Fix syscall 64 bit number comments.
    MIPS: Hookup fanotify_init, fanotify_mark, and prlimit64 syscalls.
    MIPS: TX49xx: Rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
    MIPS: N32: Fix getdents64 syscall for n32
    MIPS: Remove pr_ uses of KERN_
    MIPS: PNX8550: Sort out machine halt, restart and powerdown functions.
    MIPS: GIC: Remove dependencies from Malta files.
    MIPS: Kconfig: Fix and clarify kconfig help text for VSMP and SMTC.
    MIPS: DMA: Fix computation of DMA flags from device's coherent_dma_mask.
    MIPS: Audit: Fix hang in entry.S.
    MIPS: Document why RELOC_HIDE is there.
    MIPS: Octeon: Determine if helper needs to be built
    MIPS: Use generic atomic64 for 32-bit kernels
    MIPS: RM7000: Symbol should be static
    MIPS: kspd: Adjust confusing if indentation
    MIPS: Fix a typo.

    Linus Torvalds
     
  • * 'v2.6.36-rc6-urgent-fixes' of git://xenbits.xen.org/people/sstabellini/linux-pvhvm:
    xen: do not initialize PV timers on HVM if !xen_have_vector_callback
    xen: do not set xenstored_ready before xenbus_probe on hvm

    Linus Torvalds
     

06 Oct, 2010

3 commits

  • Since powerpc uses -Werror on arch powerpc, the build was broken like
    this:

    cc1: warnings being treated as errors
    arch/powerpc/kernel/module.c: In function 'module_finalize':
    arch/powerpc/kernel/module.c:66: error: unused variable 'err'

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • …/git/tip/linux-2.6-tip

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf trace scripting: Fix extern struct definitions
    perf ui hist browser: Fix segfault on 'a' for annotate
    perf tools: Fix build breakage
    perf, x86: Handle in flight NMIs on P4 platform
    oprofile, ARM: Release resources on failure
    oprofile: Add Support for Intel CPU Family 6 / Model 29

    Linus Torvalds
     
  • With all the recent module loading cleanups, we've minimized the code
    that sits under module_mutex, fixing various deadlocks and making it
    possible to do most of the module loading in parallel.

    However, that whole conversion totally missed the rather obscure code
    that adds a new module to the list for BUG() handling. That code was
    doubly obscure because (a) the code itself lives in lib/bugs.c (for
    dubious reasons) and (b) it gets called from the architecture-specific
    "module_finalize()" rather than from generic code.

    Calling it from arch-specific code makes no sense what-so-ever to begin
    with, and is now actively wrong since that code isn't protected by the
    module loading lock any more.

    So this commit moves the "module_bug_{finalize,cleanup}()" calls away
    from the arch-specific code, and into the generic code - and in the
    process protects it with the module_mutex so that the list operations
    are now safe.

    Future fixups:
    - move the module list handling code into kernel/module.c where it
    belongs.
    - get rid of 'module_bug_list' and just use the regular list of modules
    (called 'modules' - imagine that) that we already create and maintain
    for other reasons.

    Reported-and-tested-by: Thomas Gleixner
    Cc: Rusty Russell
    Cc: Adrian Bunk
    Cc: Andrew Morton
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

05 Oct, 2010

24 commits


02 Oct, 2010

5 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, hpet: Fix bogus error check in hpet_assign_irq()
    x86, irq: Plug memory leak in sparse irq
    x86, cpu: After uncapping CPUID, re-run CPU feature detection

    Linus Torvalds
     
  • flush_icache_range() is given virtual addresses to describe the region. It
    deals with these by attempting to translate them through the current set of
    page tables.

    This is fine for userspace memory and vmalloc()'d areas as they are governed by
    page tables. However, since the regions above 0x80000000 aren't translated
    through the page tables by the MMU, the kernel doesn't bother to set up page
    tables for them (see paging_init()).

    This means flush_icache_range() as it stands cannot be used to flush regions of
    the VM area between 0x80000000 and 0x9fffffff where the kernel resides if the
    data cache is operating in WriteBack mode.

    To fix this, make flush_icache_range() first check for addresses in the upper
    half of VM space and deal with them appropriately, before dealing with any
    range in the page table mapped area.

    Ordinarily, this is not a problem, but it has the capacity to make kprobes and
    kgdb malfunction. It should not affect gdbstub, signal frame setup or module
    loading as gdb has its own flush functions, and the others take place in the
    page table mapped area only.

    Signed-off-by: David Howells
    Acked-by: Akira Takeuchi
    Signed-off-by: Linus Torvalds

    David Howells
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: invoke DSDT corruption workaround on all Toshiba Satellite
    ACPI, APEI, Fix ERST MOVE_DATA instruction implementation
    ACPI: fan: Fix more unbalanced code block
    ACPI: acpi_pad: simplify code to avoid false gcc build warning
    ACPI, APEI, Fix error path for memory allocation
    ACPI, APEI, HEST Fix the unsuitable usage of platform_data
    ACPI, APEI, Fix acpi_pre_map() return value
    ACPI, APEI, Fix APEI related table size checking
    ACPI: Disable Windows Vista compatibility for Toshiba P305D
    ACPI: Kconfig: fix typo.
    ACPI: add missing __percpu markup in arch/x86/kernel/acpi/cstate.c
    ACPI: Fix typos
    ACPI video: fix a poor warning message
    ACPI: fix build warnings resulting from merge window conflict
    ACPI: EC: add Vista incompatibility DMI entry for Toshiba Satellite L355
    ACPI: expand Vista blacklist to include SP1 and SP2
    ACPI: delete ZEPTO idle=nomwait DMI quirk
    ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume
    PM / ACPI: Blacklist systems known to require acpi_sleep=nonvs
    ACPI: Don't report current_now if battery reports in mWh

    Linus Torvalds
     
  • …/git/tmlind/linux-omap-2.6

    * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
    omap: McBSP: tx_irq_completion used in rx_irq_handler
    omap: Fix compile dependency to LEDS_CLASS

    Linus Torvalds
     
  • Fix the warnings

    arch/m68k/mac/macboing.c: In function 'mac_mksound':
    arch/m68k/mac/macboing.c:189: warning: comparison of distinct pointer types lacks a cast
    arch/m68k/mac/macboing.c:211: warning: comparison of distinct pointer types lacks a cast
    arch/m68k/mac/macboing.c: In function 'mac_quadra_start_bell':
    arch/m68k/mac/macboing.c:241: warning: comparison of distinct pointer types lacks a cast
    arch/m68k/mac/macboing.c:263: warning: comparison of distinct pointer types lacks a cast
    arch/m68k/mac/macboing.c: In function 'mac_quadra_ring_bell':
    arch/m68k/mac/macboing.c:283: warning: comparison of distinct pointer types lacks a cast

    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

01 Oct, 2010

4 commits


30 Sep, 2010

2 commits

  • Commit c52c2ddc1dfa ("alpha: switch osf_sigprocmask() to use of
    sigprocmask()") had several problems. The more obvious compile issues
    got fixed in commit 0f44fbd297e1 ("alpha: fix compile problem in
    arch/alpha/kernel/signal.c"), but it also caused a regression.

    Since _BLOCKABLE is already the set of signals that can be blocked, the
    code should do "newmask & _BLOCKABLE" rather than inverting _BLOCKABLE
    before masking.

    Reported-by: Michael Cree
    Patch-by: Al Viro
    Patch-by: Ivan Kokshaysky
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Stephane reported we've forgot to guard the P4 platform
    against spurious in-flight performance IRQs. Fix it.

    This fixes potential spurious 'dazed and confused' NMI
    messages.

    Reported-by: Stephane Eranian
    Signed-off-by: Cyrill Gorcunov
    Signed-off-by: Don Zickus
    Cc: fweisbec@gmail.com
    Cc: peterz@infradead.org
    Cc: Robert Richter
    Cc: Lin Ming
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Cyrill Gorcunov