07 Jan, 2009

32 commits

  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (29 commits)
    Input: i8042 - add Dell Vostro 1510 to nomux list
    Input: gtco - use USB endpoint API
    Input: add support for Maple controller as a joystick
    Input: atkbd - broaden the Dell DMI signatures
    Input: HIL drivers - add MODULE_ALIAS()
    Input: map_to_7segment.h - convert to __inline__ for userspace
    Input: add support for enhanced rotary controller on pxa930 and pxa935
    Input: add support for trackball on pxa930 and pxa935
    Input: add da9034 touchscreen support
    Input: ads7846 - strict_strtoul takes unsigned long
    Input: make some variables and functions static
    Input: add tsc2007 based touchscreen driver
    Input: psmouse - add module parameters to control OLPC touchpad delays
    Input: i8042 - add Gigabyte M912 netbook to noloop exception table
    Input: atkbd - Samsung NC10 key repeat fix
    Input: atkbd - add keyboard quirk for HP Pavilion ZV6100 laptop
    Input: libps2 - handle 0xfc responses from devices
    Input: add support for Wacom W8001 penabled serial touchscreen
    Input: synaptics - report multi-taps only if supported by the device
    Input: add joystick driver for Walkera WK-0701 RC transmitter
    ...

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

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    rcu: fix rcutorture bug
    rcu: eliminate synchronize_rcu_xxx macro
    rcu: make treercu safe for suspend and resume
    rcu: fix rcutree grace-period-latency bug on small systems
    futex: catch certain assymetric (get|put)_futex_key calls
    futex: make futex_(get|put)_key() calls symmetric
    locking, percpu counters: introduce separate lock classes
    swiotlb: clean up EXPORT_SYMBOL usage
    swiotlb: remove unnecessary declaration
    swiotlb: replace architecture-specific swiotlb.h with linux/swiotlb.h
    swiotlb: add support for systems with highmem
    swiotlb: store phys address in io_tlb_orig_addr array
    swiotlb: add hwdev to swiotlb_phys_to_bus() / swiotlb_sg_to_bus()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (237 commits)
    Staging: android: binder: fix build errors
    Staging: android: add lowmemorykiller driver
    Staging: android: remove dummy android.c driver
    Staging: android: timed_gpio: Rename android_timed_gpio to timed_gpio
    Staging: android: add timed_gpio driver
    Staging: android: add ram_console driver
    Staging: android: add logging driver
    staging: android: binder: Fix use of euid
    Staging: android: binder: Fix gcc warnings about improper format specifiers for size_t in printk
    Staging: android: add binder driver
    Staging: add android framework
    Staging: epl: fix netdev->priv b0rkage
    Staging: epl: hr timers all run in hard irq context now
    Staging: epl: run Lindent on *.c files
    Staging: epl: run Lindent on *.h files
    Staging: epl: run Lindent on all user/*.h files
    Staging: epl: run Lindent on all kernel/*.h files
    Staging: add epl stack
    Staging: frontier: fix compiler warnings
    Staging: frontier: remove unused alphatrack_sysfs.c file
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (60 commits)
    uio: make uio_info's name and version const
    UIO: Documentation for UIO ioport info handling
    UIO: Pass information about ioports to userspace (V2)
    UIO: uio_pdrv_genirq: allow custom irq_flags
    UIO: use pci_ioremap_bar() in drivers/uio
    arm: struct device - replace bus_id with dev_name(), dev_set_name()
    libata: struct device - replace bus_id with dev_name(), dev_set_name()
    avr: struct device - replace bus_id with dev_name(), dev_set_name()
    block: struct device - replace bus_id with dev_name(), dev_set_name()
    chris: struct device - replace bus_id with dev_name(), dev_set_name()
    dmi: struct device - replace bus_id with dev_name(), dev_set_name()
    gadget: struct device - replace bus_id with dev_name(), dev_set_name()
    gpio: struct device - replace bus_id with dev_name(), dev_set_name()
    gpu: struct device - replace bus_id with dev_name(), dev_set_name()
    hwmon: struct device - replace bus_id with dev_name(), dev_set_name()
    i2o: struct device - replace bus_id with dev_name(), dev_set_name()
    IA64: struct device - replace bus_id with dev_name(), dev_set_name()
    i7300_idle: struct device - replace bus_id with dev_name(), dev_set_name()
    infiniband: struct device - replace bus_id with dev_name(), dev_set_name()
    ISDN: struct device - replace bus_id with dev_name(), dev_set_name()
    ...

    Linus Torvalds
     
  • Add kprobe_insn_mutex for protecting kprobe_insn_pages hlist, and remove
    kprobe_mutex from architecture dependent code.

    This allows us to call arch_remove_kprobe() (and free_insn_slot) while
    holding kprobe_mutex.

    Signed-off-by: Masami Hiramatsu
    Acked-by: Ananth N Mavinakayanahalli
    Cc: Anil S Keshavamurthy
    Cc: Russell King
    Cc: "Luck, Tony"
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masami Hiramatsu
     
  • Change the spi_s3c2410 driver to use the generic gpio calls that are now
    available.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • While looking at reducing the amount of architecture namespace pollution
    in the generic kernel, I found that asm/irq.h is included in the vast
    majority of compilations on ARM (around 650 files.)

    Since asm/irq.h includes a sub-architecture include file on ARM, this
    causes a negative impact on the ccache's ability to re-use the build
    results from other sub-architectures, so we have a desire to reduce the
    dependencies on asm/irq.h.

    It turns out that a major cause of this is the needless include of
    linux/hardirq.h into asm-generic/local.h. The patch below removes this
    include, resulting in some 250 to 300 files (around half) of the kernel
    then omitting asm/irq.h.

    My test builds still succeed, provided two ARM files are fixed
    (arch/arm/kernel/traps.c and arch/arm/mm/fault.c) - so there may be
    negative impacts for this on other architectures.

    Note that x86 does not include asm/irq.h nor linux/hardirq.h in its
    asm/local.h, so this patch can be viewed as bringing the generic version
    into line with the x86 version.

    [kosaki.motohiro@jp.fujitsu.com: add #include to acpi/processor_idle.c]
    [adobriyan@gmail.com: fix sparc64]
    Signed-off-by: Russell King
    Signed-off-by: KOSAKI Motohiro
    Cc: Steven Rostedt
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Russell King
     
  • Signed-off-by: Alexey Dobriyan
    Cc: Gabor Gombas
    Cc: Jan Beulich
    Cc: Andi Kleen
    Cc: Ingo Molnar ,
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • The atomic_t type cannot currently be used in some header files because it
    would create an include loop with asm/atomic.h. Move the type definition
    to linux/types.h to break the loop.

    Signed-off-by: Matthew Wilcox
    Cc: Huang Ying
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Show node to memory section relationship with symlinks in sysfs

    Add /sys/devices/system/node/nodeX/memoryY symlinks for all
    the memory sections located on nodeX. For example:
    /sys/devices/system/node/node1/memory135 -> ../../memory/memory135
    indicates that memory section 135 resides on node1.

    Also revises documentation to cover this change as well as updating
    Documentation/ABI/testing/sysfs-devices-memory to include descriptions
    of memory hotremove files 'phys_device', 'phys_index', and 'state'
    that were previously not described there.

    In addition to it always being a good policy to provide users with
    the maximum possible amount of physical location information for
    resources that can be hot-added and/or hot-removed, the following
    are some (but likely not all) of the user benefits provided by
    this change.
    Immediate:
    - Provides information needed to determine the specific node
    on which a defective DIMM is located. This will reduce system
    downtime when the node or defective DIMM is swapped out.
    - Prevents unintended onlining of a memory section that was
    previously offlined due to a defective DIMM. This could happen
    during node hot-add when the user or node hot-add assist script
    onlines _all_ offlined sections due to user or script inability
    to identify the specific memory sections located on the hot-added
    node. The consequences of reintroducing the defective memory
    could be ugly.
    - Provides information needed to vary the amount and distribution
    of memory on specific nodes for testing or debugging purposes.
    Future:
    - Will provide information needed to identify the memory
    sections that need to be offlined prior to physical removal
    of a specific node.

    Symlink creation during boot was tested on 2-node x86_64, 2-node
    ppc64, and 2-node ia64 systems. Symlink creation during physical
    memory hot-add tested on a 2-node x86_64 system.

    Signed-off-by: Gary Hade
    Signed-off-by: Badari Pulavarty
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Gary Hade
     
  • Rather than have the pagefault handler kill a process directly if it gets
    a VM_FAULT_OOM, have it call into the OOM killer.

    With increasingly sophisticated oom behaviour (cpusets, memory cgroups,
    oom killing throttling, oom priority adjustment or selective disabling,
    panic on oom, etc), it's silly to unconditionally kill the faulting
    process at page fault time. Create a hook for pagefault oom path to call
    into instead.

    Only converted x86 and uml so far.

    [akpm@linux-foundation.org: make __out_of_memory() static]
    [akpm@linux-foundation.org: fix comment]
    Signed-off-by: Nick Piggin
    Cc: Jeff Dike
    Acked-by: Ingo Molnar
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • The KernelPageSize entry in /proc/pid/smaps is the pagesize used by the
    kernel to back a VMA. This matches the size used by the MMU in the
    majority of cases. However, one counter-example occurs on PPC64 kernels
    whereby a kernel using 64K as a base pagesize may still use 4K pages for
    the MMU on older processor. To distinguish, this patch reports
    MMUPageSize as the pagesize used by the MMU in /proc/pid/smaps.

    Signed-off-by: Mel Gorman
    Cc: "KOSAKI Motohiro"
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • The new Kconfig option to build "staging" drivers (code in
    drivers/staging/) is seen in all except three architectures (arm, h8300,
    cris), because in these cases arch/$ARCH/Kconfig does NOT source
    drivers/Kconfig.

    This patch adds the source "drivers/staging/Kconfig" to
    arch/$ARCH/Kconfig for these three exceptional cases.

    Signed-off-by: Duncan Haldane
    Signed-off-by: Greg Kroah-Hartman

    F. Duncan M. Haldane
     
  • Cc: Russell King
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Cc: Haavard Skinnemoen
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Cc: Jesper Nilsson
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Cc: Tony Luck
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Cc: Ralf Baechle
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Replace s390_root_dev_register() with root_device_register() etc.

    [Includes fix from Cornelia Huck]

    Signed-off-by: Mark McLoughlin
    Cc: Cornelia Huck
    Signed-off-by: Greg Kroah-Hartman

    Mark McLoughlin
     

06 Jan, 2009

8 commits

  • Ingo Molnar
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    module: convert to stop_machine_create/destroy.
    stop_machine: introduce stop_machine_create/destroy.
    parisc: fix module loading failure of large kernel modules
    module: fix module loading failure of large kernel modules for parisc
    module: fix warning of unused function when !CONFIG_PROC_FS
    kernel/module.c: compare symbol values when marking symbols as exported in /proc/kallsyms.
    remove CONFIG_KMOD

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

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    swiotlb: Don't include linux/swiotlb.h twice in lib/swiotlb.c
    intel-iommu: fix build error with INTR_REMAP=y and DMAR=n
    swiotlb: add missing __init annotations

    Linus Torvalds
     
  • * 'i2c-next' of git://aeryn.fluff.org.uk/bjdooks/linux:
    i2c-omap: fix type of irq handler function
    i2c-s3c2410: Change IRQ to be plain integer.
    i2c-s3c2410: Allow more than one i2c-s3c2410 adapter
    i2c-s3c2410: Remove default platform data.
    i2c-s3c2410: Use platform data for gpio configuration
    i2c-s3c2410: Fixup style problems from checkpatch.pl
    i2c-omap: Enable I2C wakeups for 34xx
    i2c-omap: reprogram OCP_SYSCONFIG register after reset
    i2c-omap: convert 'rev1' flag to generic 'rev' u8
    i2c-omap: fix I2C timeouts due to recursive omap_i2c_{un,}idle()
    i2c-omap: Clean-up i2c-omap
    i2c-omap: Don't compile in OMAP15xx I2C ISR for non-OMAP15xx builds
    i2c-omap: Mark init-only functions as __init
    i2c-omap: Add support for omap34xx
    i2c-omap: FIFO handling support and broken hw workaround for i2c-omap
    i2c-omap: Add high-speed support to omap-i2c
    i2c-omap: Close suspected race between omap_i2c_idle() and omap_i2c_isr()
    i2c-omap: Do not use interruptible wait call in omap_i2c_xfer_msg

    Fix up apparently-trivial conflict in drivers/i2c/busses/i2c-s3c2410.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: (30 commits)
    sparc: Fix minor SPARC32 compile error
    sparc: Remove reg*.h from Kbuild
    sparc: Clean arch-specific code in prom_common.c
    sparc: Kill asm/reg*.h
    sparc: Use 64BIT config entry
    MAINTAINERS: update sparc maintainer
    sparc: unify ipcbuf.h
    sparc: Update 64-bit defconfig.
    sparc: remove NO_PROC_ID - it is no longer used
    sparc: drop get_tbr() in traps.h
    sparc: fix warning in userspace header traps.h
    sparc: fix warnings in userspace header byteorder.h
    sparc: fix warning in userspace header jsflash.h
    sparc: unify openprom.h
    sparc64: delete unused linux_prom64_ranges from openprom_64.h
    sparc: prepare openprom for unification
    sparc: remove linux_prom_pci_assigned_addresses from openprom_32.h
    sparc: remove ebus definitions from openprom*.h
    sparc: unify siginfo.h
    sparc: unify ptrace.h
    ...

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] Fix on resume, now preserves user policy min/max.
    [CPUFREQ] Add Celeron Core support to p4-clockmod.
    [CPUFREQ] add to speedstep-lib additional fsb values for core processors
    [CPUFREQ] Disable sysfs ui for p4-clockmod.
    [CPUFREQ] p4-clockmod: reduce noise
    [CPUFREQ] clean up speedstep-centrino and reduce cpumask_t usage

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    inotify: fix type errors in interfaces
    fix breakage in reiserfs_new_inode()
    fix the treatment of jfs special inodes
    vfs: remove duplicate code in get_fs_type()
    add a vfs_fsync helper
    sys_execve and sys_uselib do not call into fsnotify
    zero i_uid/i_gid on inode allocation
    inode->i_op is never NULL
    ntfs: don't NULL i_op
    isofs check for NULL ->i_op in root directory is dead code
    affs: do not zero ->i_op
    kill suid bit only for regular files
    vfs: lseek(fd, 0, SEEK_CUR) race condition

    Linus Torvalds
     
  • When CONFIG_PROC_FS is unset, include/linux/interrupt.h defines
    init_irq_proc() as an empty function.

    arch/sparc/kernel/irq_32.c defines this function unconditionally.

    Fix the latter so that it only defines this function when CONFIG_PROC_FS
    is set.

    This fixes the following error:
    arch/sparc/kernel/irq_32.c:672: error: redefinition of 'init_irq_proc'
    include/linux/interrupt.h:461: error: previous definition of
    'init_irq_proc' was here

    This was found using randconfig builds.

    Signed-off-by: Julian Calaby
    Signed-off-by: David S. Miller

    Julian Calaby