26 Nov, 2006

1 commit

  • This updates the RTC documentation to summarize the two APIs now available:
    the old PC/AT one, and the new RTC class drivers. It also updates the
    included "rtctest.c" file to better meet Linux style guidelines, and to work
    with the new RTC drivers.

    Signed-off-by: David Brownell
    Acked-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

17 Nov, 2006

2 commits


15 Nov, 2006

1 commit


14 Nov, 2006

1 commit

  • Timer overrides are normally disabled on Nvidia board because
    they are commonly wrong, except on new ones with HPET support.
    Unfortunately there are quite some Asus boards around that
    don't have HPET, but need a timer override.

    We don't know yet how to handle this transparently,
    but at least add a command line option to force the timer override
    and let them boot.

    Cc: len.brown@intel.com

    Signed-off-by: Andi Kleen

    Andi Kleen
     

09 Nov, 2006

2 commits

  • The basic issue is that despite have been deprecated and warned about as a
    very bad thing in the man pages since its inception there are a few real
    users of sys_sysctl. It was my assumption that because sysctl had been
    deprecated for all of 2.6 there would be no user space users by this point,
    so I initially gave sys_sysctl a very short deprecation period.

    Now that I know there are a few real users the only sane way to proceed
    with deprecation is to push the time limit out to a year or two work and
    work with distributions that have big testing pools like fedora core to
    find these last remaining users.

    Which means that the sys_sysctl interface needs to be maintained in the
    meantime.

    Since I have provided a technical measure that allows us to add new sysctl
    entries without reserving more binary numbers I believe that is enough to
    fix the sys_sysctl binary interface maintenance problems, because there is
    no longer a need to change the binary interface at all.

    Since the sys_sysctl implementation needs to stay around for a while and
    the worst of the maintenance issues that caused us to occasionally break
    the ABI have been addressed I don't see any advantage in continuing with
    the removal of sys_sysctl.

    So instead of merely increasing the deprecation period this patch removes
    the deprecation of sys_sysctl and modifies the kernel to compile the code
    in by default.

    With committing to maintain sys_sysctl we get all of the advantages of a
    fast interface for anything that needs it. Currently sys_sysctl is about
    5x faster than /proc/sys, for the same string data.

    Signed-off-by: Eric W. Biederman
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • set_mb() is used by set_current_state() which needs mb(), not wmb(). I
    think it would be right to assume that set_mb() implies mb(), all arches
    seem to do just this.

    Signed-off-by: Oleg Nesterov
    Acked-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     

04 Nov, 2006

6 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6:
    USB: use MII hooks only if CONFIG_MII is enabled
    USB Storage: unusual_devs.h entry for Sony Ericsson P990i
    USB: xpad: additional USB id's added
    USB: fix compiler issues with newer gcc versions
    USB: HID: add blacklist AIRcable USB, little beautification
    USB: usblp: fix system suspend for some systems
    USB: failure in usblp's error path
    usbtouchscreen: use endpoint address from endpoint descriptor
    USB: sierra: Fix id for Sierra Wireless MC8755 in new table
    USB: new VID/PID-combos for cp2101
    hid-core: big-endian fix fix
    USB: usb-storage: Unusual_dev update
    USB: add another sierra wireless device id

    Linus Torvalds
     
  • getdelays reports a "fatal reply error, errno 258". We don't have enough room
    for multi-threaded exit (PID + TGID).

    Signed-off-by: Oleg Nesterov
    Cc: Balbir Singh
    Cc: Shailabh Nagar
    Cc: Jay Lan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     
  • Add a swsusp debugging mode. This does everything that's needed for a suspend
    except for actually suspending. So we can look in the log messages and work
    out a) what code is being slow and b) which drivers are misbehaving.

    (1)
    # echo testproc > /sys/power/disk
    # echo disk > /sys/power/state

    This should turn off the non-boot CPU, freeze all processes, wait for 5
    seconds and then thaw the processes and the CPU.

    (2)
    # echo test > /sys/power/disk
    # echo disk > /sys/power/state

    This should turn off the non-boot CPU, freeze all processes, shrink
    memory, suspend all devices, wait for 5 seconds, resume the devices etc.

    Cc: Pavel Machek
    Cc: Stefan Seyfried
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • Move journal-api into filesystems.tmpl as a Chapter. Applies on top of the
    previous docbook: make a filesystems book patch.

    Remove trailing whitespace from journal-api chapter. Align some of the
    tags.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Correct a few comments in kernel-doc Doc and source files.

    (akpm: note: the patch removes a non-ascii character and might have to be
    applied by hand..)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • This patch add AIRcable USBto USB-HID blacklist, makes some little
    changes things in the Kconfig to make AIRcable USB look as all the rest
    of drivers. And it removes the readme part that was on
    Documentation/usb/usb-serial.txt because it is not needed anymore.

    Signed-off-by: Naranjo Manuel Francisco

    Naranjo Manuel Francisco
     

