20 Jul, 2007

29 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (33 commits)
    xtensa: use DATA_DATA in xtensa
    powerpc: add missing DATA_DATA to powerpc
    cris: use DATA_DATA in cris
    kallsyms: remove usage of memmem and _GNU_SOURCE from scripts/kallsyms.c
    kbuild: use -fno-optimize-sibling-calls unconditionally
    kconfig: reset generated values only if Kconfig and .config agree.
    kbuild: fix the warning when running make tags
    kconfig: strip 'CONFIG_' automatically in kernel configuration search
    kbuild: use POSIX BRE in headers install target
    Whitelist references from __dbe_table to .init
    modpost white list pattern adjustment
    kbuild: do section mismatch check on full vmlinux
    kbuild: whitelist references from variables named _timer to .init.text
    kbuild: remove hardcoded _logo names from modpost
    kbuild: remove hardcoded apic_es7000 from modpost
    kbuild: warn about references from .init.text to .exit.text
    kbuild: consolidate section checks
    kbuild: refactor code in modpost to improve maintainability
    kbuild: ignore section mismatch warnings originating from .note section
    kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it
    ...

    Linus Torvalds
     
  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6: (44 commits)
    i2c: Delete the i2c-isa pseudo bus driver
    hwmon: refuse to load abituguru driver on non-Abit boards
    hwmon: fix Abit Uguru3 driver detection on some motherboards
    hwmon/w83627ehf: Be quiet when no chip is found
    hwmon/w83627ehf: No need to initialize fan_min
    hwmon/w83627ehf: Export the thermal sensor types
    hwmon/w83627ehf: Enable VBAT monitoring
    hwmon/w83627ehf: Add support for the VID inputs
    hwmon/w83627ehf: Fix timing issues
    hwmon/w83627ehf: Add error messages for two error cases
    hwmon/w83627ehf: Convert to a platform driver
    hwmon/w83627ehf: Update the Kconfig entry
    make coretemp_device_remove() static
    hwmon: Add LM93 support
    hwmon: Improve the pwmN_enable documentation
    hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM
    hwmon: Add support for newer uGuru's
    hwmon/f71805f: Add temperature-tracking fan control mode
    hwmon/w83627ehf: Preserve speed reading when changing fan min
    hwmon: fix detection of abituguru volt inputs
    ...

    Manual fixup of trivial conflict in MAINTAINERS file

    Linus Torvalds
     
  • There are no users of i2c-isa left, so we can finally get rid of it.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • The W83627EHF and similar chips have 6 VID input pins, add support
    for them. The driver changes the input voltage level automatically
    if the current setting is not correct for the detected CPU model.

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Jean Delvare
     
  • This patch adds support for the LM93 hardware monitoring chip.

    Signed-off-by: Hans J. Koch
    Signed-off-by: Mark M. Hoffman

    Hans-Jürgen Koch
     
  • The documentation of the pwmN_enable interface file is not very clear,
    and has been confusing several driver authors already. Make it clearer.

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Jean Delvare
     
  • This patch adds a new driver for the hardware monitoring features of the
    third revision of the Abit uGuru chip, found on recent Abit
    motherboards. This is an entirely different beast then the first and
    second revision (its again a winbond microcontroller, but the "protocol"
    to talk to it and the bank addresses are very different.

    Signed-off-by: Hans de Goede
    Signed-off-by: Mark M. Hoffman

    Hans de Goede
     
  • Add support for the "temperature mode" fan speed control. In this mode,
    the user can define 3 temperature/speed trip points, and the chip will
    set the speed automatically according to the temperature changes.

    Signed-off-by: Phil Endecott
    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Phil Endecott
     
  • This patch adds the SMSC SCH5317 chip (device ID 0x85) as a supported
    device to the smsc47b397 driver.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Mark M. Hoffman

    Juerg Haefliger
     
  • Add support for IT8726F chip driver, which is just same as
    IT8716F with additional glue logic for AMD power sequencing.

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare

    Rudolf Marek
     
  • We have the following naming convention documented in
    Documentation/hwmon/sysfs-interface for fault files:

    in[0-*]_input_fault
    fan[1-*]_input_fault
    temp[1-*]_input_fault

    Some drivers follow this convention (lm63, lm83, lm90, smsc47m192).
    However some drivers omit the "input" part and create files named
    fan1_fault (pc87427) or temp1_fault (dme1737). And the new "generic"
    libsensors follows this second (non-standard) convention, so it fails
    to report fault conditions for drivers which follow the standard.

    We want a single naming scheme, and everyone seems to prefer the
    shorter variant, so let's go for it.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Signed-off-by: Rainer Birkenmaier
    Signed-off-by: Jean Delvare

    Rainer Birkenmaier
     
  • Add documentation for the new SMSC DME1737 driver.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare

    Juerg Haefliger
     
  • Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Updated the EDAC kernel documentation

    Signed-off-by: Doug Thompson
    Cc: Greg KH
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Doug Thompson
     
  • A brief document describing how to use lguest. Because lguest doesn't have an
    ABI we also include an example launcher in the Documentation directory.

    [jmorris@namei.org: Fix up nat example in documentation]
    Signed-off-by: Rusty Russell
    Cc: Andi Kleen
    Signed-off-by: James Morris
    Cc: Matias Zabaljauregui
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • Transform some calls to kmalloc/memset to a single kzalloc (or kcalloc).

    Here is a short excerpt of the semantic patch performing
    this transformation:

    @@
    type T2;
    expression x;
    identifier f,fld;
    expression E;
    expression E1,E2;
    expression e1,e2,e3,y;
    statement S;
    @@

    x =
    - kmalloc
    + kzalloc
    (E1,E2)
    ... when != \(x->fld=E;\|y=f(...,x,...);\|f(...,x,...);\|x=E;\|while(...) S\|for(e1;e2;e3) S\)
    - memset((T2)x,0,E1);

    @@
    expression E1,E2,E3;
    @@

    - kzalloc(E1 * E2,E3)
    + kcalloc(E1,E2,E3)

    [akpm@linux-foundation.org: get kcalloc args the right way around]
    Signed-off-by: Yoann Padioleau
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Acked-by: Russell King
    Cc: Bryan Wu
    Acked-by: Jiri Slaby
    Cc: Dave Airlie
    Acked-by: Roland Dreier
    Cc: Jiri Kosina
    Acked-by: Dmitry Torokhov
    Cc: Benjamin Herrenschmidt
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Pierre Ossman
    Cc: Jeff Garzik
    Cc: "David S. Miller"
    Acked-by: Greg KH
    Cc: James Bottomley
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yoann Padioleau
     
  • This version brings a number of new checks, and a number of bug
    fixes. Of note:

    - warnings for multiple assignments per line
    - warnings for multiple declarations per line
    - checks for single statement blocks with braces

    This patch includes an update for feature-removal-schedule.txt to
    better target checks.

    Andy Whitcroft (12):
    Version: 0.08
    only apply printk checks where there is a string literal
    allow suppression of errors for when no patch is found
    warn about multiple assignments
    warn on declaration of multiple variables
    check for kfree() with needless null check
    check for single statement braced blocks
    check for aggregate initialisation on the next line
    handle the => operator
    check for spaces between function name and open parenthesis
    move to explicit Check: entries in feature-removal-schedule.txt
    handle pointer attributes

    Signed-off-by: Andy Whitcroft
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andy Whitcroft
     
  • Signed-off-by: Rolf Eike Beer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     
  • This patch adds the documentation for /proc//coredump_filter.

    Signed-off-by: Hidehiro Kawai
    Cc: Alan Cox
    Cc: David Howells
    Cc: Hugh Dickins
    Cc: Nick Piggin
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kawai, Hidehiro
     
  • Remove include/linux/rmap.h from kernel-api.tmpl since it no longer
    contains kernel-doc. Fixes this warning:

    Warning(linux-2.6.22//include/linux/rmap.h): no structured comments found

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

    Randy Dunlap
     
  • Add kernel-doc tools info in Makefile.

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

    Randy Dunlap
     
  • The purpose of audit_bprm() is to log the argv array to a userspace daemon at
    the end of the execve system call. Since user-space hasn't had time to run,
    this array is still in pristine state on the process' stack; so no need to
    copy it, we can just grab it from there.

    In order to minimize the damage to audit_log_*() copy each string into a
    temporary kernel buffer first.

    Currently the audit code requires that the full argument vector fits in a
    single packet. So currently it does clip the argv size to a (sysctl) limit,
    but only when execve auditing is enabled.

    If the audit protocol gets extended to allow for multiple packets this check
    can be removed.

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Ollie Wild
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • AFAICT now that jprobe.entry is a void *, JPROBE_ENTRY doesn't do anything
    useful - so remove it ..

    I've left a do-nothing version so that out-of-tree jprobes code will still
    compile without modifications.

    Signed-off-by: Michael Ellerman
    Cc: Prasanna S Panchamukhi
    Acked-by: Ananth N Mavinakayanahalli
    Cc: Anil S Keshavamurthy
    Cc: David S. Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Ellerman
     
  • Clarify that drivers using the GPIO operations don't need to issue io
    barrier instructions themselves. Previously this wasn't clear, and at
    least one platform assumed otherwise (and would thus break various
    otherwise-portable drivers which don't issue barriers).

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

    David Brownell
     
  • Make it possible to register hibernation and suspend notifiers, so that
    subsystems can perform hibernation-related or suspend-related operations that
    should not be carried out by device drivers' .suspend() and .resume()
    routines.

    [akpm@linux-foundation.org: build fixes]
    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Cc: Nigel Cunningham
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • Change ->fault prototype. We now return an int, which contains
    VM_FAULT_xxx code in the low byte, and FAULT_RET_xxx code in the next byte.
    FAULT_RET_ code tells the VM whether a page was found, whether it has been
    locked, and potentially other things. This is not quite the way he wanted
    it yet, but that's changed in the next patch (which requires changes to
    arch code).

    This means we no longer set VM_CAN_INVALIDATE in the vma in order to say
    that a page is locked which requires filemap_nopage to go away (because we
    can no longer remain backward compatible without that flag), but we were
    going to do that anyway.

    struct fault_data is renamed to struct vm_fault as Linus asked. address
    is now a void __user * that we should firmly encourage drivers not to use
    without really good reason.

    The page is now returned via a page pointer in the vm_fault struct.

    Signed-off-by: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • There seems to be very little documentation about this callback in general.
    The locking in particular is a bit tricky, so it's worth having this in
    writing.

    Signed-off-by: Mark Fasheh
    Cc: Nick Piggin
    Cc: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Fasheh
     
  • Nonlinear mappings are (AFAIKS) simply a virtual memory concept that encodes
    the virtual address -> file offset differently from linear mappings.

    ->populate is a layering violation because the filesystem/pagecache code
    should need to know anything about the virtual memory mapping. The hitch here
    is that the ->nopage handler didn't pass down enough information (ie. pgoff).
    But it is more logical to pass pgoff rather than have the ->nopage function
    calculate it itself anyway (because that's a similar layering violation).

    Having the populate handler install the pte itself is likewise a nasty thing
    to be doing.

    This patch introduces a new fault handler that replaces ->nopage and
    ->populate and (later) ->nopfn. Most of the old mechanism is still in place
    so there is a lot of duplication and nice cleanups that can be removed if
    everyone switches over.

    The rationale for doing this in the first place is that nonlinear mappings are
    subject to the pagefault vs invalidate/truncate race too, and it seemed stupid
    to duplicate the synchronisation logic rather than just consolidate the two.

    After this patch, MAP_NONBLOCK no longer sets up ptes for pages present in
    pagecache. Seems like a fringe functionality anyway.

    NOPAGE_REFAULT is removed. This should be implemented with ->fault, and no
    users have hit mainline yet.

    [akpm@linux-foundation.org: cleanup]
    [randy.dunlap@oracle.com: doc. fixes for readahead]
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Nick Piggin
    Signed-off-by: Randy Dunlap
    Cc: Mark Fasheh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     

19 Jul, 2007

11 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    eHEA: Fix bonding support
    Blackfin ethernet driver: on chip ethernet MAC controller driver
    fix wrong argument of tc35815_read_plat_dev_addr()
    ARM/ETHER3: Handle multicast frames.
    SAA9730: Handle multicast frames.
    NI5010: Handle multicast frames.
    NS83820: Handle multicast frames.
    Fix RGMII-ID handling in gianfar
    Fix Vitesse RGMII-ID support
    Add phy-connection-type to gianfar nodes
    Fix Vitesse 824x PHY interrupt acking
    [PATCH] zd1211rw: Add ID for Siemens Gigaset USB Stick 54
    [PATCH] zd1211rw: Add ID for Planex GW-US54GXS
    [PATCH] Update version ipw2200 stamp to 1.2.2
    [PATCH] ipw2200: Fix ipw_isr() comments error on shared IRQ
    [PATCH] Fix ipw2200 set wrong power parameter causing firmware error
    [PATCH] ipw2100: Fix `iwpriv set_power` error
    [PATCH] softmac: Channel is listed twice in scan output

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/docs-2.6:
    zh_CN/HOWTO: update URLs of git trees
    Chinese translation of Documentation/stable_api_nonsense.txt
    HOWTO: add Chinese translation of Documentation/HOWTO
    Documentation: add Japanese translated stable_api_nonsense.txt
    HOWTO: add Japanese translation of Documentation/HOWTO

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    sysfs: cosmetic clean up on node creation failure paths
    sysfs: kill an extra put in sysfs_create_link() failure path
    Driver core: check return code of sysfs_create_link()
    HOWTO: Add the knwon_regression URI to the documentation
    dev_vdbg() documentation
    dev_vdbg(), available with -DVERBOSE_DEBUG
    sysfs: make sysfs_init_inode() static
    sysfs: fix sysfs root inode nlink accounting
    Documentation fix devres.txt: lib/iomap.c -> lib/devres.c
    sysfs: avoid kmem_cache_free(NULL)
    PM: remove deprecated dpm_runtime_* routines
    PM: Remove deprecated sysfs files
    Driver core: accept all valid action-strings in uevent-trigger
    debugfs: remove rmdir() non-empty complaint

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/uio-2.6:
    UIO: Hilscher CIF card driver
    UIO: Documentation
    UIO: Add the User IO core code

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (29 commits)
    IB/mthca: Simplify use of size0 in work request posting
    IB/mthca: Factor out setting WQE UD segment entries
    IB/mthca: Factor out setting WQE remote address and atomic segment entries
    IB/mlx4: Factor out setting other WQE segments
    IB/mlx4: Factor out setting WQE data segment entries
    IB/mthca: Factor out setting WQE data segment entries
    IB/mlx4: Return receive queue sizes for userspace QPs from query QP
    IB/mlx4: Increase max outstanding RDMA reads as target
    RDMA/cma: Remove local write permission from QP access flags
    IB/mthca: Use uninitialized_var() for f0
    IB/cm: Make internal function cm_get_ack_delay() static
    IB/ipath: Remove ipath_get_user_pages_nocopy()
    IB/ipath: Make a few functions static
    mlx4_core: Reset device when internal error is detected
    IB/iser: Make a couple of functions static
    IB/mthca: Fix printk format used for firmware version in warning
    IB/mthca: Schedule MSI support for removal
    IB/ehca: Fix warnings issued by checkpatch.pl
    IB/ehca: Restructure ehca_set_pagebuf()
    IB/ehca: MR/MW structure refactoring
    ...

    Linus Torvalds
     
  • Addressing patch from Stefan Richter:
    HOWTO: update URLs of git trees
    (It will be better if we update this to commit-id later)

    Signed-off-by: Li Yang
    Signed-off-by: Greg Kroah-Hartman

    Li Yang
     
  • This is a Chinese translated version of
    Documentation/stable_api_nonsense.txt.

    From: TripleX
    Signed-off-by: WANG Cong
    Signed-off-by: Li Yang
    Signed-off-by: Greg Kroah-Hartman

    TripleX
     
  • This is a Chinese translated version of Documentation/HOWTO. Currently
    Chinese involvement in Linux kernel is very low, especially comparing to
    its largest population base. Language could be the main obstacle. Hope
    this document will help more Chinese to contribute to Linux kernel.

    Signed-off-by: Li Yang
    Signed-off-by: TripleX Chung
    Signed-off-by: Maggie Chen
    Signed-off-by: WANG Cong
    Signed-off-by: Greg Kroah-Hartman

    Li Yang
     
  • Signed-off-by: IKEDA, Munehiro
    Signed-off-by: Greg Kroah-Hartman

    IKEDA, Munehiro
     
  • Add the japanese translation of the Documentation/HOWTO file.

    Signed-off-by: Tsugikazu Shibata
    Cc: IKEDA Munehiro
    Signed-off-by: Greg Kroah-Hartman

    Tsugikazu Shibata
     
  • Documentation for the UIO interface

    From: Hans J. Koch
    Signed-off-by: Greg Kroah-Hartman

    Hans J. Koch