30 Sep, 2006

14 commits

  • Add a note about "format=flowed" when sending patches and explain how to
    fix mozilla. Thunderbird has the similar options.

    Signed-off-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kirill Korotaev
     
  • * fix copright typo
    * remove trailing whitespace
    * remove Kernel Traffic from Resources. Zack, it was great reading!
    * Name Arjan by name and fix URL of "How to NOT" paper.
    * Remove "Last updated" tag.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • This cleans up SubmittingPatches a bit.

    Signed-off-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     
  • Mention Documenation/ABI/ requirements in Documentation/SubmitChecklist.

    Signed-off-by: Randy Dunlap
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • This patch (as776) adds a new chapter to Documentation/CodingStyle,
    explaining the circumstances under which a function should return 0 for
    failure and non-zero for success as opposed to a negative error code for
    failure and 0 for success.

    Signed-off-by: Alan Stern
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Stern
     
  • Change the list of memory nodes allowed to tasks in the top (root) nodeset
    to dynamically track what cpus are online, using a call to a cpuset hook
    from the memory hotplug code. Make this top cpus file read-only.

    On systems that have cpusets configured in their kernel, but that aren't
    actively using cpusets (for some distros, this covers the majority of
    systems) all tasks end up in the top cpuset.

    If that system does support memory hotplug, then these tasks cannot make
    use of memory nodes that are added after system boot, because the memory
    nodes are not allowed in the top cpuset. This is a surprising regression
    over earlier kernels that didn't have cpusets enabled.

    One key motivation for this change is to remain consistent with the
    behaviour for the top_cpuset's 'cpus', which is also read-only, and which
    automatically tracks the cpu_online_map.

    This change also has the minor benefit that it fixes a long standing,
    little noticed, minor bug in cpusets. The cpuset performance tweak to
    short circuit the cpuset_zone_allowed() check on systems with just a single
    cpuset (see 'number_of_cpusets', in linux/cpuset.h) meant that simply
    changing the 'mems' of the top_cpuset had no affect, even though the change
    (the write system call) appeared to succeed. With the following change,
    that write to the 'mems' file fails -EACCES, and the 'mems' file stubbornly
    refuses to be changed via user space writes. Thus no one should be mislead
    into thinking they've changed the top_cpusets's 'mems' when in affect they
    haven't.

    In order to keep the behaviour of cpusets consistent between systems
    actively making use of them and systems not using them, this patch changes
    the behaviour of the 'mems' file in the top (root) cpuset, making it read
    only, and making it automatically track the value of node_online_map. Thus
    tasks in the top cpuset will have automatic use of hot plugged memory nodes
    allowed by their cpuset.

    [akpm@osdl.org: build fix]
    [bunk@stusta.de: build fix]
    Signed-off-by: Paul Jackson
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Jackson
     
  • Fix "quiet" parameter doc. No trailing '=' sign, no value after it. And
    it disables "most" kernel messages, not all of them.

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

    Randy Dunlap
     
  • Add some documentation comments for the cdev interface.

    Signed-off-by: Jonathan Corbet
    Cc: Rolf Eike Beer
    Acked-by: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jonathan Corbet
     
  • Signed-off-by: jens m. noedler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    jens m. noedler
     
  • This code has suffered from broken core design and lack of developer
    attention. Broken security modules are too dangerous to leave around. It
    is time to remove this one.

    Signed-off-by: Chris Wright
    Acked-by: Michael Halcrow
    Acked-by: Serge Hallyn
    Cc: Davi Arnaut
    Acked-by: Greg Kroah-Hartman
    Acked-by: James Morris
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Wright
     
  • I was looking for the a way around an OOM-problem, and found a couple of
    undocumented new features for tuning the OOM-score of individual processes.
    Here's a small documentation patch for /proc//oom_adj and
    /proc//oom_score.

    Signed-off-by: Jan-Frode Myklebust
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan-Frode Myklebust
     
  • drivers/base/class.c is omitted by "make *docs". Add it to get
    documentation for class_create() and friends for free.

    Signed-off-by: Rolf Eike Beer
    Cc: Martin Waitz
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     
  • Move all VFS + filesystem docs together.

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

    Randy Dunlap
     
  • Add relay interface support to DocBook/kernel-api.tmpl. Fix typos etc. in
    relay.c and relayfs.txt.

    Signed-off-by: Randy Dunlap
    Acked-by: Tom Zanussi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