01 Nov, 2006

1 commit

  • Since we already moved to GENERIC_TIME, we should implement alternatives
    of old do_gettimeoffset routines to get sub-jiffies resolution from
    gettimeofday(). This patch includes:

    * MIPS clocksource support (based on works by Manish Lachwani).
    * remove unused gettimeoffset routines and related codes.
    * remove unised 64bit do_div64_32().
    * simplify mips_hpt_init. (no argument needed, __init tag)
    * simplify c0_hpt_timer_init. (no need to write to c0_count)
    * remove some hpt_init routines.
    * mips_hpt_mask variable to specify bitmask of hpt value.
    * convert jmr3927_do_gettimeoffset to jmr3927_hpt_read.
    * convert ip27_do_gettimeoffset to ip27_hpt_read.
    * convert bcm1480_do_gettimeoffset to bcm1480_hpt_read.
    * simplify sb1250 hpt functions. (no need to subtract and shift)

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     

31 Oct, 2006

1 commit

  • Make a filesystems DocBook book/file by moving all filesystems info from
    kernel-api.tmpl. Will also merge journal-api.tmpl into it soon (with
    permission from Roger Gammans). Localizes filesystem info and reduces size
    of the huge (produced) kernel-api output files.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

24 Oct, 2006

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: (33 commits)
    [WATCHDOG] remove experimental on iTCO_wdt.c
    [WATCHDOG] Atmel AT91RM9200 rename.
    [WATCHDOG] includes for sample watchdog program.
    [WATCHDOG] watchdog/iTCO_wdt: fix bug related to gcc uninit warning
    [WATCHDOG] add ich8 support to iTCO_wdt.c (patch 2)
    [WATCHDOG] add ich8 support to iTCO_wdt.c
    [WATCHDOG] ioremap balanced with iounmap for drivers/char/watchdog/s3c2410_wdt.c
    [WATCHDOG] w83697hf/hg WDT driver - Kconfig patch
    [WATCHDOG] w83697hf/hg WDT driver - autodetect patch
    [WATCHDOG] w83697hf/hg WDT driver - patch 16
    [WATCHDOG] w83697hf/hg WDT driver - patch 15
    [WATCHDOG] w83697hf/hg WDT driver - patch 14
    [WATCHDOG] w83697hf/hg WDT driver - patch 13
    [WATCHDOG] w83697hf/hg WDT driver - patch 12
    [WATCHDOG] w83697hf/hg WDT driver - patch 11
    [WATCHDOG] w83697hf/hg WDT driver - patch 10
    [WATCHDOG] w83697hf/hg WDT driver - patch 9
    [WATCHDOG] w83697hf/hg WDT driver - patch 8
    [WATCHDOG] w83697hf/hg WDT driver - patch 7
    [WATCHDOG] w83697hf/hg WDT driver - patch 6
    ...

    Linus Torvalds
     

22 Oct, 2006

1 commit


21 Oct, 2006

2 commits


19 Oct, 2006

