24 Sep, 2009

4 commits

  • * 'sfi-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6:
    SFI: remove unneeded includes
    sfi: Remove unused code
    SFI: Hook PCI MMCONFIG
    x86: add arch-specific SFI support
    SFI: add capability to parse ACPI tables
    SFI: add platform-independent core support
    SFI: create linux/sfi.h
    SFI: Simple Firmware Interface - MAINTAINERS, Kconfig

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits)
    ACPI: don't pass handle for fixed hardware notifications
    ACPI: remove null pointer checks in deferred execution path
    ACPI: simplify deferred execution path
    acerhdf: additional BIOS versions
    acerhdf: convert to dev_pm_ops
    acerhdf: fix fan control for AOA150 model
    thermal: add missing Kconfig dependency
    acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
    hp-wmi: fix rfkill memory leak on unload
    ACPI: remove unnecessary #ifdef CONFIG_DMI
    ACPI: linux/acpi.h should not include linux/dmi.h
    hwmon driver for ACPI 4.0 power meters
    topstar-laptop: add new driver for hotkeys support on Topstar N01
    thinkpad_acpi: fix rfkill memory leak on unload
    thinkpad-acpi: report brightness events when required
    thinkpad-acpi: don't poll by default any of the reserved hotkeys
    thinkpad-acpi: Fix procfs hotkey reset command
    thinkpad-acpi: deprecate hotkey_bios_mask
    thinkpad-acpi: hotkey poll fixes
    thinkpad-acpi: be more strict when detecting a ThinkPad
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (142 commits)
    USB: Fix sysfs paths in documentation
    USB: skeleton: fix coding style issues.
    USB: O_NONBLOCK in read path of skeleton
    USB: make usb-skeleton honor O_NONBLOCK in write path
    USB: skel_read really sucks royally
    USB: Add hub descriptor update hook for xHCI
    USB: xhci: Support USB hubs.
    USB: xhci: Set multi-TT field for LS/FS devices under hubs.
    USB: xhci: Set route string for all devices.
    USB: xhci: Fix command wait list handling.
    USB: xhci: Change how xHCI commands are handled.
    USB: xhci: Refactor input device context setup.
    USB: xhci: Endpoint representation refactoring.
    USB: gadget: ether needs to select CRC32
    USB: fix USBTMC get_capabilities success handling
    USB: fix missing error check in probing
    USB: usbfs: add USBDEVFS_URB_BULK_CONTINUATION flag
    USB: support for autosuspend in sierra while online
    USB: ehci-dbgp,ehci: Allow dbpg to work with suspend/resume
    USB: ehci-dbgp,documentation: Documentation updates for ehci-dbgp
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
    lguest: cleanup for map_switcher()
    lguest: use PGDIR_SHIFT for PAE code to allow different PAGE_OFFSET
    lguest: use set_pte/set_pmd uniformly for real page table entries
    lguest: move panic notifier registration to its expected place.
    virtio_blk: add support for cache flush
    virtio: add virtio IDs file
    virtio: get rid of redundant VIRTIO_ID_9P definition
    virtio: make add_buf return capacity remaining
    virtio_pci: minor MSI-X cleanups

    Linus Torvalds
     

23 Sep, 2009

