13 Dec, 2006

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
    Fix inotify maintainers entry
    Fix typo in new debug options.
    Jon needs a new shift key.
    fs: Convert kmalloc() + memset() to kzalloc() in fs/.
    configfs.h: Remove dead macro definitions.
    kconfig: Standardize "depends" -> "depends on" in Kconfig files
    e100: replace kmalloc with kcalloc
    um: replace kmalloc+memset with kzalloc
    fix typo in net/ipv4/ip_fragment.c
    include/linux/compiler.h: reject gcc 3 < gcc 3.2
    Kconfig: fix spelling error in config KALLSYMS help text
    Remove duplicate "have to" in comment
    Fix small typo in drivers/serial/icom.c
    Use consistent casing in help message
    EXT{2,3,4}_FS: remove outdated part of the help text

    Linus Torvalds
     
  • Conflicts:

    drivers/cpufreq/cpufreq.c

    Dave Jones
     
  • Standardize the miniscule percentage of occurrences of "depends" in
    Kconfig files to "depends on", and update kconfig-language.txt to
    reflect that.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk

    Robert P. J. Day
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
    [patch 3/3] OCFS2 Configurable timeouts - Protocol changes
    [patch 2/3] OCFS2 Configurable timeouts
    [patch 1/3] OCFS2 - Expose struct o2nm_cluster
    ocfs2: Synchronize feature incompat flags in ocfs2_fs.h
    ocfs2: update mount option documentation
    ocfs2: local mounts

    Linus Torvalds
     
  • * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    i2c: Fix OMAP clock prescaler to match the comment
    i2c: Refactor a kfree in i2c-dev
    i2c: Fix return value check in i2c-dev
    i2c: Enable PEC on more i2c-i801 devices
    i2c: Discard the i2c algo del_bus wrappers
    i2c: New ARM Versatile/Realview bus driver
    i2c: fix broken ds1337 initialization
    i2c: i2c-i801 documentation update
    i2c: Use the __ATTR macro where possible
    i2c: Whitespace cleanups
    i2c: Use put_user instead of copy_to_user where possible
    i2c: New Atmel AT91 bus driver
    i2c: Add support for nested i2c bus locking
    i2c: Cleanups to the i2c-nforce2 bus driver
    i2c: Add request/release_mem_region to i2c-ibm_iic bus driver
    i2c: New Philips PNX bus driver
    i2c: Delete the broken i2c-ite bus driver
    i2c: Update the list of driver IDs
    i2c: Fix documentation typos

    Linus Torvalds
     

12 Dec, 2006

1 commit

  • As Eddie Kohler points out the RFC is Proposed Standard not experimental.
    Also removed documentation about deprecated socket option.

    Signed-off-by: Ian McDonald
    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Ian McDonald
     

11 Dec, 2006