12 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/hwmon-2.6:
    hwmon: Fix debug messages in w83781d
    hwmon: Let w83781d and lm78 load again
    w83627ehf: Fix the detection of fan5
    k8temp: Documentation update
    smsc47m1: List the SMSC LPC47M112 as supported
    hwmon: Fix documentation typos
    adm9240: Update Grant Coady's email address
    w83791d: Fix unchecked return status

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6: (22 commits)
    PCI Hotplug: move pci_hotplug.h to include/linux/
    change pci hotplug subsystem maintainer to Kristen
    PCI: optionally sort device lists breadth-first
    cpcihp_generic: prevent loading without "bridge" parameter
    pci: Additional search functions
    PCI: quirks: switch quirks code offender to use pci_get API
    PCI: Update MSI-HOWTO.txt according to pci_msi_supported()
    PCI: Improve pci_msi_supported() comments
    PCI hotplug: ioremap balanced with iounmap
    shpchp: remove unnecessary cmd_busy member from struct controller
    shpchp: fix command completion check
    pci: Stamp out pci_find_* usage in fakephp
    PCI: fix pcie_portdrv_restore_config undefined without CONFIG_PM error
    Fix DMA resource allocation in ACPIPnP
    PCI: Turn pci_fixup_video into generic for embedded VGA
    PCI: add ICH7/8 ACPI/GPIO io resource quirks
    PCI: pcie-check-and-return-bus_register-errors fix
    PCI: VIA IRQ quirk behaviour change
    pciehp: Remove unnecessary check in pciehp_ctrl.c
    pciehp - add missing locking
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    driver core: kmalloc() failure check in driver_probe_device
    Driver core: bus: remove indentation level
    Driver core: Don't ignore error returns from probing
    Driver core: Don't leak 'old_class_name' in drivers/base/core.c::device_rename()
    driver core fixes: sysfs_create_group() retval in topology.c
    driver core fixes: device_create_file() retval check in dmapool.c
    driver core fixes: device_add() cleanup on error
    driver core fixes: bus_add_device() cleanup on error
    driver core fixes: bus_add_attrs() retval check
    driver core fixes: sysfs_create_link() retval check in class.c
    sysfs: update obsolete comment in sysfs_update_file
    sysfs: remove duplicated dput in sysfs_update_file
    HOWTO: bug report addition
    Fix dev_printk() is now GPL-only
    Driver core: plug device probe memory leak
    Documentation: feature-removal-schedule typo

    Linus Torvalds
     
  • Update the documentation for the k8temp driver.

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Rudolf Marek
     
  • The SMSC LPC47M112 Super-I/O chip appears to be compatible with the
    LPC47M10x and LPC47M13x as far as hardware monitoring is concerned.
    The device ID is even the same, so it's really only a documentation
    update.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Fix typos in hardware monitoring documentation.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Replace a bouncing email that I cannot recover from Mr Google.

    Signed-off-by: Grant Coady
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Grant Coady
     
  • I suspect that not many people is subscribed to the bugzilla mailing list,
    not surprising since the URLs doesn't seem to be in the tree :)

    After fixing my english, I wonder if the following patch could be applied...

    Signed-off-by: Diego Calleja
    Acked-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Diego Calleja
     
  • Fix typo in newly added feature remove schedule item.

    Signed-off-by: Dominik Brodowski
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Dominik Brodowski
     
  • Problem:
    New Dell PowerEdge servers have 2 embedded ethernet ports, which are
    labeled NIC1 and NIC2 on the chassis, in the BIOS setup screens, and
    in the printed documentation. Assuming no other add-in ethernet ports
    in the system, Linux 2.4 kernels name these eth0 and eth1
    respectively. Many people have come to expect this naming. Linux 2.6
    kernels name these eth1 and eth0 respectively (backwards from
    expectations). I also have reports that various Sun and HP servers
    have similar behavior.

    Root cause:
    Linux 2.4 kernels walk the pci_devices list, which happens to be
    sorted in breadth-first order (or pcbios_find_device order on i386,
    which most often is breadth-first also). 2.6 kernels have both the
    pci_devices list and the pci_bus_type.klist_devices list, the latter
    is what is walked at driver load time to match the pci_id tables; this
    klist happens to be in depth-first order.

    On systems where, for physical routing reasons, NIC1 appears on a
    lower bus number than NIC2, but NIC2's bridge is discovered first in
    the depth-first ordering, NIC2 will be discovered before NIC1. If the
    list were sorted breadth-first, NIC1 would be discovered before NIC2.

    A PowerEdge 1955 system has the following topology which easily
    exhibits the difference between depth-first and breadth-first device
    lists.

    -[0000:00]-+-00.0 Intel Corporation 5000P Chipset Memory Controller Hub
    +-02.0-[0000:03-08]--+-00.0-[0000:04-07]--+-00.0-[0000:05-06]----00.0-[0000:06]----00.0 Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (labeled NIC2, 2.4 kernel name eth1, 2.6 kernel name eth0)
    +-1c.0-[0000:01-02]----00.0-[0000:02]----00.0 Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (labeled NIC1, 2.4 kernel name eth0, 2.6 kernel name eth1)

    Other factors, such as device driver load order and the presence of
    PCI slots at various points in the bus hierarchy further complicate
    this problem; I'm not trying to solve those here, just restore the
    device order, and thus basic behavior, that 2.4 kernels had.

    Solution:

    The solution can come in multiple steps.

    Suggested fix #1: kernel
    Patch below optionally sorts the two device lists into breadth-first
    ordering to maintain compatibility with 2.4 kernels. It adds two new
    command line options:
    pci=bfsort
    pci=nobfsort
    to force the sort order, or not, as you wish. It also adds DMI checks
    for the specific Dell systems which exhibit "backwards" ordering, to
    make them "right".

    Suggested fix #2: udev rules from userland
    Many people also have the expectation that embedded NICs are always
    discovered before add-in NICs (which this patch does not try to do).
    Using the PCI IRQ Routing Table provided by system BIOS, it's easy to
    determine which PCI devices are embedded, or if add-in, which PCI slot
    they're in. I'm working on a tool that would allow udev to name
    ethernet devices in ascending embedded, slot 1 .. slot N order,
    subsort by PCI bus/dev/fn breadth-first. It'll be possible to use it
    independent of udev as well for those distributions that don't use
    udev in their installers.

    Suggested fix #3: system board routing rules
    One can constrain the system board layout to put NIC1 ahead of NIC2
    regardless of breadth-first or depth-first discovery order. This adds
    a significant level of complexity to board routing, and may not be
    possible in all instances (witness the above systems from several
    major manufacturers). I don't want to encourage this particular train
    of thought too far, at the expense of not doing #1 or #2 above.

    Feedback appreciated. Patch tested on a Dell PowerEdge 1955 blade
    with 2.6.18.

    You'll also note I took some liberty and temporarily break the klist
    abstraction to simplify and speed up the sort algorithm. I think
    that's both safe and appropriate in this instance.

    Signed-off-by: Matt Domsch
    Signed-off-by: Greg Kroah-Hartman

    Matt Domsch
     
  • Update MSI-HOWTO.txt according to pci_msi_supported().

    Signed-off-by: Brice Goglin
    Signed-off-by: Greg Kroah-Hartman

    Brice Goglin
     
  • Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     

