21 Aug, 2010

2 commits

  • Fix uml compile error:

    include/linux/dma-mapping.h:145: error: redefinition of 'dma_get_cache_alignment'
    arch/um/include/asm/dma-mapping.h:99: note: previous definition of 'dma_get_cache_alignment' was here

    Introduced by commit 4565f0170dfc ("dma-mapping: unify
    dma_get_cache_alignment implementations")

    Signed-off-by: Miklos Szeredi
    Cc: Jeff Dike
    Cc: FUJITA Tomonori
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Each board can override the default sdhci host capabilities.
    Some board has broken features by hardwares and support 8-bit bandwidth.

    Signed-off-by: Kyungmin Park
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kyungmin Park
     

20 Aug, 2010

1 commit


19 Aug, 2010

5 commits


18 Aug, 2010

9 commits

  • Fix the Errata AAK100/AAP53/BD53 workaround, the officialy documented
    workaround we implemented in:

    11164cd: perf, x86: Add Nehelem PMU programming errata workaround

    doesn't actually work fully and causes a stuck PMU state
    under load and non-functioning perf profiling.

    A functional workaround was found by trial & error.

    Affects all Nehalem-class Intel PMUs.

    Signed-off-by: Zhang Yanmin
    Signed-off-by: Peter Zijlstra
    LKML-Reference:
    Cc: Arjan van de Ven
    Cc: "H. Peter Anvin"
    Cc: # .35.x
    Signed-off-by: Ingo Molnar

    Zhang, Yanmin
     
  • arch/m68knommu/kernel/process.c: formatting of pointers in printk()

    Use %p instead of %08x in printk().

    Signed-off-by: Kulikov Vasiliy
    Signed-off-by: Greg Ungerer

    Kulikov Vasiliy
     
  • The arch/m68k/include/asm/ide.h produces errors when the IDE driver is compiled for my 523x uClinux system under kernel. The header makes some redefines of operators not defined in the arch/m68k/include/asm/io_no.h header. There are no separate mmio and iospace defines.

    Signed-off-by: Jate Sujjavanich
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Greg Ungerer

    Jate Sujjavanich
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb:
    vt,console,kdb: preserve console_blanked while in kdb
    vt: fix regression warnings from KMS merge
    arm,kgdb: fix GDB_MAX_REGS no longer used
    kgdb: add missing __percpu markup in arch/x86/kernel/kgdb.c
    kdb: fix compile error without CONFIG_KALLSYMS

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc64: Fix atomic64_t routine return values.
    sparc64: Fix rwsem constant bug leading to hangs.
    sparc: Hook up new fanotify and prlimit64 syscalls.
    sparc: Really fix "console=" for serial consoles.

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    VIDEO: amba clcd: don't disable an already disabled clock
    ARM: Tighten check for allowable CPSR values
    ARM: 6329/1: wire up sys_accept4() on ARM
    ARM: 6328/1: Build with -fno-dwarf2-cfi-asm
    ARM: 6326/1: kgdb: fix GDB_MAX_REGS no longer used

    Linus Torvalds
     
  • Make do_execve() take a const filename pointer so that kernel_execve() compiles
    correctly on ARM:

    arch/arm/kernel/sys_arm.c:88: warning: passing argument 1 of 'do_execve' discards qualifiers from pointer target type

    This also requires the argv and envp arguments to be consted twice, once for
    the pointer array and once for the strings the array points to. This is
    because do_execve() passes a pointer to the filename (now const) to
    copy_strings_kernel(). A simpler alternative would be to cast the filename
    pointer in do_execve() when it's passed to copy_strings_kernel().

    do_execve() may not change any of the strings it is passed as part of the argv
    or envp lists as they are some of them in .rodata, so marking these strings as
    const should be fine.

    Further kernel_execve() and sys_execve() need to be changed to match.

    This has been test built on x86_64, frv, arm and mips.

    Signed-off-by: David Howells
    Tested-by: Ralf Baechle
    Acked-by: Russell King
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Should return 'long' instead of 'int'.

    Thanks to Dimitris Michailidis and Tony Luck.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • As noticed by Linus, it is critical that some of the
    rwsem constants be signed. Yet, hex constants are
    unsigned unless explicitly casted or negated.

    The most critical one is RWSEM_WAITING_BIAS.

    This bug was exacerbated by commit
    424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3 ("rwsem: wake queued readers
    when writer blocks on active read lock")

    Signed-off-by: David S. Miller

    David S. Miller
     

17 Aug, 2010

8 commits


16 Aug, 2010

7 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    gcc-4.6: ACPI: fix unused but set variables in ACPI
    ACPI thermal: make procfs I/F depend on CONFIG_ACPI_PROCFS
    ACPI video: make procfs I/F depend on CONFIG_ACPI_PROCFS
    ACPI processor: remove deprecated ACPI procfs I/F
    ACPI power_resource: remove unused procfs I/F
    ACPI: remove deprecated ACPI procfs I/F
    ACPI: introduce drivers/acpi/sysfs.c
    ACPI: introduce module parameter acpi.aml_debug_output
    ACPI: introduce drivers/acpi/debugfs.c
    ACPI, APEI, ERST debug support
    ACPI, APEI, Manage GHES as platform devices
    ACPI, APEI, Rename CPER and GHES severity constants
    ACPI, APEI, Fix a typo of error path of apei_resources_request
    ACPI / ACPICA: Fix reference counting problems with GPE handlers
    ACPI: Add the check of ADR flag in course of finding ACPI handle for PCI device
    ACPI / Sleep: Drop acpi_suspend_finish()
    ACPI / Sleep: Consolidate suspend and hibernation routines
    ACPI / Wakeup: Simplify enabling of wakeup devices
    ACPI / Sleep: Rework enabling wakeup devices
    ACPI / Sleep: Free NVS copy if suspending of devices fails

    Fixed up totally buggered "ACPI: fix unused but set variables in ACPI"
    patch that doesn't even compile in the merge.

    Thanks to Sedat Dilek for noticing the
    breakage before I even pulled. And a big "Grrr.." at Len for not even
    bothering to compile the tree before asking me to pull.

    Linus Torvalds
     
  • * git://git.infradead.org/mtd-2.6:
    mtd/nand_ids: Fix buswidth
    mtd/m25p80: fix test for end of loop
    mtd/m25p80: retlen is never NULL
    MIPS: Fix gen_nand probe structures contents
    gen_nand: Test if nr_chips field is valid
    BFIN: Fix gen_nand probe structures contents
    nand/denali: move all hardware initialization work to denali_hw_init
    nand/denali: Add a page check in denali_read_page & denali_read_page_raw
    nand/denali: use cpu_relax() while waiting for hardware interrupt
    nand/denali: change read_status function method
    nand/denali: Fixed check patch warnings
    ARM: Fix gen_nand probe structures contents
    mtd/nand_base: fix kernel-doc warnings & typos
    nand/denali: use dev_xx debug function to replace nand_dbg_print and some printk
    nand/denali: Fixed handle ECC error bugs
    nand/denali: use iowrite32() to replace denali_write32()
    nand/denali: Fixed probe function bugs

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
    arch/tile: don't validate CROSS_COMPILE needlessly
    arch/tile: export only COMMAND_LINE_SIZE to userspace.
    arch/tile: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN
    arch/tile: Rename the hweight() implementations to __arch_hweight()
    arch/tile: extend syscall ABI to set r1 on return as well.
    arch/tile: Various cleanups.
    arch/tile: support backtracing on TILE-Gx
    arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx.
    arch/tile: Use separate, better minsec values for clocksource and sched_clock.
    arch/tile: correct a bug in freeing bootmem by VA for the optional second initrd.
    arch: tile: mm: pgtable.c: Removed duplicated #include
    arch: tile: kernel/proc.c Removed duplicated #include
    Add fanotify syscalls to .
    arch/tile: support new kunmap_atomic() naming convention.
    tile: remove unused ISA_DMA_THRESHOLD define

    Conflicts in arch/tile/configs/tile_defconfig (pick the mainline version
    with the reduced defconfig).

    Linus Torvalds
     
  • Reviewed-by: Arve Hjønnevåg
    Acked-by: Dima Zavin
    Signed-off-by: Russell King

    Russell King
     
  • sys_accept4() was added in kernel 2.6.28, but ARM was not updated
    to include it. The number and types of parameters is such that
    no ARM-specific processing is needed, so wiring up sys_accept4()
    just requires defining __NR_accept4 and adding a direct call in
    the syscall entry table.

    Tested with an EABI 2.6.35 kernel and Ulrich Drepper's original
    accept4() test program, modified to define __NR_accept4 for ARM.

    Using the updated unistd.h also eliminates a warning then building
    glibc (2.10.2 and newer) about accept4() being unimplemented.

    Signed-off-by: Mikael Pettersson
    Signed-off-by: Russell King

    Mikael Pettersson
     
  • With this change, the arch/tile Makefile will only check for a valid
    combination of CROSS_COMPILE vs "uname -m" for a few common targets
    that are typically the ones we get wrong (vmlinux, all, and modules).
    The change handles the case of an empty "make" goal like "make all".

    Signed-off-by: Chris Metcalf
    Reviewed-by: Sam Ravnborg

    Chris Metcalf
     
  • This fixes a failure in "make headers_check" for tile.
    I hadn't realized this file was exported to userspace by default.

    Signed-off-by: Chris Metcalf

    Chris Metcalf
     

15 Aug, 2010

7 commits


14 Aug, 2010

1 commit