07 May, 2010

1 commit


06 May, 2010

1 commit

  • Commit 6bfff31e77cfa1b13490337e5a4dbaa3407e83ac (libata: kill probe_ent
    and related helpers) killed ata_device_add() but didn't remove references
    to it from the libata developer's guide.

    Commits 9363c3825ea9ad76561eb48a395349dd29211ed6 (libata: rename SFF
    functions) and 5682ed33aae05d10a25c95633ef9d9c062825888 (libata: rename
    SFF port ops) renamed the taskfile access methods but didn't update the
    developer's guide. Commit c9f75b04ed5ed65a058d18a8a8dda50632a96de8
    (libata: kill ata_noop_dev_select()) didn't update the developer's
    guide as well.

    The guide also refers to the long gone ata_pio_data_xfer_noirq(),
    ata_pio_data_xfer(), and ata_mmio_data_xfer() -- replace those by
    the modern ata_sff_data_xfer_noirq(), ata_sff_data_xfer(), and
    ata_sff_data_xfer32().

    Also, remove the reference to non-existant ata_port_stop()...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: Jeff Garzik

    Sergei Shtylyov
     

05 May, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: joydev - allow binding to button-only devices
    Input: elantech - ignore high bits in the position coordinates
    Input: elantech - allow forcing Elantech protocol
    Input: elantech - fix firmware version check
    Input: ati_remote - add some missing devices from lirc_atiusb
    Input: eeti_ts - cancel pending work when going to suspend
    Input: Add support of Synaptics Clickpad device
    Revert "Input: ALPS - add signature for HP Pavilion dm3 laptops"
    Input: psmouse - ignore parity error for basic protocols

    Linus Torvalds
     

04 May, 2010

