31 May, 2010

1 commit

  • This reverts commit 0ac0c0d0f837c499afd02a802f9cf52d3027fa3b, which
    caused cross-architecture build problems for all the wrong reasons.
    IA64 already added its own version of __node_random(), but the fact is,
    there is nothing architectural about the function, and the original
    commit was just badly done. Revert it, since no fix is forthcoming.

    Requested-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

29 May, 2010

8 commits

  • * 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6:
    intel_idle: native hardware cpuidle driver for latest Intel processors
    ACPI: acpi_idle: touch TS_POLLING only in the non-MWAIT case
    acpi_pad: uses MONITOR/MWAIT, so it doesn't need to clear TS_POLLING
    sched: clarify commment for TS_POLLING
    ACPI: allow a native cpuidle driver to displace ACPI
    cpuidle: make cpuidle_curr_driver static
    cpuidle: add cpuidle_unregister_driver() error check
    cpuidle: fail to register if !CONFIG_CPU_IDLE

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (27 commits)
    ACPI: Don't let acpi_pad needlessly mark TSC unstable
    drivers/acpi/sleep.h: Checkpatch cleanup
    ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
    ACPI: delete unused c-state promotion/demotion data strucutures
    ACPI: video: fix acpi_backlight=video
    ACPI: EC: Use kmemdup
    drivers/acpi: use kasprintf
    ACPI, APEI, EINJ injection parameters support
    Add x64 support to debugfs
    ACPI, APEI, Use ERST for persistent storage of MCE
    ACPI, APEI, Error Record Serialization Table (ERST) support
    ACPI, APEI, Generic Hardware Error Source memory error support
    ACPI, APEI, UEFI Common Platform Error Record (CPER) header
    Unified UUID/GUID definition
    ACPI Hardware Error Device (PNP0C33) support
    ACPI, APEI, PCIE AER, use general HEST table parsing in AER firmware_first setup
    ACPI, APEI, Document for APEI
    ACPI, APEI, EINJ support
    ACPI, APEI, HEST table parsing
    ACPI, APEI, APEI supporting infrastructure
    ...

    Linus Torvalds
     
  • Len Brown
     
  • Len Brown
     
  • Len Brown
     
  • Commit 38516ab59fbc5b3bb278cf5e1fe2867c70cff32e ("tracing: Let
    tracepoints have data passed to tracepoint callbacks") requires this
    fixup to the powerpc code.

    Signed-off-by: Stephen Rothwell
    Acked-by: Steven Rostedt
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • * 'for-linus/2635-updates' of git://git.fluff.org/bjdooks/linux:
    ARM: S5PV210: serial: Fix section mismatch warning
    ARM: s3c2410_defconfig: Add new machines
    ARM: s3c6400_defconfig: Add framebuffer and basic LCD
    ARM: s3c6400_defconfig: Add RTC driver support
    ARM: s3c6400_defconfig: Enable USB host side
    ARM: s3c6400_defconfig: Add SPI driver
    ARM: s3c6400_defconfig: Update compiled machines
    ARM: S5P: Regoster clk_xusbxti clock for hsotg driver
    ARM: S3C64XX: Add USB OTG HCLK to the list of clocks
    ARM: SAMSUNG: gpio-cfg.h: update documentation
    ARM: SAMSUNG: Documentation: add documentation on GPIO code
    ARM: SAMSUNG: Fix documentation for s3c_gpio_cfgpin()
    ARM: S3C24XX: Documentation: add section on gpiolib changes
    ARM: S3C24XX: Documentation: update GPIO documentation
    ARM: S3C24XX: Documentation: update documentation overview
    ARM: SAMSUNG: Documentation: update directory layout
    ARM: SAMSUNG: Documentation: update the list of SoCs supported

    Linus Torvalds
     
  • ARCH_KMALLOC_MINALIGN was already defined in asm/mem-layout.h and so shouldn't
    have been added to asm/cache.h as well, but rather altered in place.

    The commit that added it to asm/cache.h was:

    commit 69dcf3db03626c4f18de624e8632454ea12ff260
    Author: FUJITA Tomonori
    Date: Mon May 24 14:32:54 2010 -0700

    frv: set ARCH_KMALLOC_MINALIGN

    Architectures that handle DMA-non-coherent memory need to set
    ARCH_KMALLOC_MINALIGN to make sure that kmalloc'ed buffer is
    DMA-safe: the buffer doesn't share a cache with the others.

    Signed-off-by: David Howells
    cc: FUJITA Tomonori
    Signed-off-by: Linus Torvalds

    David Howells
     

28 May, 2010

31 commits

  • Merge branch 'for-2635/defconfig3' into for-linus/2635-updates

    Ben Dooks
     
  • Add the SMDK2416, and the GTA02 to the list of machines
    that are included in the s3c2410_defconfig.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add the framebuffer driver and some basic LCD configurations
    that should be suitable for the SMDK boards.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Now that the RTC driver supports the S3C64XX, enable
    it in the build.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Enable the USB Host side by adding the USB OHCI and
    some basic USB driver modules.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • The SPI driver was added last kernel round, so enable
    the core SPI and add the 64XX and bitbang driver as
    modules.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add the machines that have been added in the last round
    to the list of builds.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • The clk_xusbxti clock is added to the list of clocks to be
    registred during boot time clock registration.

    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim
    [ben-linux@fluff.org: edited title]
    Signed-off-by: Ben Dooks

    Thomas Abraham
     
  • Add the USB OTG HCLK clock to the list of clocks to be registered
    during initialization.

    Signed-off-by: Thomas Abraham
    Signed-off-by: Kukjin Kim
    Signed-off-by: Ben Dooks

    Thomas Abraham
     
  • Update the documentation on the gpio configuration calls to add more
    references to useful information and also to document the values that
    are passed.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Fix typo in s3c_gpio_cfgpin() documentation, the second argument is @to
    not @pin again.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • We don't name our generic fsync implementations very well currently.
    The no-op implementation for in-memory filesystems currently is called
    simple_sync_file which doesn't make too much sense to start with,
    the the generic one for simple filesystems is called simple_fsync
    which can lead to some confusion.

    This patch renames the generic file fsync method to generic_file_fsync
    to match the other generic_file_* routines it is supposed to be used
    with, and the no-op implementation to noop_fsync to make it obvious
    what to expect. In addition add some documentation for both methods.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • TS_POLLING set tells the scheduler an idle_task will poll
    need_resched() to look for work.

    TS_POLLING clear tells resched_task() and wake_up_idle_cpu()
    that the remote CPU's idle_task is now sleeping in idle,
    and thus requires a reschedule interrupt notice work.

    Update the description of TS_POLLING to reflect how it works.
    "idle task polling need_resched, skip sending interrupt"

    Wordsmithing-by: Milton Miller
    Signed-off-by: Len Brown
    Acked-by: Peter Zijlstra

    Len Brown
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Fix build breakage

    Linus Torvalds
     
  • In commit 0ac0c0d0f837c499afd02a802f9cf52d3027fa3b
    cpusets: randomize node rotor used in cpuset_mem_spread_node()

    Jack Steiner fixed a problem with too many small tasks being
    assigned to node 0. Copy his code to ia64 to avoid build error.

    arch/ia64/kernel/smpboot.c:641: error: ‘cpu_to_node_map’ undeclared (first use in this function)

    In commit 3bccd996276b108c138e8176793a26ecef54d573
    numa: ia64: use generic percpu var numa_node_id() implementation

    Lee Schermerhorn added some set_numa_node() calls - but these
    only work on CONFIG_NUMA=y configurations. Surround the calls
    with #ifdef CONFIG_NUMA

    Signed-off-by: Tony Luck

    Tony Luck
     
  • …git/tip/linux-2.6-tip

    * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (61 commits)
    tracing: Add __used annotation to event variable
    perf, trace: Fix !x86 build bug
    perf report: Support multiple events on the TUI
    perf annotate: Fix up usage of the build id cache
    x86/mmiotrace: Remove redundant instruction prefix checks
    perf annotate: Add TUI interface
    perf tui: Remove annotate from popup menu after failure
    perf report: Don't start the TUI if -D is used
    perf: Fix getline undeclared
    perf: Optimize perf_tp_event_match()
    perf: Remove more code from the fastpath
    perf: Optimize the !vmalloc backed buffer
    perf: Optimize perf_output_copy()
    perf: Fix wakeup storm for RO mmap()s
    perf-record: Share per-cpu buffers
    perf-record: Remove -M
    perf: Ensure that IOC_OUTPUT isn't used to create multi-writer buffers
    perf, trace: Optimize tracepoints by using per-tracepoint-per-cpu hlist to track events
    perf, trace: Optimize tracepoints by removing IRQ-disable from perf/tracepoint interaction
    perf tui: Allow disabling the TUI on a per command basis in ~/.perfconfig
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
    gta02: Use pcf50633 backlight driver instead of platform backlight driver.
    backlight: pcf50633: Register a pcf50633-backlight device in pcf50633 core driver.
    backlight: Add pcf50633 backlight driver
    backlight: 88pm860x_bl: fix error handling in pm860x_backlight_probe
    backlight: max8925_bl: Fix error handling path
    backlight: l4f00242t03: fix error handling in l4f00242t03_probe
    backlight: add S6E63M0 AMOLED LCD Panel driver
    backlight: adp8860: add support for ADP8861 & ADP8863
    backlight: mbp_nvidia_bl - Fix DMI_SYS_VENDOR for MacBook1,1
    backlight: Add Cirrus EP93xx backlight driver
    backlight: l4f00242t03: Fix regulators handling code in remove function
    backlight: fix adp8860_bl build errors
    backlight: new driver for the ADP8860 backlight parts
    backlight: 88pm860x_bl - potential memory leak
    backlight: mbp_nvidia_bl - add support for older MacBookPro and MacBook 6,1.
    backlight: Kconfig cleanup
    backlight: backlight_device_register() return ERR_PTR()

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: Add mx31moboard MC13783 led support
    leds: Add mc13783 LED support
    leds: leds-ss4200: fix led_classdev_unregister twice in error handling
    leds: leds-lp3944: properly handle lp3944_configure fail in lp3944_probe
    leds: led-class: set permissions on max_brightness file to 0444
    leds: leds-gpio: Change blink_set callback to be able to turn off blinking
    leds: Add LED driver for the Soekris net5501 board
    leds: 88pm860x - fix checking in probe function

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6:
    [S390] fill out file list in s390 MAINTAINERS entry
    [S390] Add support for LZO-compressed kernels.
    [S390] cmm: get rid of CMM_PROC config option
    [S390] cmm: remove superfluous EXPORT_SYMBOLs plus cleanups
    [S390] dasd: unit check handling during internal cio I/O
    [S390] cio: unit check handling during internal I/O
    [S390] ccwgroup: add locking around drvdata access
    [S390] cio: remove stsch
    [S390] spp: remove KVM_AWARE_CMF config option
    [S390] kprobes: forbid probing of stnsm/stosm/epsw
    [S390] spp: fix compilation for CONFIG_32BIT
    [S390] atomic: implement atomic64_dec_if_positive
    [S390] cmm: fix crash on module unload

    Linus Torvalds
     
  • * 'for-linus/2634-git-updates' of git://git.fluff.org/bjdooks/linux:
    ARM: S5PC100: Fixup cross tree merge problems
    ARM: S5P: Fix the platform external interrupt issues.
    ARM: s5pv210_defconfig: Update s5pv210_defconfig to v2.6.34-git
    ARM: s5pc110_defconfig: Update s5pc110_defconfig to v2.6.34-git
    ARM: s5pc100_defconfig: Update s5pc100_defconfig to v2.6.34-git
    ARM: s5p6442_defconfig: Update s5p6442_defconfig to v2.6.34-git
    ARM: s5p6440_defconfig: Update s5p6440_defconfig to v2.6.34-git
    ARM: s3c6400_defconfig: Update s3c6400_defconfig to v2.6.34-git
    ARM: s3c2410_defconfig: Update s3c2410_defconfig to v2.6.34-git

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (24 commits)
    m68k: amiga - RTC platform device conversion
    m68k: amiga - Parallel port platform device conversion
    m68k: amiga - Serial port platform device conversion
    m68k: amiga - Mouse platform device conversion
    m68k: amiga - Keyboard platform device conversion
    m68k: amiga - Amiga Gayle IDE platform device conversion
    m68k: amiga - A4000T SCSI platform device conversion
    m68k/scsi: a3000 - Do not use legacy Scsi_Host.base
    m68k: amiga - A3000 SCSI platform device conversion
    m68k/scsi: gvp11 - Do not use legacy Scsi_Host.base
    m68k: amiga - GVP Series II SCSI zorro_driver conversion
    m68k/scsi: a2091 - Do not use legacy Scsi_Host.base
    m68k: amiga - A2091/A590 SCSI zorro_driver conversion
    m68k/scsi: mvme147 - Kill obsolete HOSTS_C logic
    m68k/scsi: a3000 - Kill a3000_scsiregs typedef
    m68k/scsi: gvp11 - Kill gvp11_scsiregs typedef
    m68k/scsi: a2091 - Kill a2091_scsiregs typedef
    m68k/scsi: gvp11 - Extract check_wd33c93()
    m68k/scsi: a3000 - Kill static global a3000_host
    m68k/scsi: mvme147 - Kill static global mvme147_host
    ...

    Linus Torvalds
     
  • Enable 'HAVE_MEMORYLESS_NODES' by default when NUMA configured on ia64.
    Initialize percpu 'numa_mem' variable when starting secondary cpus.
    Generic initialization will handle the boot cpu.

    Nothing uses 'numa_mem_id()' yet. Subsequent patch with modify slab to
    use this.

    Signed-off-by: Lee Schermerhorn
    Cc: Tejun Heo
    Cc: Mel Gorman
    Cc: Christoph Lameter
    Cc: Nick Piggin
    Cc: David Rientjes
    Cc: Eric Whitney
    Cc: KAMEZAWA Hiroyuki
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: "Luck, Tony"
    Cc: Pekka Enberg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • ia64: Use generic percpu implementation of numa_node_id()
    + intialize per cpu 'numa_node'
    + remove ia64 cpu_to_node() macro; use generic
    + define CONFIG_USE_PERCPU_NUMA_NODE_ID when NUMA configured

    Signed-off-by: Lee Schermerhorn
    Reviewed-by: Christoph Lameter
    Cc: Tejun Heo
    Cc: Mel Gorman
    Cc: Christoph Lameter
    Cc: Nick Piggin
    Cc: David Rientjes
    Cc: Eric Whitney
    Cc: KAMEZAWA Hiroyuki
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: "Luck, Tony"
    Cc: Pekka Enberg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • x86 arch specific changes to use generic numa_node_id() based on generic
    percpu variable infrastructure. Back out x86's custom version of
    numa_node_id()

    Signed-off-by: Lee Schermerhorn
    Cc: Tejun Heo
    Cc: Mel Gorman
    Cc: Christoph Lameter
    Cc: Nick Piggin
    Cc: David Rientjes
    Cc: Eric Whitney
    Cc: KAMEZAWA Hiroyuki
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: "Luck, Tony"
    Cc: Pekka Enberg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • Rework the generic version of the numa_node_id() function to use the new
    generic percpu variable infrastructure.

    Guard the new implementation with a new config option:

    CONFIG_USE_PERCPU_NUMA_NODE_ID.

    Archs which support this new implemention will default this option to 'y'
    when NUMA is configured. This config option could be removed if/when all
    archs switch over to the generic percpu implementation of numa_node_id().
    Arch support involves:

    1) converting any existing per cpu variable implementations to use
    this implementation. x86_64 is an instance of such an arch.
    2) archs that don't use a per cpu variable for numa_node_id() will
    need to initialize the new per cpu variable "numa_node" as cpus
    are brought on-line. ia64 is an example.
    3) Defining USE_PERCPU_NUMA_NODE_ID in arch dependent Kconfig--e.g.,
    when NUMA is configured. This is required because I have
    retained the old implementation by default to allow archs to
    be modified incrementally, as desired.

    Subsequent patches will convert x86_64 and ia64 to use this implemenation.

    Signed-off-by: Lee Schermerhorn
    Cc: Tejun Heo
    Cc: Mel Gorman
    Reviewed-by: Christoph Lameter
    Cc: Nick Piggin
    Cc: David Rientjes
    Cc: Eric Whitney
    Cc: KAMEZAWA Hiroyuki
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: "Luck, Tony"
    Cc: Pekka Enberg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • Signed-off-by: Jan Blunck
    Cc: Frederic Weisbecker
    Cc: David Howells
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • parisc uses iova and iova_length in scatterlist structure instead of
    dma_address and dma_length. However, the accessor are used so we can
    convert parisc to use asm-generic/scatterlist.h easily.

    Signed-off-by: FUJITA Tomonori
    Cc: Kyle McMartin
    Cc: Helge Deller
    Cc: James E.J. Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Signed-off-by: FUJITA Tomonori
    Cc: David Howells
    Cc: Koichi Yasutake
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Signed-off-by: FUJITA Tomonori
    Cc: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Signed-off-by: FUJITA Tomonori
    Cc: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori