21 Dec, 2006

4 commits

  • * 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block:
    [PATCH] block: document io scheduler allow_merge_fn hook
    [PATCH] cfq-iosched: don't allow sync merges across queues
    [PATCH] Fixup blk_rq_unmap_user() API
    [PATCH] __blk_rq_unmap_user() fails to return error
    [PATCH] __blk_rq_map_user() doesn't need to grab the queue_lock
    [PATCH] Remove queue merging hooks
    [PATCH] ->nr_sectors and ->hard_nr_sectors are not used for BLOCK_PC requests
    [PATCH] cciss: fix XFER_READ/XFER_WRITE in do_cciss_request
    [PATCH] cciss: set default raid level when reading geometry fails

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (34 commits)
    USB Storage: remove duplicate Nokia entry in unusual_devs.h
    [PATCH] bluetooth: add support for another Kensington dongle
    [PATCH] usb serial: add support for Novatel S720/U720 CDMA/EV-DO modems
    [PATCH] USB: Nokia E70 is an unusual device
    USB: fix to usbfs_snoop logging of user defined control urbs
    USB: at91_udc: Additional checks
    USB: at91_udc: Cleanup variables after failure in usb_gadget_register_driver()
    USB: at91_udc: allow drivers that support high speed
    USB: u132-hcd/ftdi-elan: add support for Option GT 3G Quad card
    USB: at91_udc, misc fixes
    USB: at91 udc, support at91sam926x addresses
    USB: OHCI support for PNX8550
    USB: ohci handles hardware faults during root port resets
    USB: ohci at91 warning fix
    USB: ohci whitespace/comment fixups
    USB: MAINTAINERS update, EHCI and OHCI
    USB: gadget driver unbind() is optional; section fixes; misc
    UHCI: module parameter to ignore overcurrent changes
    USB: Nokia E70 is an unusual device
    USB AUERSWALD: replace kmalloc+memset with kzalloc
    ...

    Linus Torvalds
     
  • * 'merge' of master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Fix register save area alignment for swapcontext syscall
    [POWERPC] Fix PCI device channel state initialization
    [POWERPC] Update MTD OF documentation
    [POWERPC] Probe Efika platform before CHRP.
    [POWERPC] Fix build of cell zImage.initrd
    [POWERPC] iSeries: fix CONFIG_VIOPATH dependency
    [POWERPC] iSeries: fix viocons init
    [POWERPC] iSeries: fix viocd init
    [POWERPC] iSeries: fix iseries_veth init
    [POWERPC] iSeries: fix viotape init
    [POWERPC] iSeries: fix viodasd init
    [POWERPC] Workaround oldworld OF bug with IRQs & P2P bridges
    [POWERPC] powerpc: add scanning of ebc bus to of_platform
    [POWERPC] spufs: fix assignment of node numbers
    [POWERPC] cell: Fix spufs with "new style" device-tree
    [POWERPC] cell: Enable spider workarounds on all PCI buses
    [POWERPC] cell: add forward struct declarations to spu.h
    [POWERPC] cell: update cell_defconfig

    Linus Torvalds
     
  • Certain boards seem to like to issue false overcurrent notifications,
    for example on ports that don't have anything connected to them. This
    looks like a hardware error, at the level of noise to those ports'
    overcurrent input signals (or non-debounced VBUS comparators). This
    surfaces to users as truly massive amounts of syslog spam from khubd
    (which is appropriate for real hardware problems, except for the
    volume from multiple ports).

    Using this new "ignore_oc" flag helps such systems work more sanely,
    by preventing such indications from getting to khubd (and spamming
    syslog). The downside is of course that true overcurrent errors will
    be masked; they'll appear as spontaneous disconnects, without the
    diagnostics that will let users troubleshoot issues like
    short-circuited cables. In addition, controllers with no devices
    attached will be forced to poll for new devices rather than relying on
    interrupts, since each overcurrent event would generate a new
    interrupt.

    This patch (as826) is essentially a copy of David Brownell's ignore_oc
    patch for ehci-hcd, ported to uhci-hcd.

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

    Alan Stern
     

20 Dec, 2006

3 commits


18 Dec, 2006

1 commit


14 Dec, 2006

5 commits

  • Remove the deferred hooks and all related code as scheduled in
    feature-removal-schedule.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     
  • Virtually index, physically tagged cache architectures can get away
    without cache flushing when forking. This patch adds a new cache
    flushing function flush_cache_dup_mm(struct mm_struct *) which for the
    moment I've implemented to do the same thing on all architectures
    except on MIPS where it's a no-op.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    hwmon: Add MAINTAINERS entry for new ams driver
    hwmon: New AMS hardware monitoring driver
    hwmon/w83793: Add documentation and maintainer
    hwmon: New Winbond W83793 hardware monitoring driver
    hwmon: Update Rudolf Marek's e-mail address
    hwmon/f71805f: Fix the device address decoding
    hwmon/f71805f: Always create all fan inputs
    hwmon/f71805f: Add support for the Fintek F71872F/FG chip
    hwmon: New PC87427 hardware monitoring driver
    hwmon/it87: Remove the SMBus interface support
    hwmon/hdaps: Update the list of supported devices
    hwmon/hdaps: Move the DMI detection data to .data
    hwmon/pc87360: Autodetect the VRM version
    hwmon/f71805f: Document the fan control features
    hwmon/f71805f: Add support for "speed mode" fan speed control
    hwmon/f71805f: Support DC fan speed control mode
    hwmon/f71805f: Let the user adjust the PWM base frequency
    hwmon/f71805f: Add manual fan speed control
    hwmon/f71805f: Store the fan control registers

    Linus Torvalds
     
  • As Adrian pointed out recently, there were still a couple of places where
    I should have fixed my email address.

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

    Tigran Aivazian
     
  • Most distributions enable sysrq support but set it to 0 by default. Add a
    sysrq_always_enabled boot option to always-enable sysrq keys. Useful for
    debugging - without having to modify the disribution's config files (which
    might not be possible if the kernel is on a live CD, etc.).

    Also, while at it, clean up the sysrq interfaces.

    [bunk@stusta.de: make sysrq_always_enabled_setup() static]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

13 Dec, 2006

11 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
     
  • Documentation for the new w83793 hardware monitoring driver, originally
    provided by Yuan My from Winbond.

    Also add myself as the maintainer of this driver.

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

    Rudolf Marek
     
  • The Silicon Hill club is not what it used to be.

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

    Jean Delvare
     
  • Add support for the Fintek F71872F/FG Super-I/O chip. It is basically the
    same as the Fintek F71805F/FG as far as hardware monitoring is concerned,
    with two additional internal voltages monitored (VSB and battery), and 6
    VID inputs (not yet supported.)

    To make things a bit more confusing, two of the voltage input pins (in4
    and in8) can be used for other functions. The driver reads the pin
    configuration from the Super-I/O configuration space to decide whether
    it must create interface files for these inputs or not.

    Many thanks to Nikolay Derkach for testing the early iterations of this
    code and reporting bugs.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • This is a new hardware monitoring driver for the National Semiconductor
    PC87427 Super-I/O chip. It only supports fan speed monitoring for now,
    while the chip can do much more.

    Thanks to Amir Habibi at Candelis for setting up a test system, and to
    Michael Kress for testing several iterations of this driver.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • This interface was useless as the LPC ISA-like interface is always
    available, is faster, and is more reliable. This cuts the driver
    size by some 20%.

    This change is also required to later convert the it87 driver to a
    platform driver, so that we can get rid of i2c-isa in a near future.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Document the different fan control methods, list their options, and give
    some hints for best results.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

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

4 commits