2 commits

  • After discovering that a lot of i2c-drivers leave the pointer to their
    clientdata dangling, it was decided to let the core handle this issue.
    It is assumed that the core may access the private data after remove()
    as there are no guarantees for the lifetime of such pointers anyhow (see
    thread starting at http://lkml.org/lkml/2010/3/21/68)

    Signed-off-by: Wolfram Sang
    Signed-off-by: Jean Delvare

    Wolfram Sang
     
  • In older versions of the elantech hardware/firmware those bits always
    were unset, so it didn't actually matter, but newer versions seem to
    use those high bits for something else, screwing up the coordinates
    we report to the input layer for those devices.

    Signed-off-by: Florian Ragwitz
    Signed-off-by: Dmitry Torokhov

    Florian Ragwitz
     

01 May, 2010

1 commit

  • * 'merge' of git://git.secretlab.ca/git/linux-2.6:
    spi: spidev_test gives error upon 1-byte transfer
    omap2_mcspi: small fixes of output data format
    omap2_mcspi: Flush posted writes
    spi: spi_device memory should be released instead of device.
    spi: release device claimed by bus_find_device_by_name
    of: check for IS_ERR()
    serial/mpc52xx_uart: Drop outdated comments
    gpio: potential null dereference

    Linus Torvalds
     

30 Apr, 2010

1 commit

  • The sample application spidev_test.c is using SPI_IOC_MESSAGE ioctl to do
    an SPI transfer. This ioctl returns the number of bytes successfully
    transmitted or a negative error code upon erroneous completion. The
    application however is returning an error if the result of the ioclt if
    the return value is 1. This makes the application to fail upon 1-byte
    length transfers.

    Signed-off-by: Hector Palacios
    Signed-off-by: Andrew Morton
    Signed-off-by: Grant Likely

    Hector Palacios
     

25 Apr, 2010

1 commit


23 Apr, 2010

4 commits


19 Apr, 2010

1 commit


16 Apr, 2010

2 commits

  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86/gart: Disable GART explicitly before initialization
    dma-debug: Cleanup for copy-loop in filter_write()
    x86/amd-iommu: Remove obsolete parameter documentation
    x86/amd-iommu: use for_each_pci_dev
    Revert "x86: disable IOMMUs on kernel crash"
    x86/amd-iommu: warn when issuing command to uninitialized cmd buffer
    x86/amd-iommu: enable iommu before attaching devices
    x86/amd-iommu: Use helper function to destroy domain
    x86/amd-iommu: Report errors in acpi parsing functions upstream
    x86/amd-iommu: Pt mode fix for domain_destroy
    x86/amd-iommu: Protect IOMMU-API map/unmap path
    x86/amd-iommu: Remove double NULL check in check_device

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: wacom - switch mode upon system resume
    Revert "Input: wacom - merge out and in prox events"
    Input: matrix_keypad - allow platform to disable key autorepeat
    Input: ALPS - add signature for HP Pavilion dm3 laptops
    Input: i8042 - spelling fix
    Input: sparse-keymap - implement safer freeing of the keymap
    Input: update the status of the Multitouch X driver project
    Input: clarify the no-finger event in multitouch protocol
    Input: bcm5974 - retract efi-broken suspend_resume
    Input: sparse-keymap - free the right keymap on error

    Linus Torvalds
     

14 Apr, 2010

1 commit

  • Update examples and lists of APIs to include these new
    primitives.

    Signed-off-by: Paul E. McKenney
    Cc: laijs@cn.fujitsu.com
    Cc: dipankar@in.ibm.com
    Cc: mathieu.desnoyers@polymtl.ca
    Cc: josh@joshtriplett.org
    Cc: dvhltc@us.ibm.com
    Cc: niv@us.ibm.com
    Cc: peterz@infradead.org
    Cc: rostedt@goodmis.org
    Cc: Valdis.Kletnieks@vt.edu
    Cc: dhowells@redhat.com
    Cc: eric.dumazet@gmail.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Paul E. McKenney
     

13 Apr, 2010

1 commit


11 Apr, 2010

1 commit


10 Apr, 2010

1 commit

  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block: (34 commits)
    cfq-iosched: Fix the incorrect timeslice accounting with forced_dispatch
    loop: Update mtime when writing using aops
    block: expose the statistics in blkio.time and blkio.sectors for the root cgroup
    backing-dev: Handle class_create() failure
    Block: Fix block/elevator.c elevator_get() off-by-one error
    drbd: lc_element_by_index() never returns NULL
    cciss: unlock on error path
    cfq-iosched: Do not merge queues of BE and IDLE classes
    cfq-iosched: Add additional blktrace log messages in CFQ for easier debugging
    i2o: Remove the dangerous kobj_to_i2o_device macro
    block: remove 16 bytes of padding from struct request on 64bits
    cfq-iosched: fix a kbuild regression
    block: make CONFIG_BLK_CGROUP visible
    Remove GENHD_FL_DRIVERFS
    block: Export max number of segments and max segment size in sysfs
    block: Finalize conversion of block limits functions
    block: Fix overrun in lcm() and move it to lib
    vfs: improve writeback_inodes_wb()
    paride: fix off-by-one test
    drbd: fix al-to-on-disk-bitmap for 4k logical_block_size
    ...

    Linus Torvalds
     

08 Apr, 2010

1 commit


07 Apr, 2010

5 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: mixart: range checking proc file
    ALSA: hda - Fix a wrong array range check in patch_realtek.c
    ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream
    ALSA: hda - Enable amplifiers on Acer Inspire 6530G
    ASoC: Only do WM8994 bias off transition from standby
    ASoC: Don't use DCS_DATAPATH_BUSY for WM hubs devices
    ASoC: Don't do runtime wm_hubs DC servo updates if using offset correction
    ASoC: Support second DC servo readback method for wm_hubs
    ASoC: Avoid wraparound in wm_hubs DC servo correction
    ALSA: echoaudio - Eliminate use after free
    ALSA: i2c: cleanup: change parameter to pointer
    ALSA: hda - Add MSI blacklist for Aopen MZ915-M
    ASoC: OMAP: Fix capture pointer handling for OMAP1510 to work correctly with recent ALSA PCM code
    ALSA: hda - Update document about MSI and interrupts
    ALSA: hda: Fix 0 dB offset for Lenovo Thinkpad models using AD1981
    ALSA: hda - Add missing printk argument in previous patch
    ASoC: Fix passing platform_data to ac97 bus users and fix a leak
    ALSA: hda - Fix ADC/MUX assignment of ALC269 codec
    ALSA: hda - Fix invalid bit values passed to snd_hda_codec_amp_stereo()
    ASoC: wm8994: playback => capture

    Linus Torvalds
     
  • Rename imacfb.txt to efifb.txt since imacfb was moved to efifb,and change
    imacfb to efifb.

    Signed-off-by: Justin P. Mattock
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Justin P. Mattock
     
  • Joerg Roedel
     
  • Support for the share and fullflush parameters was removed.
    Remove the documentation about them too.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
    [WATCHDOG] hpwdt - fix lower timeout limit
    [WATCHDOG] iTCO_wdt: TCO Watchdog patch for additional Intel Cougar Point DeviceIDs
    [WATCHDOG] doc: Fix use of WDIOC_SETOPTIONS ioctl.
    [WATCHDOG] doc: watchdog simple example: don't fail on fsync()
    [WATCHDOG] set max63xx driver as ARM only
    [WATCHDOG] powerpc: pika_wdt ident cannot be const

    Linus Torvalds
     

06 Apr, 2010

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (37 commits)
    smc91c92_cs: fix the problem of "Unable to find hardware address"
    r8169: clean up my printk uglyness
    net: Hook up cxgb4 to Kconfig and Makefile
    cxgb4: Add main driver file and driver Makefile
    cxgb4: Add remaining driver headers and L2T management
    cxgb4: Add packet queues and packet DMA code
    cxgb4: Add HW and FW support code
    cxgb4: Add register, message, and FW definitions
    netlabel: Fix several rcu_dereference() calls used without RCU read locks
    bonding: fix potential deadlock in bond_uninit()
    net: check the length of the socket address passed to connect(2)
    stmmac: add documentation for the driver.
    stmmac: fix kconfig for crc32 build error
    be2net: fix bug in vlan rx path for big endian architecture
    be2net: fix flashing on big endian architectures
    be2net: fix a bug in flashing the redboot section
    bonding: bond_xmit_roundrobin() fix
    drivers/net: Add missing unlock
    net: gianfar - align BD ring size console messages
    net: gianfar - initialize per-queue statistics
    ...

    Linus Torvalds
     
  • In the watchdog-test program and watchdog-api.txt, pass the values to
    the WDIOC_SETOPTIONS ioctl as a pointer to an integer containing the
    values intead of directly in the third ioctl argument. The actual
    watchdog drivers in drivers/watchdog don't read the options directly
    from the argument but use get_user and copy_from_user.

    Signed-off-by: James Hogan
    Signed-off-by: Wim Van Sebroeck
    Signed-off-by: Andrew Morton

    James Hogan
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
    9p: saving negative to unsigned char
    9p: return on mutex_lock_interruptible()
    9p: Creating files with names too long should fail with ENAMETOOLONG.
    9p: Make sure we are able to clunk the cached fid on umount
    9p: drop nlink remove
    fs/9p: Clunk the fid resulting from partial walk of the name
    9p: documentation update
    9p: Fix setting of protocol flags in v9fs_session_info structure.

    Linus Torvalds
     

05 Apr, 2010

2 commits


04 Apr, 2010

1 commit


03 Apr, 2010

1 commit


02 Apr, 2010

2 commits


30 Mar, 2010

3 commits

  • …it slab.h inclusion from percpu.h

    percpu.h is included by sched.h and module.h and thus ends up being
    included when building most .c files. percpu.h includes slab.h which
    in turn includes gfp.h making everything defined by the two files
    universally available and complicating inclusion dependencies.

    percpu.h -> slab.h dependency is about to be removed. Prepare for
    this change by updating users of gfp and slab facilities include those
    headers directly instead of assuming availability. As this conversion
    needs to touch large number of source files, the following script is
    used as the basis of conversion.

    http://userweb.kernel.org/~tj/misc/slabh-sweep.py

    The script does the followings.

    * Scan files for gfp and slab usages and update includes such that
    only the necessary includes are there. ie. if only gfp is used,
    gfp.h, if slab is used, slab.h.

    * When the script inserts a new include, it looks at the include
    blocks and try to put the new include such that its order conforms
    to its surrounding. It's put in the include block which contains
    core kernel includes, in the same order that the rest are ordered -
    alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
    doesn't seem to be any matching order.

    * If the script can't find a place to put a new include (mostly
    because the file doesn't have fitting include block), it prints out
    an error message indicating which .h file needs to be added to the
    file.

    The conversion was done in the following steps.

    1. The initial automatic conversion of all .c files updated slightly
    over 4000 files, deleting around 700 includes and adding ~480 gfp.h
    and ~3000 slab.h inclusions. The script emitted errors for ~400
    files.

    2. Each error was manually checked. Some didn't need the inclusion,
    some needed manual addition while adding it to implementation .h or
    embedding .c file was more appropriate for others. This step added
    inclusions to around 150 files.

    3. The script was run again and the output was compared to the edits
    from #2 to make sure no file was left behind.

    4. Several build tests were done and a couple of problems were fixed.
    e.g. lib/decompress_*.c used malloc/free() wrappers around slab
    APIs requiring slab.h to be added manually.

    5. The script was run on all .h files but without automatically
    editing them as sprinkling gfp.h and slab.h inclusions around .h
    files could easily lead to inclusion dependency hell. Most gfp.h
    inclusion directives were ignored as stuff from gfp.h was usually
    wildly available and often used in preprocessor macros. Each
    slab.h inclusion directive was examined and added manually as
    necessary.

    6. percpu.h was updated not to include slab.h.

    7. Build test were done on the following configurations and failures
    were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
    distributed build env didn't work with gcov compiles) and a few
    more options had to be turned off depending on archs to make things
    build (like ipr on powerpc/64 which failed due to missing writeq).

    * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
    * powerpc and powerpc64 SMP allmodconfig
    * sparc and sparc64 SMP allmodconfig
    * ia64 SMP allmodconfig
    * s390 SMP allmodconfig
    * alpha SMP allmodconfig
    * um on x86_64 SMP allmodconfig

    8. percpu.h modifications were reverted so that it could be applied as
    a separate patch and serve as bisection point.

    Given the fact that I had only a couple of failures from tests on step
    6, I'm fairly confident about the coverage of this conversion patch.
    If there is a breakage, it's likely to be something in one of the arch
    headers which should be easily discoverable easily on most builds of
    the specific arch.

    Signed-off-by: Tejun Heo <tj@kernel.org>
    Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>

    Tejun Heo
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (28 commits)
    ceph: update discussion list address in MAINTAINERS
    ceph: some documentations fixes
    ceph: fix use after free on mds __unregister_request
    ceph: avoid loaded term 'OSD' in documention
    ceph: fix possible double-free of mds request reference
    ceph: fix session check on mds reply
    ceph: handle kmalloc() failure
    ceph: propagate mds session allocation failures to caller
    ceph: make write_begin wait propagate ERESTARTSYS
    ceph: fix snap rebuild condition
    ceph: avoid reopening osd connections when address hasn't changed
    ceph: rename r_sent_stamp r_stamp
    ceph: fix connection fault con_work reentrancy problem
    ceph: prevent dup stale messages to console for restarting mds
    ceph: fix pg pool decoding from incremental osdmap update
    ceph: fix mds sync() race with completing requests
    ceph: only release unused caps with mds requests
    ceph: clean up handle_cap_grant, handle_caps wrt session mutex
    ceph: fix session locking in handle_caps, ceph_check_caps
    ceph: drop unnecessary WARN_ON in caps migration
    ...

    Linus Torvalds
     
  • New documentation should have an entry in the 00-INDEX. Correct git
    urls.

    Signed-off-by: Cheng Renquan
    Signed-off-by: Sage Weil

    Cheng Renquan
     

27 Mar, 2010

1 commit


25 Mar, 2010

2 commits

  • Document the circular buffering capabilities available in Linux.

    Signed-off-by: David Howells
    Signed-off-by: Paul E. McKenney
    Reviewed-by: Randy Dunlap
    Reviewed-by: Stefan Richter
    Signed-off-by: Linus Torvalds

    David Howells
     
  • commit 3f226aa1c (mempolicy: support mpol=local tmpfs mount option) added
    new mpol=local mount option. but it didn't add a documentation.

    This patch does it.

    Signed-off-by: KOSAKI Motohiro
    Cc: Ravikiran Thirumalai
    Cc: Christoph Lameter
    Cc: Mel Gorman
    Acked-by: Lee Schermerhorn
    Cc: Hugh Dickins
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KOSAKI Motohiro