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

5 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
     
  • This patch renames PCI/PCI-DMA-mapping.txt to DMA-API-HOWTO.txt.

    The commit 51e7364ef281e540371f084008732b13292622f0 "Documentation: rename
    PCI-DMA-mapping.txt to DMA-API-HOWTO.txt" was supposed to do this but it
    didn't.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Update memory.txt to be more consistent: s/swapiness/swappiness/

    Signed-off-by: Greg Thelen
    Acked-by: Balbir Singh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Greg Thelen
     
  • cpu_relax() is documented in volatile-considered-harmful.txt to be a
    memory barrier. However, everyone with the exception of Blackfin and
    possibly ia64 defines cpu_relax() to be a compiler barrier.

    Make the documentation reflect the general concensus.

    Linus sayeth:

    : I don't think it was ever the intention that it would be seen as anything
    : but a compiler barrier, although it is obviously implied that it might
    : well perform some per-architecture actions that have "memory barrier-like"
    : semantics.
    :
    : After all, the whole and only point of the "cpu_relax()" thing is to tell
    : the CPU that we're busy-looping on some event.
    :
    : And that "event" might be (and often is) about reading the same memory
    : location over and over until it changes to what we want it to be. So it's
    : quite possible that on various architectures the "cpu_relax()" could be
    : about making sure that such a tight loop on loads doesn't starve cache
    : transactions, for example - and as such look a bit like a memory barrier
    : from a CPU standpoint.
    :
    : But it's not meant to have any kind of architectural memory ordering
    : semantics as far as the kernel is concerned - those must come from other
    : sources.

    Signed-off-by: Russell King
    Cc:
    Acked-by: Linus Torvalds
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Russell King
     

23 Mar, 2010

1 commit


22 Mar, 2010

2 commits


20 Mar, 2010

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    driver core: numa: fix BUILD_BUG_ON for node_read_distance
    driver-core: document ERR_PTR() return values
    kobject: documentation: Update to refer to kset-example.c.
    sysdev: the cpu probe/release attributes should be sysdev_class_attributes
    kobject: documentation: Fix erroneous example in kobject doc.
    driver-core: fix missing kernel-doc in firmware_class
    Driver core: Early platform kernel-doc update
    sysfs: fix sysfs lockdep warning in mlx4 code
    sysfs: fix sysfs lockdep warning in infiniband code
    sysfs: fix sysfs lockdep warning in ipmi code
    sysfs: Initialised pci bus legacy_mem field before use
    sysfs: use sysfs_bin_attr_init in firmware class driver

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (45 commits)
    USB: gadget/multi: cdc_do_config: remove redundant check
    usb: r8a66597-hcd: fix removed from an attached hub
    USB: xhci: Make endpoint interval debugging clearer.
    USB: Fix usb_fill_int_urb for SuperSpeed devices
    USB: cp210x: Remove double usb_control_msg from cp210x_set_config
    USB: Remove last bit of CONFIG_USB_BERRY_CHARGE
    USB: gadget: add gadget controller number for s3c-hsotg driver
    USB: ftdi_sio: Fix locking for change_speed() function
    USB: g_mass_storage: fixed module name in Kconfig
    USB: gadget: f_mass_storage::fsg_bind(): fix error handling
    USB: g_mass_storage: fix section mismatch warnings
    USB: gadget: fix Blackfin builds after gadget cleansing
    USB: goku_udc: remove potential null dereference
    USB: option.c: Add Pirelli VID/PID and indicate Pirelli's modem interface is 0xff
    USB: serial: Fix module name typo for qcaux Kconfig entry.
    usb: cdc-wdm: Fix deadlock between write and resume
    usb: cdc-wdm: Fix order in disconnect and fix locking
    usb: cdc-wdm:Fix loss of data due to autosuspend
    usb: cdc-wdm: Fix submission of URB after suspension
    usb: cdc-wdm: Fix race between disconnect and debug messages
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (205 commits)
    ceph: update for write_inode API change
    ceph: reset osd after relevant messages timed out
    ceph: fix flush_dirty_caps race with caps migration
    ceph: include migrating caps in issued set
    ceph: fix osdmap decoding when pools include (removed) snaps
    ceph: return EBADF if waiting for caps on closed file
    ceph: set osd request message front length correctly
    ceph: reset front len on return to msgpool; BUG on mismatched front iov
    ceph: fix snaptrace decoding on cap migration between mds
    ceph: use single osd op reply msg
    ceph: reset bits on connection close
    ceph: remove bogus mds forward warning
    ceph: remove fragile __map_osds optimization
    ceph: fix connection fault STANDBY check
    ceph: invalidate_authorizer without con->mutex held
    ceph: don't clobber write return value when using O_SYNC
    ceph: fix client_request_forward decoding
    ceph: drop messages on unregistered mds sessions; cleanup
    ceph: fix comments, locking in destroy_inode
    ceph: move dereference after NULL test
    ...

    Fix trivial conflicts in Documentation/ioctl/ioctl-number.txt

    Linus Torvalds
     

19 Mar, 2010

3 commits