10 Jul, 2007

1 commit

  • the SMP load-balancer uses the boot-time migration-cost estimation
    code to attempt to improve the quality of balancing. The reason for
    this code is that the discrete priority queues do not preserve
    the order of scheduling accurately, so the load-balancer skips
    tasks that were running on a CPU 'recently'.

    this code is fundamental fragile: the boot-time migration cost detector
    doesnt really work on systems that had large L3 caches, it caused boot
    delays on large systems and the whole cache-hot concept made the
    balancing code pretty undeterministic as well.

    (and hey, i wrote most of it, so i can say it out loud that it sucks ;-)

    under CFS the same purpose of cache affinity can be achieved without
    any special cache-hot special-case: tasks are sorted in the 'timeline'
    tree and the SMP balancer picks tasks from the left side of the
    tree, thus the most cache-cold task is balanced automatically.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

28 Jun, 2007

1 commit


02 Jun, 2007

1 commit


31 May, 2007

1 commit

  • Update documentation to describe how to read a SLUB error report.
    Add slub parameters to Documentation/kernel-parameters.

    Signed-off-by: Christoph Lameter
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     

30 May, 2007

1 commit

  • The boot option "acpi_osi=" has always disabled Linux _OSI support,
    thus disabling all OS Interface strings which are advertised
    by Linux to the BIOS.

    Now...
    acpi_osi="string" adds the interface string, and
    acpi_osi="!string" invalidates the pre-defined interface string

    eg. acpi_osi="!Windows 2006"
    would disable Linux's claim of Vista compatibility.

    Signed-off-by: Len Brown

    Len Brown
     

24 May, 2007

1 commit

  • Document the available clocksources per platform and move clocksource= into
    the correct (alpha) location in the file.

    Signed-off-by: Randy Dunlap
    Acked-by: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

10 May, 2007

1 commit


09 May, 2007

3 commits

  • Add description to Documentation/kernel-parameters.txt on new options
    default_blue, default_grn, default_red, and default_utf8.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Make x86 COM ports into platform devices and don't probe for them
    if we have PNP.

    This prevents double discovery, where a device was found both by
    the legacy probe and by 8250_pnp, e.g.,

    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

    This also means IRDA devices without a UART PNP ID will no longer be
    claimed by the serial driver, which might require changes in IRDA
    drivers and administration.

    In addition to this patch, you may need to configure a setserial init
    script, e.g., /etc/init.d/setserial, so it doesn't poke legacy UART
    stuff back in. On Debian, "dpkg-reconfigure setserial" with the "kernel"
    option does this.

    To force the old legacy probe behavior even when we have PNPBIOS or
    ACPI, load the new legacy_serial module (or build 8250 static) with
    the "legacy_serial.force" option.

    [akpm@linux-foundation.org: fix makefiles]
    Signed-off-by: Bjorn Helgaas
    Cc: Keith Owens
    Cc: Len Brown
    Cc: Adam Belay
    Cc: Matthieu CASTET
    Cc: Jean Tourrilhes
    Cc: Matthew Garrett
    Cc: Ville Syrjala
    Cc: Russell King
    Cc: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     
  • Claim devices using PNP, unless the user explicitly specified device
    addresses. This can be disabled with the "smsc-ircc2.nopnp" option.

    This removes the need for probing legacy addresses and helps untangle IR
    devices from serial8250 devices.

    Sometimes the SMC device is at a legacy COM port address but does not use the
    legacy COM IRQ. In this case, claiming the device using PNP rather than 8250
    legacy probe means we can automatically use the correct IRQ rather than
    forcing the user to use "setserial" to set the IRQ manually.

    If the PNP claim doesn't work, make sure you don't have a setserial init
    script, e.g., /etc/init.d/setserial, configured to poke in legacy COM port
    resources for the IRDA device. That causes the serial driver to claim
    resources needed by this driver.

    Based on this patch by Ville Syrjälä:
    http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/ir260_smsc_pnp.diff

    Signed-off-by: Bjorn Helgaas
    Cc: Keith Owens
    Cc: Len Brown
    Cc: Adam Belay
    Cc: Matthieu CASTET
    Cc: Jean Tourrilhes
    Cc: Matthew Garrett
    Cc: Ville Syrjala
    Cc: Russell King
    Acked-by: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     