18 Oct, 2006

1 commit

  • Adds support for dance pads to the xpad driver. Dance pads require the
    d-pad to be mapped to four buttons instead of two axes, so that
    combinations of up/down and left/right can be hit simultaneously.
    Known dance pads are detected, and there is a module parameter added
    to default unknown xpad devices to map the d-pad to buttons if this is
    desired. (dpad_to_buttons). Minor modifications were made to port the
    changes in the original patch to a newer kernel version.

    This patch was originally from Dominic Cerquetti originally written
    for kernel 2.6.11.4, with minor modifications (API changes for USB,
    spelling fixes to the documentation added in the original patch) made
    to apply to the current kernel. I have modified Dominic's original
    patch per some suggestions from Dmitry Torokhov. (There was nothing
    in the patch format description about multiple From: lines, so I
    haven't added myself.)

    [akpm@osdl.org: cleanups]
    Signed-off-by: Adam Buchbinder
    Acked-by: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Dominic Cerquetti
     

16 Oct, 2006

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (28 commits)
    ACPI: check battery status on resume for un/plug events during sleep
    ACPICA: Fix incorrect handling of PCI Express Root Bridge _HID
    ACPI: asus_acpi: don't printk on writing garbage to proc files
    ACPI: asus_acpi: fix proc files parsing
    ACPI: SCI interrupt source override
    ACPI: fix printk format warnings
    ACPI: fix section for CPU init functions
    ACPI: update comments in motherboard.c
    ACPI: acpi_pci_link_set() can allocate with either GFP_ATOMIC or GFP_KERNEL
    ACPI: fix potential OOPS in power driver with CONFIG_ACPI_DEBUG
    ACPI: ibm_acpi: delete obsolete documentation
    ACPI: created a dedicated workqueue for notify() execution
    ACPI: Remove deferred execution from global lock acquire wakeup path
    MSI S270 Laptop support: backlight, wlan, bluetooth states
    ACPI: EC: export ec_transaction() for msi-laptop driver
    ACPI: EC: Simplify acpi_hw_low_level*() with inb()/outb().
    ACPI: EC: Unify poll and interrupt gpe handlers
    ACPI: EC: Unify poll and interrupt mode transaction functions
    ACPI: EC: Remove unused variables and duplicated code
    ACPI: EC: Remove unnecessary delay added by previous transation patch.
    ...

    Linus Torvalds
     

14 Oct, 2006

4 commits


13 Oct, 2006

1 commit


12 Oct, 2006

2 commits

  • I was looking at lockdep-desing.txt and i guess i am confused with the
    changes with respect to fd7bcea35e7efb108c34ee2b3840942a3749cadb. It
    says

    + '.' acquired while irqs enabled
    + '+' acquired in irq context
    + '-' acquired in process context with irqs disabled
    + '?' read-acquired both with irqs enabled and in irq context
    +

    But the get_usage_chars() function does this for '-'
    if (class->usage_mask & LOCKF_ENABLED_HARDIRQS)
    *c1 = '-';

    So i guess what would be correct would be
    '.' acquired while irqs disabled
    '+' acquired in irq context
    '-' acquired with irqs enabled
    '?' read acquired in irq context with irqs enabled.

    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Aneesh Kumar
     
  • The pipe-a-coredump-to-a-program feature was undocumented.
    *Grumble*.

    NB: a good enhancement to that patch would be: save all the stuff that a
    core file can get from the %x expansions in the environment.

    Signed-off-by: Matthias Urlichs
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthias Urlichs