08 Aug, 2011

4 commits

  • For marketing reasons the part will be called WM8996. In order to avoid
    user confusion rename the driver to reflect this.

    Signed-off-by: Mark Brown
    Acked-by: Kukjin Kim
    Acked-by: Liam Girdwood

    Mark Brown
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
    sparc: Fix build with DEBUG_PAGEALLOC enabled.

    Linus Torvalds
     
  • The generic library code already exports the generic function, this was
    left-over from the ARM-specific version that just got removed.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Since commit 1eb19a12bd22 ("lib/sha1: use the git implementation of
    SHA-1"), the ARM SHA1 routines no longer work. The reason? They
    depended on the larger 320-byte workspace, and now the sha1 workspace is
    just 16 words (64 bytes). So the assembly version would overwrite the
    stack randomly.

    The optimized asm version is also probably slower than the new improved
    C version, so there's no reason to keep it around. At least that was
    the case in git, where what appears to be the same assembly language
    version was removed two years ago because the optimized C BLK_SHA1 code
    was faster.

    Reported-and-tested-by: Joachim Eastwood
    Cc: Andreas Schwab
    Cc: Nicolas Pitre
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

07 Aug, 2011

1 commit

  • * 'stable/bug.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen/trace: Fix compile error when CONFIG_XEN_PRIVILEGED_GUEST is not set
    xen: Fix misleading WARN message at xen_release_chunk
    xen: Fix printk() format in xen/setup.c
    xen/tracing: it looks like we wanted CONFIG_FTRACE
    xen/self-balloon: Add dependency on tmem.
    xen/balloon: Fix compile errors - missing header files.
    xen/grant: Fix compile warning.
    xen/pciback: remove duplicated #include

    Linus Torvalds
     

06 Aug, 2011

2 commits

  • arch/sparc/mm/init_64.c:1622:22: error: unused variable '__swapper_4m_tsb_phys_patch_end' [-Werror=unused-variable]
    arch/sparc/mm/init_64.c:1621:22: error: unused variable '__swapper_4m_tsb_phys_patch' [-Werror=unused-variable]

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
    sparc: Size mondo queues more sanely.
    sparc: Access kernel TSB using physical addressing when possible.
    sparc: Fix __atomic_add_unless() return value.
    sparc: use kbuild-generic support for true asm-generic header files
    sparc: Use popc when possible for ffs/__ffs/ffz.
    sparc: Set reboot-cmd using reboot data hypervisor call if available.
    sparc: Add some missing hypervisor API groups.
    sparc: Use hweight64() in popc emulation.
    sparc: Use popc if possible for hweight routines.
    sparc: Minor tweaks to Niagara page copy/clear.
    sparc: Sanitize cpu feature detection and reporting.

    Linus Torvalds
     

05 Aug, 2011

11 commits


04 Aug, 2011

13 commits

  • Signed-off-by: David S. Miller

    Josip Rodin
     
  • Signed-off-by: Sam Ravnborg
    Signed-off-by: David S. Miller

    Sam Ravnborg
     
  • Dmitry Kasatkin reports:
    "kernel-devel package with kernel headers have no
    directory if XEN is disabled. Modules which inclide asm/io.h won't
    compile.

    XEN related content is behind the CONFIG_XEN flag in the io.h. And
    should be also behind CONFIG_XEN flag."

    So move the include of down into the section that is
    conditional on CONFIG_XEN.

    Reported-by: Dmitry Kasatkin
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6:
    cpuidle: stop depending on pm_idle
    x86 idle: move mwait_idle_with_hints() to where it is used
    cpuidle: replace xen access to x86 pm_idle and default_idle
    cpuidle: create bootparam "cpuidle.off=1"
    mrst_pmu: driver for Intel Moorestown Power Management Unit

    Linus Torvalds
     
  • * 'apei-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI, APEI, EINJ Param support is disabled by default
    APEI GHES: 32-bit buildfix
    ACPI: APEI build fix
    ACPI, APEI, GHES: Add hardware memory error recovery support
    HWPoison: add memory_failure_queue()
    ACPI, APEI, GHES, Error records content based throttle
    ACPI, APEI, GHES, printk support for recoverable error via NMI
    lib, Make gen_pool memory allocator lockless
    lib, Add lock-less NULL terminated single list
    Add Kconfig option ARCH_HAVE_NMI_SAFE_CMPXCHG
    ACPI, APEI, Add WHEA _OSC support
    ACPI, APEI, Add APEI bit support in generic _OSC call
    ACPI, APEI, GHES, Support disable GHES at boot time
    ACPI, APEI, GHES, Prevent GHES to be built as module
    ACPI, APEI, Use apei_exec_run_optional in APEI EINJ and ERST
    ACPI, APEI, Add apei_exec_run_optional
    ACPI, APEI, GHES, Do not ratelimit fatal error printk before panic
    ACPI, APEI, ERST, Fix erst-dbg long record reading issue
    ACPI, APEI, ERST, Prevent erst_dbg from loading if ERST is disabled

    Linus Torvalds
     
  • Fix:

    arch/cris/arch-v10/kernel/irq.c:239: error: implicit declaration of function 'kgdb_init'
    arch/cris/arch-v10/kernel/irq.c:240: error: implicit declaration of function 'breakpoint'

    Declare these two functions.

    Reported-by: Geert Uytterhoeven
    Signed-off-by: WANG Cong
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong
     
  • Fix:

    arch/cris/arch-v10/drivers/sync_serial.c:961: error: conflicting types for 'sync_serial_ioctl'

    Reported-by: Geert Uytterhoeven
    Signed-off-by: WANG Cong
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong
     
  • Fix:

    arch/cris/arch-v10/drivers/sync_serial.c:628: error: 'ret' undeclared (first use in this function)

    'ret' should be 'err'.

    Reported-by: Geert Uytterhoeven
    Signed-off-by: WANG Cong
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong
     
  • Fix this error:

    kernel/fork.c:267: error: implicit declaration of function 'alloc_thread_info_node'

    This is due to renaming alloc_thread_info() to alloc_thread_info_node().

    [akpm@linux-foundation.org: coding-style fixes]
    Reported-by: Geert Uytterhoeven
    Signed-off-by: WANG Cong
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong
     
  • cpuidle users should call cpuidle_call_idle() directly
    rather than via (pm_idle)() function pointer.

    Architecture may choose to continue using (pm_idle)(),
    but cpuidle need not depend on it:

    my_arch_cpu_idle()
    ...
    if(cpuidle_call_idle())
    pm_idle();

    cc: Kevin Hilman
    cc: Paul Mundt
    cc: x86@kernel.org
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     
  • ...and make it static

    no functional change

    cc: x86@kernel.org
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     
  • When a Xen Dom0 kernel boots on a hypervisor, it gets access
    to the raw-hardware ACPI tables. While it parses the idle tables
    for the hypervisor's beneift, it uses HLT for its own idle.

    Rather than have xen scribble on pm_idle and access default_idle,
    have it simply disable_cpuidle() so acpi_idle will not load and
    architecture default HLT will be used.

    cc: xen-devel@lists.xensource.com
    Tested-by: Konrad Rzeszutek Wilk
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     
  • The Moorestown (MRST) Power Management Unit (PMU) driver
    directs the SOC power states in the "Langwell" south complex (SCU).

    It hooks pci_platform_pm_ops[] and thus observes all PCI ".set_state"
    requests. For devices in the SC, the pmu driver translates those
    PCI requests into the appropriate commands for the SCU.

    The PMU driver helps implement S0i3, a deep system idle power idle state.
    Entry into S0i3 is via cpuidle, just like regular processor c-states.
    S0i3 depends on pre-conditions including uni-processor, graphics off,
    and certain IO devices in the SC must be off. If those pre-conditions
    are met, then the PMU allows cpuidle to enter S0i3, otherwise such requests
    are demoted, either to Atom C4 or Atom C6.

    This driver is based on prototype work by Bruce Flemming,
    Illyas Mansoor, Rajeev D. Muralidhar, Vishwesh M. Rudramuni,
    Hari Seshadri and Sujith Thomas. The current driver also
    includes contributions from H. Peter Anvin, Arjan van de Ven,
    Kristen Accardi, and Yong Wang.

    Thanks for additional review feedback from Alan Cox and Randy Dunlap.

    Acked-by: Alan Cox
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     

03 Aug, 2011

9 commits