03 May, 2007

4 commits

  • Add "noreplace-paravirt" to disable paravirt_ops patching.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Andi Kleen
    Cc: Rusty Russell
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Jeremy Fitzhardinge
     
  • Add "noreplace-smp" to disable SMP instruction replacement.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Andi Kleen

    Jeremy Fitzhardinge
     
  • It doesn't put the CPU into deeper sleep states, so it's better to use the standard
    idle loop to save power. But allow to reenable it anyways for benchmarking.

    I also removed the obsolete idle=halt on i386

    Cc: andreas.herrmann@amd.com

    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Now that relocation of the VDSO for COMPAT_VDSO users is done at
    runtime rather than compile time, it is possible to enable/disable
    compat mode at runtime.

    This patch allows you to enable COMPAT_VDSO mode with "vdso=2" on the
    kernel command line, or via sysctl. (Switching on a running system
    shouldn't be done lightly; any process which was relying on the compat
    VDSO will be upset if it goes away.)

    The COMPAT_VDSO config option still exists, but if enabled it just
    makes vdso_enabled default to VDSO_COMPAT.

    +From: Hugh Dickins

    Fix oops from i386-make-compat_vdso-runtime-selectable.patch.

    Even mingetty at system startup finds it easy to trigger an oops
    while reading /proc/PID/maps: though it has a good hold on the mm
    itself, that cannot stop exit_mm() from resetting tsk->mm to NULL.

    (It is usually show_map()'s call to get_gate_vma() which oopses,
    and I expect we could change that to check priv->tail_vma instead;
    but no matter, even m_start()'s call just after get_task_mm() is racy.)

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Andi Kleen
    Cc: Zachary Amsden
    Cc: "Jan Beulich"
    Cc: Eric W. Biederman
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Roland McGrath

    Jeremy Fitzhardinge
     

30 Apr, 2007

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (105 commits)
    sonypi: use mutex instead of semaphore
    sony-laptop: remove user visible camera controls as platform attributes
    meye: make meye use sony-laptop instead of sonypi
    sony-laptop: add a meye-usable include file for camera ops
    sony-laptop: complete the motion eye camera support in sony-laptop
    sonypi: try to detect if sony-laptop has already taken one of the known ioports
    sonypi: suggest sonypi users to try sony-laptop instead
    sony-laptop: add edge modem support (also called WWAN)
    sony-laptop: add locking on accesses to the ioport and global vars
    sony-laptop: add camera enable/disable parameter, better handle possible infinite loop
    thinkpad-acpi: make drivers/misc/thinkpad_acpi:fan_mutex static
    ACPI: thinkpad-acpi: add sysfs support to wan and bluetooth subdrivers
    ACPI: thinkpad-acpi: add sysfs support to hotkey subdriver
    ACPI: thinkpad-acpi: improve dock subdriver initialization
    ACPI: thinkpad-acpi: improve debugging for acpi helpers
    ACPI: thinkpad-acpi: improve fan control documentation
    ACPI: thinkpad-acpi: map ENXIO to EINVAL for fan sysfs
    ACPI: thinkpad-acpi: fix a fan watchdog invocation
    ACPI: thinkpad-acpi: do not arm fan watchdog if it would not work
    ACPI: thinkpad-acpi: add a fan-control feature master toggle
    ...

    Linus Torvalds
     

28 Apr, 2007

1 commit

  • This patch (as867) adds an entry for the new power/autosuspend
    attribute in Documentation/ABI/testing, and it changes the behavior of
    the delay value. Now a delay of 0 means to autosuspend as soon as
    possible, and negative values will prevent autosuspend.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

25 Apr, 2007

1 commit


31 Mar, 2007

1 commit


24 Mar, 2007

2 commits

  • Needed for any architecture that claims ARCH_APICTIMER_STOPS_ON_C3,
    not just i386.

    I'm hoping Thomas will clean this up a bit later..

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • It turned out that it is almost impossible to trust ACPI, BIOS & Co.
    regarding the C states. This was the reason to switch the local apic
    timer off in C2 state already. OTOH there are sane and well behaving
    systems, which get punished by that decision.

    Allow the user to confirm that the local apic timer is trustworthy in C2
    state. This keeps the default behaviour on the safe side.

    Signed-off-by: Thomas Gleixner
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     

23 Mar, 2007

2 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: IA64: fix %ll build warnings
    ACPI: IA64: fix allnoconfig build
    ACPI: Only use IPI on known broken machines (AMD, Dothan/BaniasPentium M)
    ACPI: ibm-acpi: allow module to load when acpi notifiers can't be set (v2)
    ACPI: parse 2nd MADT by default
    ACPICA: revert "acpi_serialize" changes
    sony-laptop: MAINTAINERS fix entry, add L: and W:
    ACPI: resolve HP nx6125 S3 immediate wakeup regression
    ACPI: Add support to parse 2nd MADT

    Linus Torvalds
     
  • The local APIC timer stops to work in deeper C-States. This is handled by
    the ACPI code and a broadcast mechanism in the clockevents / tick managment
    code.

    Some systems do not expose the deeper C-States to the kernel, but switch
    into deeper C-States behind the kernels back. This delays the local apic
    timer interrupts for ever and makes the systems unusable.

    Add a command line option to disable the local apic timer and a dmi
    quirk for known broken systems.

    Andi sayeth:

    While not wrong by itself i think it is still better to use some heuristic
    -- like "has battery in ACPI" With the DMI table if the problem is more wide
    spread we will just continue extending it.

    But anyways should be ok now for .21 although I'm not really happy with
    it.

    Signed-off-by: Thomas Gleixner
    Acked-by: Ingo Molnar
    Cc: john stultz
    Grudgingly-acked-by: Andi Kleen
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     

15 Mar, 2007

1 commit


11 Mar, 2007

1 commit

  • When a BIOS bug presents multiple APIC/MADTs,
    Linux currently uses the 1st and ignores the 2nd.

    But some machines work better if we use the 2nd.

    http://bugzilla.kernel.org/show_bug.cgi?id=7465

    Add a warning and boot parameter "acpi_apic_instance=2"
    to allow parsing the 2nd.

    No change to default behaviour in this patch.

    Signed-off-by: Len Brown

    Len Brown
     

10 Mar, 2007

1 commit


08 Mar, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
    sh: Kill off I/O cruft for R7780RP.
    sh: Revert lazy dcache writeback changes.
    sh: Enable SM501 support for RTS7751R2D.
    sh: Use L1_CACHE_BYTES for .data.cacheline_aligned.
    sysctl: Support vdso_enabled sysctl on SH.
    sh: Fix kernel thread stack corruption with preempt.
    doc: Add SH to vdso and earlyprintk in kernel-parameters.txt
    sh: Fix sigmask trampling in signal delivery.
    sh: Clear UBC when not in use.

    Linus Torvalds
     

07 Mar, 2007

2 commits

  • Signed-off-by: Bernhard Walle
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Bernhard Walle
     
  • Provide a module param "pool_mode" for sunrpc.ko which allows a sysadmin to
    choose the mode for mapping NFS thread service pools to CPUs. Values are:

    auto choose a mapping mode heuristically
    global (default, same as the pre-2.6.19 code) a single global pool
    percpu one pool per CPU
    pernode one pool per NUMA node

    Note that since 2.6.19 the hardcoded behaviour has been "auto", this patch
    makes the default "global".

    The pool mode can be changed after boot/modprobe using /sys, if the NFS and
    lockd services have been shut down. A useful side effect of this change is to
    fix a small memory leak when unloading the module.

    Signed-off-by: Greg Banks
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Greg Banks
     

05 Mar, 2007

1 commit


24 Feb, 2007

1 commit

  • This patch (as859) makes the default USB autosuspend delay a module
    parameter of usbcore. By setting the delay value at boot time, users
    will be able to prevent the system from autosuspending devices which
    for some reason can't handle it.

    The patch also stores the autosuspend delay as a per-device value. A
    later patch will allow the user to change the value, tailoring the
    delay for each individual device. A delay value of 0 will prevent
    autosuspend.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

20 Feb, 2007

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (25 commits)
    Documentation/kernel-docs.txt update.
    arch/cris: typo in KERN_INFO
    Storage class should be before const qualifier
    kernel/printk.c: comment fix
    update I/O sched Kconfig help texts - CFQ is now default, not AS.
    Remove duplicate listing of Cris arch from README
    kbuild: more doc. cleanups
    doc: make doc. for maxcpus= more visible
    drivers/net/eexpress.c: remove duplicate comment
    add a help text for BLK_DEV_GENERIC
    correct a dead URL in the IP_MULTICAST help text
    fix the BAYCOM_SER_HDX help text
    fix SCSI_SCAN_ASYNC help text
    trivial documentation patch for platform.txt
    Fix typos concerning hierarchy
    Fix comment typo "spin_lock_irqrestore".
    Fix misspellings of "agressive".
    drivers/scsi/a100u2w.c: trivial typo patch
    Correct trivial typo in log2.h.
    Remove useless FIND_FIRST_BIT() macro from cardbus.c.
    ...

    Linus Torvalds
     
  • * 'acpi' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    [PATCH] libata: wrong sizeof for BUFFER
    [PATCH] libata: change order of _SDD/_GTF execution (resend #3)
    [PATCH] libata: ACPI _SDD support
    [PATCH] libata: ACPI and _GTF support

    Linus Torvalds
     

18 Feb, 2007

1 commit


17 Feb, 2007

4 commits

  • CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might
    result in allocation failure for the reserving itself on some platforms
    (for example typical 32bit MIPS). Make it (and CARDBUS_IO_SIZE too)
    customizable by "pci=" option for such platforms.

    Signed-off-by: Atsushi Nemoto
    Cc: Daniel Ritz
    Cc: Ralf Baechle
    Cc: Ivan Kokshaysky
    Cc: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Atsushi Nemoto
     
  • _GTF is an acpi method that is used to reinitialize the drive. It returns
    a task file containing ata commands that are sent back to the drive to restore
    it to boot up defaults.

    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Jeff Garzik
    (cherry picked from 9c69cab24b51a89664f4c0dfaf8a436d32117624 commit)

    Kristen Carlson Accardi
     
  • Implement high resolution timers on top of the hrtimers infrastructure and the
    clockevents / tick-management framework. This provides accurate timers for
    all hrtimer subsystem users.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: john stultz
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • With Ingo Molnar

    Add functions to provide dynamic ticks and high resolution timers. The code
    which keeps track of jiffies and handles the long idle periods is shared
    between tick based and high resolution timer based dynticks. The dyntick
    functionality can be disabled on the kernel commandline. Provide also the
    infrastructure to support high resolution timers.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: john stultz
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     

13 Feb, 2007

2 commits

  • Sometimes developers need to see more object code in an oops report,
    e.g. when kernel may be corrupted at runtime.

    Add the "code_bytes" option for this.

    Signed-off-by: Chuck Ebbert
    Signed-off-by: Andi Kleen
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Chuck Ebbert
     
  • - add SWIOTLB config help text
    - mention Documentation/x86_64/boot-options.txt in
    Documentation/kernel-parameters.txt
    - remove the duplication of the iommu kernel parameter documentation.
    - Better explanation of some of the iommu kernel parameter options.
    - "32MB<
    Signed-off-by: Andi Kleen
    Acked-by: Muli Ben-Yehuda
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Karsten Weiss
     

12 Feb, 2007

1 commit

  • Add retain_initrd option to control freeing of initrd memory after
    extraction. By default, free memory as previously.

    The first boot will need to hold a copy of the in memory fs for the second
    boot. This image can be large (much larger than the kernel), hence we can
    save time when the memory loader is slow. Also, it reduces the memory
    footprint while extracting the first boot since you don't need another copy
    of the fs.

    Signed-off-by: Michael Neuling
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Neuling