20 Jan, 2012

3 commits

  • …-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched/accounting, proc: Fix /proc/stat interrupts sum

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    tracepoints/module: Fix disabling tracepoints with taint CRAP or OOT
    x86/kprobes: Add arch/x86/tools/insn_sanity to .gitignore
    x86/kprobes: Fix typo transferred from Intel manual

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits
    x86, tsc: Fix SMI induced variation in quick_pit_calibrate()
    x86, opcode: ANDN and Group 17 in x86-opcode-map.txt
    x86/kconfig: Move the ZONE_DMA entry under a menu
    x86/UV2: Add accounting for BAU strong nacks
    x86/UV2: Ack BAU interrupt earlier
    x86/UV2: Remove stale no-resources test for UV2 BAU
    x86/UV2: Work around BAU bug
    x86/UV2: Fix BAU destination timeout initialization
    x86/UV2: Fix new UV2 hardware by using native UV2 broadcast mode
    x86: Get rid of dubious one-bit signed bitfield

    Linus Torvalds
     
  • In checkin

    303395ac3bf3 x86: Generate system call tables and unistd_*.h from tables

    the feature macros in were unified between 32 and 64
    bits. Unfortunately 32 bits requires __ARCH_WANT_SYS_IPC and this was
    inadvertently dropped.

    Reported-by: Dmitry Kasatkin
    Cc: Linus Torvalds
    Signed-off-by: H. Peter Anvin
    Link: http://lkml.kernel.org/r/CALLzPKbeXN5gdngo8uYYU8mAow=XhrwBFBhKfG811f37BubQOg@mail.gmail.com

    H. Peter Anvin
     
  • H. Peter Anvin
     

19 Jan, 2012

2 commits

  • Randy Dunlap reports that we get

    arch/x86/um/shared/sysdep/ptrace.h:7:20: error: redefinition of 'regs_return_value'
    arch/x86/um/shared/sysdep/ptrace.h:7:20: note: previous definition of 'regs_return_value' was here

    when compiling UML for x86-64.

    Stephen Rothwell root-caused it and says:

    "Caused by commit d7e7528bcd45 ("Audit: push audit success and retcode
    into arch ptrace.h") (another patch that was never in linux-next :-().

    This file now needs protection against double inclusion."

    so let's do as the man says.

    Reported-by: Randy Dunlap
    Analyzed-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This includes initial support for the recently published ACPI 5.0 spec.
    In particular, support for the "hardware-reduced" bit that eliminates
    the dependency on legacy hardware.

    APEI has patches resulting from testing on real hardware.

    Plus other random fixes.

    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (52 commits)
    acpi/apei/einj: Add extensions to EINJ from rev 5.0 of acpi spec
    intel_idle: Split up and provide per CPU initialization func
    ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2
    ACPI processor: Remove unneeded cpuidle_unregister_driver call
    intel idle: Make idle driver more robust
    intel_idle: Fix a cast to pointer from integer of different size warning in intel_idle
    ACPI: kernel-parameters.txt : Add intel_idle.max_cstate
    intel_idle: remove redundant local_irq_disable() call
    ACPI processor: Fix error path, also remove sysdev link
    ACPI: processor: fix acpi_get_cpuid for UP processor
    intel_idle: fix API misuse
    ACPI APEI: Convert atomicio routines
    ACPI: Export interfaces for ioremapping/iounmapping ACPI registers
    ACPI: Fix possible alignment issues with GAS 'address' references
    ACPI, ia64: Use SRAT table rev to use 8bit or 16/32bit PXM fields (ia64)
    ACPI, x86: Use SRAT table rev to use 8bit or 32bit PXM fields (x86/x86-64)
    ACPI: Store SRAT table revision
    ACPI, APEI, Resolve false conflict between ACPI NVS and APEI
    ACPI, Record ACPI NVS regions
    ACPI, APEI, EINJ, Refine the fix of resource conflict
    ...

    Linus Torvalds
     

18 Jan, 2012