29 Sep, 2006

10 commits

  • Signed-off-by: Francesco Fondelli
    Signed-off-by: Robert Olsson
    Signed-off-by: David S. Miller

    Francesco Fondelli
     
  • hwmon: Remove Yuan Mu's address

    Yuan Mu no longer works at Winbond.

    I wish to publicly thank Yuan for his help with Winbond hardware
    monitoring chips support during the past 10 months.

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

    Jean Delvare
     
  • vt1211: Document module parameters

    Add a description of the module parameters to the documentation of
    the vt1211 driver.

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

    Juerg Haefliger
     
  • vt1211: Add documentation

    Add documentation for the new vt1211 hardware monitoring driver.

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

    Juerg Haefliger
     
  • w83791d: Documentation update

    The alarm bits and the beep enable bits are in different positions in
    the hardware. Document the problem and leave it to the user-space code
    to handle the situation. When this driver is updated to the standardized
    sysfs alarm/beep methodology, this won't be a problem.

    This is a documentation only change.

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

    Charles Spirakis
     
  • k8temp: Add documentation

    Add promised documentation for the k8temp driver.

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

    Rudolf Marek
     
  • it87: Copyright update

    I think my contributions to the it87 driver over the past two
    years qualify me as a co-author of this driver.

    Also drop old comments of dubious usefulness.

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

    Jean Delvare
     
  • it87: Add support for the IT8718F

    The IT8718F is a Super-I/O chip with integrated hardware monitoring
    functions. It is very similar to the IT8716F, so adding support to the
    it87 driver was pretty straightforward. The most significant difference
    is that the IT8718F has up to 8 VID pins, instead of 6 for the older
    chips.

    For the IT8718F, the VID value can only be read from Super-I/O space.

    Userspace support is already in lm_sensors SVN (to be soon released
    as 2.10.1.)

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

    Jean Delvare
     
  • it87: Add support for the IT8716F

    The IT8716F is a Super-I/O chip with integrated hardware monitoring
    functions. It is very similar to the IT8712F, so adding support to the
    it87 driver was pretty straightforward. The most significant change here
    is that the IT8716F has 16-bit fan speed counters, so the user no more
    needs to tweak the fan clock dividers to get the best readings.

    Userspace support is already in lm_sensors SVN (to be soon released
    as 2.10.1.)

    Thanks to Stian Oksavik, Olivier Nicolas, Prakash Punnoor and
    Juergen Kilb for testing the early versions of this patch.

    Thanks also to ITE for providing datasheets and answering my questions.

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

    Jean Delvare
     
  • Add documentation for the w83627ehf hardware monitoring driver.

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

    Rudolf Marek
     

28 Sep, 2006