11 commits

  • Add the Intel ICH9/ICH8/ESB2 SMBus Controller text to
    i2c-i801 documentation.

    Signed-off-by: Jason Gaston
    Signed-off-by: Jean Delvare

    Jason Gaston
     
  • Summary of changes:

    - fixes:
    o legacy I/O region size is 64 bytes, not 8 bytes
    - general cleanup:
    o removed code for the unsupported I2C block data, block data,
    proc call and block proc call transfer modes
    o removed detail warnings about unsupported modes that are
    covered in a general warning (unsupported transaction...)
    anyway
    o removed necessity of a definition of struct i2c_adapter
    o moved definition of struct i2c_algorithm, making forward
    declarations of nforce2_access and nforce2_func unnecessary
    - minor changes:
    o in the description mention the nForce 5xx chipsets
    o changes my e-mail address in MODULE_AUTHOR

    Theses cleanups shrink the driver binary size from 4.0 kB to 2.7 kB
    on i386.

    Signed-off-by: Hans-Frieder Vogt
    Signed-off-by: Jean Delvare

    Hans-Frieder Vogt
     
  • The rest of the ITE8172 support was already removed from MIPS tree.

    Signed-off-by: Jean Delvare
    Signed-off-by: Yoichi Yuasa
    Acked-by: Ralf Baechle

    Jean Delvare
     
  • Fix typos in i2c bus drivers documentation.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (132 commits)
    V4L/DVB 4949b: Fix container_of pointer retreival
    V4L/DVB (4949a): Fix INIT_WORK
    V4L/DVB (4949): Cxusb: codingstyle cleanups
    V4L/DVB (4948): Cxusb: Convert tuner functions to use dvb_pll_attach
    V4L/DVB (4947): Cx88: trivial cleanups
    V4L/DVB (4946): Cx88: Move cx88_dvb_bus_ctrl out of the card-specific area
    V4L/DVB (4945): Cx88: consolidate cx22702_config structs
    V4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attach
    V4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tuners
    V4L/DVB (4953): Usbvision minor fixes
    V4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAP
    V4L/DVB (4940): Or51211: Changed SNR and signal strength calculations
    V4L/DVB (4939): Or51132: Changed SNR and signal strength reporting
    V4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attach
    V4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identations
    V4L/DVB (4942): Whitespace cleanups
    V4L/DVB (4937): Usbvision cleanup and code reorganization
    V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal
    V4L/DVB (4935): Added the capability of selecting fm gain by tuner
    V4L/DVB (4934): Usbvision radio requires GainNormal at e register
    ...

    Linus Torvalds
     
  • Wire up the IO accounting into getdelays.c.

    Usage:

    To display I/O stats for each exitting task:

    vmm:/home/akpm> ./getdelays -m0,1,2,3 -i -l
    cpumask 0 maskset 1
    printing IO accounting
    listen forever
    rm: read=8192, write=0, cancelled_write=0
    cvs: read=733184, write=4255744, cancelled_write=4096
    make: read=217088, write=0, cancelled_write=0
    cc1: read=4263936, write=12288, cancelled_write=0
    as: read=811008, write=8192, cancelled_write=0
    gcc: read=323584, write=0, cancelled_write=12288
    cc1: read=0, write=8192, cancelled_write=0
    as: read=4096, write=4096, cancelled_write=0
    gcc: read=16384, write=0, cancelled_write=4096
    as: read=4096, write=4096, cancelled_write=0
    gcc: read=16384, write=0, cancelled_write=8192
    ld: read=1011712, write=16384, cancelled_write=0
    collect2: read=626688, write=0, cancelled_write=0
    gcc: read=204800, write=0, cancelled_write=0
    cc1: read=0, write=8192, cancelled_write=0
    as: read=4096, write=4096, cancelled_write=0
    gcc: read=16384, write=0, cancelled_write=8192
    ld: read=8192, write=16384, cancelled_write=0
    collect2: read=49152, write=0, cancelled_write=0
    gcc: read=0, write=0, cancelled_write=0
    cc1: read=0, write=4096, cancelled_write=0
    ld: read=4096, write=12288, cancelled_write=0
    collect2: read=49152, write=0, cancelled_write=0
    gcc: read=0, write=0, cancelled_write=0

    To display I/O stats for a particular presently-running task:

    vmm:/home/akpm> ./getdelays -i -p $(pidof crond)
    printing IO accounting
    crond: read=61440, write=0, cancelled_write=0

    Cc: Jay Lan
    Cc: Shailabh Nagar
    Cc: Balbir Singh
    Cc: Chris Sturtivant
    Cc: Tony Ernst
    Cc: Guillaume Thouvenin
    Cc: David Wright
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • - Various cleanups

    - Report errors to stderr, not stdout

    - A printf was missing a \n and was hiding from me.

    Cc: Jay Lan
    Cc: Shailabh Nagar
    Cc: Balbir Singh
    Cc: Chris Sturtivant
    Cc: Tony Ernst
    Cc: Guillaume Thouvenin
    Cc: David Wright
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Document how to decode a binary IOCTL number.

    Signed-off-by: Chuck Ebbert
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chuck Ebbert
     
  • Mention the new fault-injection test framework.

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

    Andrew Morton
     
  • Add some kernel coding style comments, mostly pulled from emails
    by Andrew Morton, Jesper Juhl, and Randy Dunlap.

    - add paragraph on switch/case indentation (with fixes)
    - add paragraph on multiple-assignments
    - add more on Braces
    - add section on Spaces; add typeof, alignof, & __attribute__ with sizeof;
    add more on postfix/prefix increment/decrement operators
    - add paragraph on function breaks in source files; add info on
    function prototype parameter names
    - add paragraph on EXPORT_SYMBOL placement
    - add section on /*-comment style, long-comment style, and data
    declarations and comments
    - correct some chapter number references that were missed when
    chapters were renumbered

    Signed-off-by: Randy Dunlap
    Acked-by: Jesper Juhl
    Acked-by: Jan Engelhardt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Stabilize PIO mode transfers against a range of word sizes and FIFO
    thresholds and fixes word size setup/override issues.

    1) 16 and 32 bit DMA/PIO transfers broken due to timing differences.
    2) Potential for bad transfer counts due to transfer size assumptions.
    3) Setup function broken is multiple ways.
    4) Per transfer bit_per_word changes break DMA setup in pump_tranfers.
    5) False positive timeout are not errors.
    6) Changes in pxa2xx_spi_chip not effective in calls to setup.
    7) Timeout scaling wrong for PXA255 NSSP.
    8) Driver leaks memory while busy during unloading.

    Known issues:

    SPI_CS_HIGH and SPI_LSB_FIRST settings in struct spi_device are not handled.

    Testing:

    This patch has been test against the "random length, random bits/word,
    random data (verified on loopback) and stepped baud rate by octaves
    (3.6MHz to 115kHz)" test. It is robust in PIO mode, using any
    combination of tx and rx thresholds, and also in DMA mode (which
    internally computes the thresholds).

    Much thanks to Ned Forrester for exhaustive reviews, fixes and testing.
    The driver is substantially better for his efforts.

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

    Stephen Street
     

10 Dec, 2006

10 commits


09 Dec, 2006

7 commits

  • * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
    [S390] Poison init section before freeing it.
    [S390] Use add_active_range() and free_area_init_nodes().
    [S390] Virtual memmap for s390.
    [S390] Update documentation for dynamic subchannel mapping.
    [S390] Use dev->groups for adding/removing the subchannel attribute group.
    [S390] Support for disconnected devices reappearing on another subchannel.
    [S390] subchannel lock conversion.
    [S390] Some preparations for the dynamic subchannel mapping patch.
    [S390] runtime switch for qdio performance statistics
    [S390] New DASD feature for ERP related logging
    [S390] add reset call handler to the ap bus.
    [S390] more workqueue fixes.
    [S390] workqueue fixes.
    [S390] uaccess_pt: add missing down_read() and convert to is_init().

    Linus Torvalds
     
  • This patch adds a new ioctl range for the mbxfb driver.

    Signed-off-by: Raphael Assenat
    Cc: "Antonino A. Daplas"
    Acked-by: James Simmons
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Raphael Assenat
     
  • Correct, disambiguate, and reformat documentation.

    Signed-off-by: Don Mullis
    Cc: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Don Mullis
     
  • This patch provides stacktrace filtering feature.

    The stacktrace filter allows failing only for the caller you are
    interested in.

    For example someone may want to inject kmalloc() failures into
    only e100 module. they want to inject not only direct kmalloc() call,
    but also indirect allocation, too.

    - e100_poll --> netif_receive_skb --> packet_rcv_spkt --> skb_clone
    --> kmem_cache_alloc

    This patch enables to detect function calls like this by stacktrace
    and inject failures. The script Documentaion/fault-injection/failmodule.sh
    helps it.

    The range of text section of loaded e100 is expected to be
    [/sys/module/e100/sections/.text, /sys/module/e100/sections/.exit.text)

    So failmodule.sh stores these values into /debug/failslab/address-start
    and /debug/failslab/address-end. The maximum stacktrace depth is specified
    by /debug/failslab/stacktrace-depth.

    Please see the example that demonstrates how to inject slab allocation
    failures only for a specific module
    in Documentation/fault-injection/fault-injection.txt

    [dwm@meer.net: reject failure if any caller lies within specified range]
    Signed-off-by: Akinobu Mita
    Signed-off-by: Don Mullis
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • This patch provides fault-injection capability for kmalloc.

    Boot option:

    failslab=,,,

    -- specifies the interval of failures.

    -- specifies how often it should fail in percent.

    -- specifies the size of free space where memory can be
    allocated safely in bytes.

    -- specifies how many times failures may happen at most.

    Debugfs:

    /debug/failslab/interval
    /debug/failslab/probability
    /debug/failslab/specifies
    /debug/failslab/times
    /debug/failslab/ignore-gfp-highmem
    /debug/failslab/ignore-gfp-wait

    Example:

    failslab=10,100,0,-1

    slab allocation (kmalloc(), kmem_cache_alloc(),..) fails once per 10 times.

    Cc: Pekka Enberg
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • This patch set provides some fault-injection capabilities.

    - kmalloc() failures

    - alloc_pages() failures

    - disk IO errors

    We can see what really happens if those failures happen.

    In order to enable these fault-injection capabilities:

    1. Enable relevant config options (CONFIG_FAILSLAB, CONFIG_PAGE_ALLOC,
    CONFIG_MAKE_REQUEST) and if you want to configure them via debugfs,
    enable CONFIG_FAULT_INJECTION_DEBUG_FS.

    2. Build and boot with this kernel

    3. Configure fault-injection capabilities behavior by boot option or debugfs

    - Boot option

    failslab=
    fail_page_alloc=
    fail_make_request=

    - Debugfs

    /debug/failslab/*
    /debug/fail_page_alloc/*
    /debug/fail_make_request/*

    Please refer to the Documentation/fault-injection/fault-injection.txt
    for details.

    4. See what really happens.

    Signed-off-by: Akinobu Mita
    Signed-off-by: Don Mullis
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • Add a sysfs and debugfs interface to the pktcdvd driver.

    Look into the Documentation/ABI/testing/* files in the patch for more info.

    Signed-off-by: Thomas Maier
    Signed-off-by: Peter Osterlund
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Maier
     

08 Dec, 2006

6 commits