12 commits

  • Len Brown
     
  • ARM: fixes for ARM platforms

    Some fallout from the 3.3. merge window as well as a couple bug fixes
    for older preexisting bugs that seem valid to include at this time:

    * sched_clock changes broke picoxcell, fix included
    * BSYM bugs causing issues with thumb2-built kernels on SMP
    * Missing module.h include on msm.
    * A collection of bugfixes for samsung platforms that didn't make it into
    the first pull requests.

    * tag 'arm-soc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: make BSYM macro assembly only
    ARM: highbank: remove incorrect BSYM usage
    ARM: imx: remove incorrect BSYM usage
    ARM: exynos: remove incorrect BSYM usage
    ARM: ux500: add missing ENDPROC to headsmp.S
    ARM: msm: Add missing ENDPROC to headsmp.S
    ARM: versatile: Add missing ENDPROC to headsmp.S
    ARM: EXYNOS: Invert VCLK polarity for framebuffer on ORIGEN
    ARM: S3C64XX: Fix interrupt configuration for PCA935x on Cragganmore
    ARM: S3C64XX: Fix the memory mapped GPIOs on Cragganmore
    ARM: S3C64XX: Remove hsmmc1 from Cragganmore
    ARM: S3C64XX: Remove unconditional power domain disables
    ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h
    ARM: SAMSUNG: dma-ops.h needs mach/dma.h
    ARM: SAMSUNG: Guard against multiple inclusion of plat/dma.h
    ARM: picoxcell: fix sched_clock() cleanup fallout
    ARM: msm: vreg is a module and so needs module.h

    Linus Torvalds
     
  • * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (53 commits)
    ARM: mach-shmobile: specify CHCLR registers on SH7372
    dma: shdma: fix runtime PM: clear channel buffers on reset
    dma/imx-sdma: save irq flags when use spin_lock in sdma_tx_submit
    dmaengine/ste_dma40: clear LNK on channel startup
    dmaengine: intel_mid_dma: remove legacy pm interface
    ASoC: mxs: correct 'direction' of device_prep_dma_cyclic
    dmaengine: intel_mid_dma: error path fix
    dmaengine: intel_mid_dma: locking and freeing fixes
    mtd: gpmi-nand: move to dma_transfer_direction
    mtd: fix compile error for gpmi-nand
    mmc: mxs-mmc: fix the dma_transfer_direction migration
    dmaengine: add DMA_TRANS_NONE to dma_transfer_direction
    dma: mxs-dma: Don't use CLKGATE bits in CTRL0 to disable DMA channels
    dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe
    dma: mxs-dma: Always leave mxs_dma_init() with the clock disabled.
    dma: mxs-dma: fix a typo in comment
    DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove
    video i.MX IPU: Fix display connections
    i.MX IPU DMA: Fix wrong burstsize settings
    dmaengine/ste_dma40: allow fixed physical channel
    ...

    Fix up conflicts in drivers/dma/{Kconfig,mxs-dma.c,pl330.c}

    The conflicts looked pretty trivial, but I'll ask people to verify them.

    Linus Torvalds
     
  • JONGMAN HEO reports:

    With current linus git (commit a25a2b84), I got following build error,

    arch/x86/kernel/vm86_32.c: In function 'do_sys_vm86':
    arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function '__audit_syscall_exit'
    make[3]: *** [arch/x86/kernel/vm86_32.o] Error 1

    OK, I can reproduce it (32bit allmodconfig with AUDIT=y, AUDITSYSCALL=n)

    It's due to commit d7e7528bcd45: "Audit: push audit success and retcode
    into arch ptrace.h".

    Reported-by: JONGMAN HEO
    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit: (29 commits)
    audit: no leading space in audit_log_d_path prefix
    audit: treat s_id as an untrusted string
    audit: fix signedness bug in audit_log_execve_info()
    audit: comparison on interprocess fields
    audit: implement all object interfield comparisons
    audit: allow interfield comparison between gid and ogid
    audit: complex interfield comparison helper
    audit: allow interfield comparison in audit rules
    Kernel: Audit Support For The ARM Platform
    audit: do not call audit_getname on error
    audit: only allow tasks to set their loginuid if it is -1
    audit: remove task argument to audit_set_loginuid
    audit: allow audit matching on inode gid
    audit: allow matching on obj_uid
    audit: remove audit_finish_fork as it can't be called
    audit: reject entry,always rules
    audit: inline audit_free to simplify the look of generic code
    audit: drop audit_set_macxattr as it doesn't do anything
    audit: inline checks for not needing to collect aux records
    audit: drop some potentially inadvisable likely notations
    ...

    Use evil merge to fix up grammar mistakes in Kconfig file.

    Bad speling and horrible grammar (and copious swearing) is to be
    expected, but let's keep it to commit messages and comments, rather than
    expose it to users in config help texts or printouts.

    Linus Torvalds
     
  • pit_expect_msb() returns success wrongly in the below SMI scenario:

    a. pit_verify_msb() has not yet seen the MSB transition.

    b. we are close to the MSB transition though and got a SMI immediately after
    returning from pit_verify_msb() which didn't see the MSB transition. PIT MSB
    transition has happened somewhere during SMI execution.

    c. returned from SMI and we noted down the 'tsc', saw the pit MSB change now and
    exited the loop to calculate 'deltatsc'. Instead of noting the TSC at the MSB
    transition, we are way off because of the SMI. And as the SMI happened
    between the pit_verify_msb() and before the 'tsc' is recorded in the
    for loop, 'delattsc' (d1/d2 in quick_pit_calibrate()) will be small and
    quick_pit_calibrate() will not notice this error.

    Depending on whether SMI disturbance happens while computing d1 or d2, we will
    see the TSC calibrated value smaller or bigger than the expected value. As a
    result, in a cluster we were seeing a variation of approximately +/- 20MHz in
    the calibrated values, resulting in NTP failures.

    [ As far as the SMI source is concerned, this is a periodic SMI that gets
    disabled after ACPI is enabled by the OS. But the TSC calibration happens
    before the ACPI is enabled. ]

    To address this, change pit_expect_msb() so that

    - the 'tsc' is the TSC in between the two reads that read the MSB
    change from the PIT (same as before)

    - the 'delta' is the difference in TSC from *before* the MSB changed
    to *after* the MSB changed.

    Now the delta is twice as big as before (it covers four PIT accesses,
    roughly 4us) and quick_pit_calibrate() will loop a bit longer to get
    the calibrated value with in the 500ppm precision. As the delta (d1/d2)
    covers four PIT accesses, actual calibrated result might be closer to
    250ppm precision.

    As the loop now takes longer to stabilize, double MAX_QUICK_PIT_MS to 50.

    SMI disturbance will showup as much larger delta's and the loop will take
    longer than usual for the result to be with in the accepted precision. Or will
    fallback to slow PIT calibration if it takes more than 50msec.

    Also while we are at this, remove the calibration correction that aims to
    get the result to the middle of the error bars. We really don't know which
    direction to correct into, so remove it.

    Reported-and-tested-by: Suresh Siddha
    Signed-off-by: Linus Torvalds
    Signed-off-by: Suresh Siddha
    Link: http://lkml.kernel.org/r/1326843337.5291.4.camel@sbsiddha-mobl2
    Signed-off-by: H. Peter Anvin

    Linus Torvalds
     
  • This patch provides functionality to audit system call events on the
    ARM platform. The implementation was based off the structure of the
    MIPS platform and information in this
    (http://lists.fedoraproject.org/pipermail/arm/2009-October/000382.html)
    mailing list thread. The required audit_syscall_exit and
    audit_syscall_entry checks were added to ptrace using the standard
    registers for system call values (r0 through r3). A thread information
    flag was added for auditing (TIF_SYSCALL_AUDIT) and a meta-flag was
    added (_TIF_SYSCALL_WORK) to simplify modifications to the syscall
    entry/exit. Now, if either the TRACE flag is set or the AUDIT flag is
    set, the syscall_trace function will be executed. The prober changes
    were made to Kconfig to allow CONFIG_AUDITSYSCALL to be enabled.

    Due to platform availability limitations, this patch was only tested
    on the Android platform running the modified "android-goldfish-2.6.29"
    kernel. A test compile was performed using Code Sourcery's
    cross-compilation toolset and the current linux-3.0 stable kernel. The
    changes compile without error. I'm hoping, due to the simple modifications,
    the patch is "obviously correct".

    Signed-off-by: Nathaniel Husted
    Signed-off-by: Eric Paris

    Nathaniel Husted
     
  • Every arch calls:

    if (unlikely(current->audit_context))
    audit_syscall_entry()

    which requires knowledge about audit (the existance of audit_context) in
    the arch code. Just do it all in static inline in audit.h so that arch's
    can remain blissfully ignorant.

    Signed-off-by: Eric Paris

    Eric Paris
     
  • In the ia32entry syscall exit audit fastpath we have assembly code which calls
    __audit_syscall_exit directly. This code was, however, zeroes the upper 32
    bits of the return code. It then proceeded to call code which expects longs
    to be 64bits long. In order to handle code which expects longs to be 64bit we
    sign extend the return code if that code is an error. Thus the
    __audit_syscall_exit function can correctly handle using the values in
    snprintf("%ld"). This fixes the regression introduced in 5cbf1565f29eb57a86a.

    Old record:
    type=SYSCALL msg=audit(1306197182.256:281): arch=40000003 syscall=192 success=no exit=4294967283
    New record:
    type=SYSCALL msg=audit(1306197182.256:281): arch=40000003 syscall=192 success=no exit=-13

    Signed-off-by: Eric Paris
    Acked-by: H. Peter Anvin

    Eric Paris
     
  • The audit system previously expected arches calling to audit_syscall_exit to
    supply as arguments if the syscall was a success and what the return code was.
    Audit also provides a helper AUDITSC_RESULT which was supposed to simplify things
    by converting from negative retcodes to an audit internal magic value stating
    success or failure. This helper was wrong and could indicate that a valid
    pointer returned to userspace was a failed syscall. The fix is to fix the
    layering foolishness. We now pass audit_syscall_exit a struct pt_reg and it
    in turns calls back into arch code to collect the return value and to
    determine if the syscall was a success or failure. We also define a generic
    is_syscall_success() macro which determines success/failure based on if the
    value is < -MAX_ERRNO. This works for arches like x86 which do not use a
    separate mechanism to indicate syscall failure.

    We make both the is_syscall_success() and regs_return_value() static inlines
    instead of macros. The reason is because the audit function must take a void*
    for the regs. (uml calls theirs struct uml_pt_regs instead of just struct
    pt_regs so audit_syscall_exit can't take a struct pt_regs). Since the audit
    function takes a void* we need to use static inlines to cast it back to the
    arch correct structure to dereference it.

    The other major change is that on some arches, like ia64, MIPS and ppc, we
    change regs_return_value() to give us the negative value on syscall failure.
    THE only other user of this macro, kretprobe_example.c, won't notice and it
    makes the value signed consistently for the audit functions across all archs.

    In arch/sh/kernel/ptrace_64.c I see that we were using regs[9] in the old
    audit code as the return value. But the ptrace_64.h code defined the macro
    regs_return_value() as regs[3]. I have no idea which one is correct, but this
    patch now uses the regs_return_value() function, so it now uses regs[3].

    For powerpc we previously used regs->result but now use the
    regs_return_value() function which uses regs->gprs[3]. regs->gprs[3] is
    always positive so the regs_return_value(), much like ia64 makes it negative
    before calling the audit code when appropriate.

    Signed-off-by: Eric Paris
    Acked-by: H. Peter Anvin [for x86 portion]
    Acked-by: Tony Luck [for ia64]
    Acked-by: Richard Weinberger [for uml]
    Acked-by: David S. Miller [for sparc]
    Acked-by: Ralf Baechle [for mips]
    Acked-by: Benjamin Herrenschmidt [for ppc]

    Eric Paris
     
  • The Intel documentation at

    http://software.intel.com/file/36945

    shows the ANDN opcode and Group 17 with encoding f2 and f3 encoding
    respectively. The current version of x86-opcode-map.txt shows them
    with f3 and f4. Unless someone can point to documentation which shows
    the currently used encoding the following patch be applied.

    Signed-off-by: Ulrich Drepper
    Link: http://lkml.kernel.org/r/CAOPLpQdq5SuVo9=023CYhbFLAX9rONyjmYq7jJkqc5xwctW5eA@mail.gmail.com
    Signed-off-by: H. Peter Anvin

    Ulrich Drepper
     
  • * 'next' of git://git.monstr.eu/linux-2.6-microblaze:
    USB: EHCI: Don't use NO_IRQ in xilinx ehci driver
    microblaze: Add topology init

    Linus Torvalds
     

17 Jan, 2012

22 commits

  • Move the ZONE_DMA kconfig symbol under a menu item instead
    of having it listed before everything else in
    "make {xconfig | gconfig | nconfig | menuconfig}".

    This drops the first line of the top-level kernel config menu
    (in 3.2) below and moves it under "Processor type and features".

    [*] DMA memory allocation support
    General setup --->
    [*] Enable loadable module support --->
    [*] Enable the block layer --->
    Processor type and features --->
    Power management and ACPI options --->
    Bus options (PCI etc.) --->
    Executable file formats / Emulations --->

    Signed-off-by: Randy Dunlap
    Acked-by: David Rientjes
    Cc: Linus Torvalds
    Cc: linux-mm@kvack.org
    Link: http://lkml.kernel.org/r/4F14811E.6090107@xenotime.net
    Signed-off-by: Ingo Molnar
    Cc: David Rientjes

    Randy Dunlap
     
  • In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
    32bits for these. The new fields were reserved before.
    According to the ACPI spec, the OS must disregrard reserved fields.

    ia64 did handle the PXM fields almost consistently, but depending on
    sgi's sn2 platform. This patch leaves the sn2 logic in, but does also
    use 16/32 bits for PXM if the SRAT has rev 2 or higher.

    The patch also adds __init to the two pxm accessor functions, as they
    access __initdata now and are called from an __init function only anyway.

    Note that the code only uses 16 bits for the PXM field in the processor
    proximity field; the patch does not address this as 16 bits are more than
    enough.

    Signed-off-by: Kurt Garloff
    Signed-off-by: Len Brown

    Kurt Garloff
     
  • In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
    32bits for these. The new fields were reserved before.
    According to the ACPI spec, the OS must disregrard reserved fields.

    x86/x86-64 was rather inconsistent prior to this patch; it used 8 bits
    for the pxm field in cpu_affinity, but 32 bits in mem_affinity.
    This patch makes it consistent: Either use 8 bits consistently (SRAT
    rev 1 or lower) or 32 bits (SRAT rev 2 or higher).

    cc: x86@kernel.org
    Signed-off-by: Kurt Garloff
    Signed-off-by: Len Brown

    Kurt Garloff
     
  • Some firmware will access memory in ACPI NVS region via APEI. That
    is, instructions in APEI ERST/EINJ table will read/write ACPI NVS
    region. The original resource conflict checking in APEI code will
    check memory/ioport accessed by APEI via general resource management
    mechanism. But ACPI NVS region is marked as busy already, so that the
    false resource conflict will prevent APEI ERST/EINJ to work.

    To fix this, this patch record ACPI NVS regions, so that we can avoid
    request resources for memory region inside it.

    Signed-off-by: Huang Ying
    Signed-off-by: Len Brown

    Huang Ying
     
  • …t/rostedt/linux-trace into perf/urgent

    Ingo Molnar
     
  • This patch adds separate accounting of UV2 message "strong
    nack's" in the BAU statistics.

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116212238.GF5767@sgi.com
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • This patch moves the ack of the BAU interrupt to the beginning
    of the interrupt handler so that there is less possibility of a
    lost interrupt and slower response to a shootdown message.

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116212146.GE5767@sgi.com
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • This patch removes an unnecessary test for a
    no-destination-resources-available condition that looks like a
    destination timeout in UV1, but is separately distinguishable in
    UV2.

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116212050.GD5767@sgi.com
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • This patch implements a workaround for a UV2 hardware bug.
    The bug is a non-atomic update of a memory-mapped register. When
    hardware message delivery and software message acknowledge occur
    simultaneously the pending message acknowledge for the arriving
    message may be lost. This causes the sender's message status to
    stay busy.

    Part of the workaround is to not acknowledge a completed message
    until it is verified that no other message is actually using the
    resource that is mistakenly recorded in the completed message.

    Part of the workaround is to test for long elapsed time in such
    a busy condition, then handle it by using a spare sending
    descriptor. The stay-busy condition is eventually timed out by
    hardware, and then the original sending descriptor can be
    re-used. Most of that logic change is in keeping track of the
    current descriptor and the state of the spares.

    The occurrences of the workaround are added to the BAU
    statistics.

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116211947.GC5767@sgi.com
    Cc:
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • Move the call to enable_timeouts() forward so that
    BAU_MISC_CONTROL is initialized before using it in
    calculate_destination_timeout().

    Fix the calculation of a BAU destination timeout
    for UV2 (in calculate_destination_timeout()).

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116211848.GB5767@sgi.com
    Cc:
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • Update the use of the Broadcast Assist Unit on SGI Altix UV2 to
    the use of native UV2 mode on new hardware (not the legacy mode).

    UV2 native mode has a different format for a broadcast message.
    We also need quick differentiaton between UV1 and UV2.

    Signed-off-by: Cliff Wickman
    Link: http://lkml.kernel.org/r/20120116211750.GA5767@sgi.com
    Cc:
    Signed-off-by: Ingo Molnar

    Cliff Wickman
     
  • …ene/linux-samsung into fixes

    * 'samsung-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: EXYNOS: Invert VCLK polarity for framebuffer on ORIGEN
    ARM: S3C64XX: Fix interrupt configuration for PCA935x on Cragganmore
    ARM: S3C64XX: Fix the memory mapped GPIOs on Cragganmore
    ARM: S3C64XX: Remove hsmmc1 from Cragganmore
    ARM: S3C64XX: Remove unconditional power domain disables
    ARM: SAMSUNG: Declare struct platform_device in plat/s3c64xx-spi.h
    ARM: SAMSUNG: dma-ops.h needs mach/dma.h
    ARM: SAMSUNG: Guard against multiple inclusion of plat/dma.h

    Olof Johansson
     
  • * 'fixes-for-arm-soc' of git://sources.calxeda.com/kernel/linux:
    ARM: make BSYM macro assembly only
    ARM: highbank: remove incorrect BSYM usage
    ARM: imx: remove incorrect BSYM usage
    ARM: exynos: remove incorrect BSYM usage
    ARM: ux500: add missing ENDPROC to headsmp.S
    ARM: msm: Add missing ENDPROC to headsmp.S
    ARM: versatile: Add missing ENDPROC to headsmp.S

    Olof Johansson
     
  • * 'msm-fix' of git://codeaurora.org/quic/kernel/davidb/linux-msm:
    ARM: msm: vreg is a module and so needs module.h

    Olof Johansson
     
  • * 'picoxcell-fixes' of git://github.com/jamieiles/linux-2.6-ji:
    ARM: picoxcell: fix sched_clock() cleanup fallout

    Olof Johansson
     
  • * 'x86-syscall-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86: Move from trace_syscalls.c to asm/syscall.h
    x86, um: Fix typo in 32-bit system call modifications
    um: Use $(srctree) not $(KBUILD_SRC)
    x86, um: Mark system call tables readonly
    x86, um: Use the same style generated syscall tables as native
    um: Generate headers before generating user-offsets.s
    um: Run host archheaders, allow use of host generated headers
    kbuild, headers.sh: Don't make archheaders explicitly
    x86, syscall: Allow syscall offset to be symbolic
    x86, syscall: Re-fix typo in comment
    x86: Simplify syscallhdr.sh
    x86: Generate system call tables and unistd_*.h from tables
    checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source
    x86: Machine-readable syscall tables and scripts to process them
    trace: Include in trace_syscalls.c
    x86-64, ia32: Move compat_ni_syscall into C and its own file
    x86-64, syscall: Adjust comment spacing and remove typo
    kbuild: Add support for an "archheaders" target
    kbuild: Add support for installing generated asm headers

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
    ARM: OMAP3: fix build on !CONFIG_IOMMU_API

    Linus Torvalds
     
  • When suspending, there was a large list of warnings going something like:

    Device 'machinecheck1' does not have a release() function, it is broken and must be fixed

    This patch turns the static mce_devices into dynamically allocated, and
    properly frees them when they are removed from the system. It solves
    the warning messages on my laptop here.

    Reported-by: "Srivatsa S. Bhat"
    Reported-by: Linus Torvalds
    Tested-by: Djalal Harouni
    Cc: Kay Sievers
    Cc: Tony Luck
    Cc: Borislav Petkov
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Linus Torvalds

    Greg Kroah-Hartman
     
  • * 'fixes' of git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-arm:
    ARM: sa11x0: assabet: fix build warning
    ARM: Add arm_memblock_steal() to allocate memory away from the kernel
    ARM: 7275/1: LPAE: Check the CPU support for the long descriptor format
    ARM: 7274/1: NUC900: Rename nuc900-audio platform device to nuc900-ac97
    ARM: 7272/1: S3C24XX: Fix build error for missing
    ARM: 7271/1: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig

    Linus Torvalds
     
  • * 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    PM / Hibernate: Drop the check of swap space size for compressed image
    PM / shmobile: fix A3SP suspend method
    PM / Domains: Skip governor functions for CONFIG_PM_RUNTIME unset
    PM / Domains: Fix build for CONFIG_PM_SLEEP unset
    PM: Make sysrq-o be available for CONFIG_PM unset

    Linus Torvalds
     
  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    Kbuild: Use dtc's -d (dependency) option
    dtc: Implement -d option to write out a dependency file
    kbuild: Fix comment in Makefile.lib
    scripts/genksyms: clean lex/yacc generated files
    kbuild: Correctly deal with make options which contain an "s"

    Linus Torvalds
     
  • Since a32618d2 (ARM: pgtable: switch to use pgtable-nopud.h), assabet
    warns as follows:

    arch/arm/mach-sa1100/assabet.c: In function 'map_sa1100_gpio_regs':
    arch/arm/mach-sa1100/assabet.c:264: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type

    Fix this by adding the necessary pud_offset() macro.

    Signed-off-by: Russell King

    Russell King
     

16 Jan, 2012

1 commit