6 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (48 commits)
    [PATCH] bonding: update version number
    [PATCH] git-netdev-all: pc300_tty build fix
    [PATCH] Make PC300 WAN driver compile again
    [PATCH] Modularize generic HDLC
    [PATCH] more s2io __iomem annotations
    [PATCH] restore __iomem annotations in e1000
    [PATCH] 64bit bugs in s2io
    [PATCH] bonding: Fix primary selection error at enslavement time
    [PATCH] bonding: Don't mangle LACPDUs
    [PATCH] bonding: Validate probe replies in ARP monitor
    [PATCH] bonding: Don't release slaves when master is admin down
    [PATCH] bonding: Add priv_flag to avoid event mishandling
    [PATCH] bonding: Handle large hard_header_len
    [PATCH] bonding: Remove unneeded NULL test
    [PATCH] bonding: Format fix in seq_printf call
    [PATCH] bonding: Convert delay value from s16 to int
    [PATCH] bonding: Allow bonding to enslave a 10 Gig adapter
    Delete unused drivers/net/gt64240eth.h
    [PATCH] skge: fiber support
    [PATCH] fix possible NULL ptr deref in forcedeth
    ...

    Linus Torvalds
     
  • The purpose of this patch is to split off the case when a device does
    not reply on the lower level (which is reported by HC hardware), and
    a case when the device accepted the request, but does not reply at
    upper level. This redefinition allows to diagnose issues easier,
    without asking the user if the -110 happened "immediately".

    The usbmon splits such cases already thanks to its timestamp, but
    it's not always available.

    I adjusted all drivers which I found affected (by searching for "urb").
    Out of tree drivers may suffer a little bit, but I do not expect much
    breakage. At worst they may print a few messages.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     
  • This patch adds support for Ontrak ADU USB devices.

    Fixed for printk issues by Randy Dunlap

    Signed-off-by: Steven Haigh
    Signed-off-by: Greg Kroah-Hartman

    Steven Haigh
     
  • Add driver for AIRcable USB Bluetooth dongle.

    Signed-off-by: Naranjo, Manuel Francisco
    Signed-off-by: Greg Kroah-Hartman

    Manuel Francisco Naranjo
     
  • A little more detail on how and when to poll() /proc/bus/usb/devices.

    Signed-off-by: Sam Bishop
    Signed-off-by: Greg Kroah-Hartman

    Sam Bishop
     
  • Grammar, spelling, and stylistic edits.

    Signed-off-by: Sam Bishop
    Signed-off-by: Greg Kroah-Hartman

    Sam Bishop
     

27 Sep, 2006