36 commits

  • * 'for-linus' of git://gitserver.sunplusct.com/linux-2.6-score:
    score: update email address in MAINTAINERS.
    score: Cleanup linker script using new macros.
    score: Make THREAD_SIZE available to assembly files.
    score: Make PAGE_SIZE available to assembly.

    Linus Torvalds
     
  • * 'x86/orig_ax' of git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland:
    x86: ptrace: set TS_COMPAT when 32-bit ptrace sets orig_eax>=0
    x86: ptrace: do not sign-extend orig_ax on write
    x86: syscall_get_nr returns int
    asm-generic: syscall_get_nr returns int

    Linus Torvalds
     
  • Signed-off-by: Ryan Mallon
    Acked-by: H Hartley Sweeten
    Cc: Daniele Venzano
    Cc: Russell King
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ryan Mallon
     
  • - use __iomem type attribute where appropriate
    - expand (a ? : b) to (a ? a : b)
    As suggested by Russel King

    - remove a dead line from omapfb_main.c

    Signed-off-by: Arun C
    Signed-off-by: Tony Lindgren
    Signed-off-by: Imre Deak
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    arun c
     
  • Signed-off-by: Imre Deak
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Imre Deak
     
  • Add glue to control the OMAP_LDP LCD as a frame buffer device using the
    existing dispc.c driver under omapfb.

    Patch updated for mainline kernel. Note that the drivers/video/omap
    should be updated to pass omap_lcd_config in platform_data. The patch
    should also be updated to compile if twl4030 is not selected, and
    eventually to use the regulator framework.

    Fixed-by: Jarkko Nikula
    Fixed-by: Tony Lindgren
    Signed-off-by: Stanley.Miao
    Signed-off-by: Tony Lindgren
    Signed-off-by: Imre Deak
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stanley.Miao
     
  • The default resolution is 1024x768@24bit

    This version addresses the comments from Felipe Balbi adn Arun Edarath

    Fixed-by: Felipe Contreras
    Fixed-by: Steve Sakoman
    Fixed-by: Jarkko Nikula
    Fixed-by: David Brownell
    Signed-off-by: Koen Kooi
    Signed-off-by: Tony Lindgren
    Signed-off-by: Imre Deak
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Koen Kooi
     
  • The 3430SDP uses the same panel as the 2430SDP. The main difference are
    in the GPIO lines used for panel enable and backlight, and the VAUX
    register/commands sent to the TWL4030 power subsystem.

    Also, some misc. whitespace cleanups.

    Fixed-by: Tony Lindgren
    Signed-off-by: Kevin Hilman
    Signed-off-by: Tony Lindgren
    Signed-off-by: Imre Deak
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Hilman
     
  • Fixed-by: Mike Wege
    Fixed-by: Arnaud Patard
    Fixed-by: Timo Savola
    Fixed-by: Hiroshi DOYU
    Fixed-by: Trilok Soni
    Signed-off-by: Imre Deak
    Signed-off-by: Juha Yrjola
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Imre Deak
     
  • tAdd adds McSPI support for OMAP4430 SDP platform. All the base addresses
    are changed between OMAP1/2/3 and OMAP4. The fields of the resource
    structures are filled at runtime to have McSPI support on OMAP4.

    Signed-off-by: Syed Rafiuddin
    Acked-by: Kevin Hilman
    Acked-by: Tony Lindgren
    Acked-by: Santosh Shilimkar
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Syed Rafiuddin
     
  • This driver has been tested on i.MX1/i.MX27/i.MX35 with an AT25 type
    EEPROM and on i.MX27/i.MX31 with a Freescale MC13783 PMIC.

    Signed-off-by: Sascha Hauer
    Tested-by: Guennadi Liakhovetski
    Acked-by: David Brownell
    Cc: Andrea Paterniani
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sascha Hauer
     
  • Some archs define MODULED_VADDR/MODULES_END which is not in VMALLOC area.
    This is handled only in x86-64. This patch make it more generic. And we
    can use vread/vwrite to access the area. Fix it.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Jiri Slaby
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • For /proc/kcore, each arch registers its memory range by kclist_add().
    In usual,

    - range of physical memory
    - range of vmalloc area
    - text, etc...

    are registered but "range of physical memory" has some troubles. It
    doesn't updated at memory hotplug and it tend to include unnecessary
    memory holes. Now, /proc/iomem (kernel/resource.c) includes required
    physical memory range information and it's properly updated at memory
    hotplug. Then, it's good to avoid using its own code(duplicating
    information) and to rebuild kclist for physical memory based on
    /proc/iomem.

    Signed-off-by: KAMEZAWA Hiroyuki
    Signed-off-by: Jiri Slaby
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Cc: KOSAKI Motohiro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Originally, walk_memory_resource() was introduced to traverse all memory
    of "System RAM" for detecting memory hotplug/unplug range. For doing so,
    flags of IORESOUCE_MEM|IORESOURCE_BUSY was used and this was enough for
    memory hotplug.

    But for using other purpose, /proc/kcore, this may includes some firmware
    area marked as IORESOURCE_BUSY | IORESOUCE_MEM. This patch makes the
    check strict to find out busy "System RAM".

    Note: PPC64 keeps their own walk_memory_resouce(), which walk through
    ppc64's lmb informaton. Because old kclist_add() is called per lmb, this
    patch makes no difference in behavior, finally.

    And this patch removes CONFIG_MEMORY_HOTPLUG check from this function.
    Because pfn_valid() just show "there is memmap or not* and cannot be used
    for "there is physical memory or not", this function is useful in generic
    to scan physical memory range.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Cc: Américo Wang
    Cc: David Rientjes
    Cc: Roland Dreier
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Some 64bit arch has special segment for mapping kernel text. It should be
    entried to /proc/kcore in addtion to direct-linear-map, vmalloc area.
    This patch unifies KCORE_TEXT entry scattered under x86 and ia64.

    I'm not familiar with other archs (mips has its own even after this patch)
    but range of [_stext ..._end) is a valid area of text and it's not in
    direct-map area, defining CONFIG_ARCH_PROC_KCORE_TEXT is only a necessary
    thing to do.

    Note: I left mips as it is now.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • For /proc/kcore, vmalloc areas are registered per arch. But, all of them
    registers same range of [VMALLOC_START...VMALLOC_END) This patch unifies
    them. By this. archs which have no kclist_add() hooks can see vmalloc
    area correctly.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Presently, kclist_add() only eats start address and size as its arguments.
    Considering to make kclist dynamically reconfigulable, it's necessary to
    know which kclists are for System RAM and which are not.

    This patch add kclist types as
    KCORE_RAM
    KCORE_VMALLOC
    KCORE_TEXT
    KCORE_OTHER

    This "type" is used in a patch following this for detecting KCORE_RAM.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Add basic support for all 5 MMC controllers on OMAP4.

    This patch doesn't include mmc-regulator support

    Signed-off-by: Kishore Kadiyala
    Cc: Jarkko Lavinen
    Acked-by: Madhusudhan Chikkature
    Cc: Russell King
    Acked-by: Tony Lindgren
    Cc: Hiroshi DOYU
    Cc: Sakari Ailus
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    kishore kadiyala
     
  • Created a modified version of the at91sam9g20 evaluation kit platform
    (board-sam9g20ek-2slot-mmc.c) and device support to make use of the
    updated atmel-mci driver.

    As the use of two slots modify GPIO pin allocation, we create another
    board file.

    This requires getting the most updated arch/arm/tools/mach-types from
    http://www.arm.linux.org.uk/developer/machines/download.php to have the machine
    type for the at91sam9g20ek-2slot-mmc board.

    [nicolas.ferre@atmel.com: printk, slot_count modification in at91sam9260_devices.c file]
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Rob Emanuele
    Signed-off-by: Nicolas Ferre
    Cc: Haavard Skinnemoen
    Cc: Andrew Victor
    Cc: Russell King
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Emanuele
     
  • eSDHC block in MPC837x SOCs reports inverted write-protect state, soon
    sdhci-of driver will look for sdhci,wp-inverted properties to decide
    whether apply a specific quirk.

    So, document the property and add it to device tree source files.

    Signed-off-by: Anton Vorontsov
    Cc: Pierre Ossman
    Cc: Kumar Gala
    Cc: David Vrabel
    Cc: Ben Dooks
    Cc: Sascha Hauer
    Cc: Benjamin Herrenschmidt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     
  • Specify MMC capabilities and set the power-saving flag for RX51.

    Signed-off-by: Adrian Hunter
    Acked-by: Matt Fleming
    Cc: Ian Molton
    Cc: "Roberto A. Foglietta"
    Cc: Jarkko Lavinen
    Cc: Denis Karpov
    Cc: Pierre Ossman
    Cc: Philip Langdale
    Cc: "Madhusudhan"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Hunter
     
  • Add the ability for the driver to put the card power regulators to sleep
    and wake them up again.

    Signed-off-by: Adrian Hunter
    Acked-by: Matt Fleming
    Cc: Ian Molton
    Cc: "Roberto A. Foglietta"
    Cc: Jarkko Lavinen
    Cc: Denis Karpov
    Cc: Pierre Ossman
    Cc: Philip Langdale
    Cc: "Madhusudhan"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Hunter
     
  • Support for multi-level dynamic power saving states in omap_hsmmc
    (ENABLED->DISABLED->OFF). In the "deepest" state (OFF) we switch off the
    voltage regulators.

    Signed-off-by: Denis Karpov
    Signed-off-by: Adrian Hunter
    Acked-by: Matt Fleming
    Cc: Ian Molton
    Cc: "Roberto A. Foglietta"
    Cc: Jarkko Lavinen
    Cc: Denis Karpov
    Cc: Pierre Ossman
    Cc: Philip Langdale
    Cc: "Madhusudhan"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denis Karpov
     
  • Let the board specify that a card is nonremovable e.g. eMMC

    Signed-off-by: Adrian Hunter
    Acked-by: Matt Fleming
    Cc: Ian Molton
    Cc: "Roberto A. Foglietta"
    Cc: Jarkko Lavinen
    Cc: Denis Karpov
    Cc: Pierre Ossman
    Cc: Philip Langdale
    Cc: "Madhusudhan"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Hunter
     
  • PM dynamic OFF state results in context loss. That is, the host
    controller has been powered off at some point, which means the registers
    have been reset. The driver must detect when this happens, and restore
    the context. This patch adds the means to detect context loss.

    Note, the PM side is not yet implemented.

    Signed-off-by: Denis Karpov
    Signed-off-by: Adrian Hunter
    Acked-by: Matt Fleming
    Cc: Ian Molton
    Cc: "Roberto A. Foglietta"
    Cc: Jarkko Lavinen
    Cc: Denis Karpov
    Cc: Pierre Ossman
    Cc: Philip Langdale
    Cc: "Madhusudhan"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denis Karpov
     
  • Signed-off-by: Mike Frysinger
    Cc: Ingo Molnar
    Cc: Robin Getz
    Cc: Sam Ravnborg
    Cc: Peter Zijlstra
    Cc: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • gcc permitting variable length arrays makes the current construct used for
    BUILD_BUG_ON() useless, as that doesn't produce any diagnostic if the
    controlling expression isn't really constant. Instead, this patch makes
    it so that a bit field gets used here. Consequently, those uses where the
    condition isn't really constant now also need fixing.

    Note that in the gfp.h, kmemcheck.h, and virtio_config.h cases
    MAYBE_BUILD_BUG_ON() really just serves documentation purposes - even if
    the expression is compile time constant (__builtin_constant_p() yields
    true), the array is still deemed of variable length by gcc, and hence the
    whole expression doesn't have the intended effect.

    [akpm@linux-foundation.org: make arch/sparc/include/asm/vio.h compile]
    [akpm@linux-foundation.org: more nonsensical assertions in tpm.c..]
    Signed-off-by: Jan Beulich
    Cc: Andi Kleen
    Cc: Rusty Russell
    Cc: Catalin Marinas
    Cc: "David S. Miller"
    Cc: Rajiv Andrade
    Cc: Mimi Zohar
    Cc: James Morris
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • Make all seq_operations structs const, to help mitigate against
    revectoring user-triggerable function pointers.

    This is derived from the grsecurity patch, although generated from scratch
    because it's simpler than extracting the changes from there.

    Signed-off-by: James Morris
    Acked-by: Serge Hallyn
    Acked-by: Casey Schaufler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    James Morris
     
  • It is desirable to be able to use one early boot device to debug
    another or to have multiple places you can see the early boot
    diagnostics, such as the vga screen or serial device.

    This patch changes the early_printk console device registration to
    allow more than one early printk device to get registered via
    register_console().

    Signed-off-by: Jason Wessel
    Cc: Ingo Molnar
    Cc: Andrew Morton
    Cc: Yinghai Lu
    Cc: "Eric W. Biederman"
    Cc: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Jason Wessel
     
  • Move the dbgp early printk driver in advance of refactoring and adding
    new code, so the changes to this code are tracked separately from the
    move of the code.

    The drivers/usb/early directory will be the location of the current
    and future early usb code for driving usb devices prior initializing
    the standard interrupt driven USB drivers.

    Signed-off-by: Jason Wessel
    Cc: Ingo Molnar
    Cc: Andrew Morton
    Cc: Yinghai Lu
    Cc: "Eric W. Biederman"
    Signed-off-by: Greg Kroah-Hartman

    Jason Wessel
     
  • We used to defer it, so lockdep was happy. We now init lockdep early
    anyway, so just do it after that.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • The 32-bit ptrace syscall on a 64-bit kernel (32-bit debugger on
    32-bit task) behaves differently than a native 32-bit kernel. When
    setting a register state of orig_eax>=0 and eax=-ERESTART* when the
    debugged task is NOT on its way out of a 32-bit syscall, the task will
    fail to do the syscall restart logic that it should do.

    Test case available at http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/erestartsys-trap.c?cvsroot=systemtap

    This happens because the 32-bit ptrace syscall sets eax=0xffffffff
    when it sets orig_eax>=0. The resuming task will not sign-extend this
    for the -ERESTART* check because TS_COMPAT is not set. (So the task
    thinks it is restarting after a 64-bit syscall, not a 32-bit one.)

    The fix is to have 32-bit ptrace calls set TS_COMPAT when setting
    orig_eax>=0. This ensures that the 32-bit syscall restart logic
    will apply when the child resumes.

    Signed-off-by: Roland McGrath

    Roland McGrath
     
  • The high 32 bits of orig_ax will be ignored when it matters,
    so don't fiddle them when setting it.

    Signed-off-by: Roland McGrath

    Roland McGrath
     
  • Signed-off-by: Tim Abbott
    Acked-by: Sam Ravnborg
    Signed-off-by: Chen Liqin

    Tim Abbott
     
  • Signed-off-by: Tim Abbott
    Acked-by: Sam Ravnborg

    Tim Abbott
     
  • Signed-off-by: Tim Abbott
    Acked-by: Sam Ravnborg

    Tim Abbott