10 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (108 commits)
    sh: Fix occasional flush_cache_4096() stack corruption.
    sh: Calculate shm alignment at runtime.
    sh: dma-mapping compile fixes.
    sh: Initial vsyscall page support.
    sh: Clean up PAGE_SIZE definition for assembly use.
    sh: Selective flush_cache_mm() flushing.
    sh: More intelligent entry_mask/way_size calculation.
    sh: Support for L2 cache on newer SH-4A CPUs.
    sh: Update kexec support for API changes.
    sh: Optimized readsl()/writesl() support.
    sh: Report movli.l/movco.l capabilities.
    sh: CPU flags in AT_HWCAP in ELF auxvt.
    sh: Add support for 4K stacks.
    sh: Enable /proc/kcore support.
    sh: stack debugging support.
    sh: select CONFIG_EMBEDDED.
    sh: machvec rework.
    sh: Solution Engine SH7343 board support.
    sh: SH7710VoIPGW board support.
    sh: Enable verbose BUG() support.
    ...

    Linus Torvalds
     
  • Signed-off-by: Eric W. Biederman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • Resetting the devices during driver initialization can be a costly
    operation in terms of time (especially scsi devices). This option can be
    used by drivers to know that user forcibly wants the devices to be reset
    during initialization.

    This option can be useful while kernel is booting in unreliable
    environment. For ex. during kdump boot where devices are in unknown
    random state and BIOS execution has been skipped.

    Signed-off-by: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vivek Goyal
     
  • Make futexes work under NOMMU conditions.

    This can be tested by running this in one shell:

    #define SYSERROR(X, Y) \
    do { if ((long)(X) == -1L) { perror(Y); exit(1); }} while(0)

    int main()
    {
    int shmid, tmp, *f, n;

    shmid = shmget(23, 4, IPC_CREAT|0666);
    SYSERROR(shmid, "shmget");

    f = shmat(shmid, NULL, 0);
    SYSERROR(f, "shmat");

    n = *f;
    printf("WAIT: %p{%x}\n", f, n);
    tmp = futex(f, FUTEX_WAIT, n, NULL, NULL, 0);
    SYSERROR(tmp, "futex");
    printf("WAITED: %d\n", tmp);

    tmp = shmdt(f);
    SYSERROR(tmp, "shmdt");

    exit(0);
    }

    And then this in the other shell:

    #define SYSERROR(X, Y) \
    do { if ((long)(X) == -1L) { perror(Y); exit(1); }} while(0)

    int main()
    {
    int shmid, tmp, *f;

    shmid = shmget(23, 4, IPC_CREAT|0666);
    SYSERROR(shmid, "shmget");

    f = shmat(shmid, NULL, 0);
    SYSERROR(f, "shmat");

    (*f)++;
    printf("WAKE: %p{%x}\n", f, *f);
    tmp = futex(f, FUTEX_WAKE, 1, NULL, NULL, 0);
    SYSERROR(tmp, "futex");
    printf("WOKE: %d\n", tmp);

    tmp = shmdt(f);
    SYSERROR(tmp, "shmdt");

    exit(0);
    }

    The first program will set up a SYSV IPC SHM segment and wait on a futex in it
    for the number at the start to change. The program will increment that number
    and wake the first program up. This leads to output of the form:

    SHELL 1 SHELL 2
    ======================= =======================
    # /dowait
    WAIT: 0xc32ac000{0}
    # /dowake
    WAKE: 0xc32ac000{1}
    WAITED: 0 WOKE: 1

    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Add documentation about using shared memory in NOMMU mode.

    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Make mremap() partially work for NOMMU kernels. It may resize a VMA provided
    that it doesn't exceed the size of the slab object in which the storage is
    allocated that the VMA refers to. Shareable VMAs may not be resized.

    Moving VMAs (as permitted by MREMAP_MAYMOVE) is not currently supported.

    This patch also makes use of the fact that the VMA list is now ordered to cut
    it short when possible.

    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Implement /proc/pid/maps for NOMMU by reading the vm_area_list attached to
    current->mm->context.vmlist.

    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6: (30 commits)
    i2c: Drop unimplemented slave functions
    i2c: Constify i2c_algorithm declarations, part 2
    i2c: Constify i2c_algorithm declarations, part 1
    i2c: Let drivers constify i2c_algorithm data
    i2c-isa: Restore driver owner
    i2c-viapro: Add support for the VT8237A and VT8251
    i2c: Warn on i2c client creation failure
    i2c-core: Drop useless bitmaskings
    i2c-algo-pcf: Discard the mdelay data struct member
    i2c-algo-bit: Cleanups
    i2c-isa: Fail adding driver on attach_adapter error
    i2c: __must_check fixes (chip drivers)
    i2c-dev: attach/detach_adapter cleanups
    i2c-stub: Chip address as a module parameter
    i2c: Plan i2c-isa for removal
    i2c: New bus driver for TI OMAP boards
    i2c-algo-bit: Discard the mdelay data struct member
    i2c-matroxfb: Struct init conversion
    i2c: Fix copy-n-paste in subsystem Kconfig
    i2c-au1550: Add I2C support for Au1200
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (28 commits)
    pciehp - fix wrong return value
    IA64: PCI: dont disable irq which is not enabled
    acpiphp: add support for ioapic hot-remove
    PCI: assign ioapic resource at hotplug
    acpiphp: disable bridges
    acpiphp: stop bus device before acpi_bus_trim
    PCI: add pci_stop_bus_device
    acpiphp: do not initialize existing ioapics
    acpiphp: initialize ioapics before starting devices
    acpiphp: set hpp values before starting devices
    PCI Hotplug: cleanup pcihp skeleton code.
    PCI: Restore PCI Express capability registers after PM event
    PCI: drivers/pci/hotplug/acpiphp_glue.c: make a function static
    PCI: Multiprobe sanitizer
    PCI: fix __must_check warnings
    PCI Hotplug: fix __must_check warnings
    SHPCHP: fix __must_check warnings
    PCI-Express AER implemetation: pcie_portdrv error handler
    PCI-Express AER implemetation: AER core and aerdriver
    PCI-Express AER implemetation: export pcie_port_bus_type
    ...

    Linus Torvalds
     
  • Signed-off-by: Ralf Baechle

    Ralf Baechle