12 Jun, 2009

5 commits

  • * 'for-linus' of git://linux-arm.org/linux-2.6:
    kmemleak: Add the corresponding MAINTAINERS entry
    kmemleak: Simple testing module for kmemleak
    kmemleak: Enable the building of the memory leak detector
    kmemleak: Remove some of the kmemleak false positives
    kmemleak: Add modules support
    kmemleak: Add kmemleak_alloc callback from alloc_large_system_hash
    kmemleak: Add the vmalloc memory allocation/freeing hooks
    kmemleak: Add the slub memory allocation/freeing hooks
    kmemleak: Add the slob memory allocation/freeing hooks
    kmemleak: Add the slab memory allocation/freeing hooks
    kmemleak: Add documentation on the memory leak detector
    kmemleak: Add the base support

    Manual conflict resolution (with the slab/earlyboot changes) in:
    drivers/char/vt.c
    init/main.c
    mm/slab.c

    Linus Torvalds
     
  • * 'for-2.6.31' of git://git.kernel.dk/linux-2.6-block: (153 commits)
    block: add request clone interface (v2)
    floppy: fix hibernation
    ramdisk: remove long-deprecated "ramdisk=" boot-time parameter
    fs/bio.c: add missing __user annotation
    block: prevent possible io_context->refcount overflow
    Add serial number support for virtio_blk, V4a
    block: Add missing bounce_pfn stacking and fix comments
    Revert "block: Fix bounce limit setting in DM"
    cciss: decode unit attention in SCSI error handling code
    cciss: Remove no longer needed sendcmd reject processing code
    cciss: change SCSI error handling routines to work with interrupts enabled.
    cciss: separate error processing and command retrying code in sendcmd_withirq_core()
    cciss: factor out fix target status processing code from sendcmd functions
    cciss: simplify interface of sendcmd() and sendcmd_withirq()
    cciss: factor out core of sendcmd_withirq() for use by SCSI error handling code
    cciss: Use schedule_timeout_uninterruptible in SCSI error handling code
    block: needs to set the residual length of a bidi request
    Revert "block: implement blkdev_readpages"
    block: Fix bounce limit setting in DM
    Removed reference to non-existing file Documentation/PCI/PCI-DMA-mapping.txt
    ...

    Manually fix conflicts with tracing updates in:
    block/blk-sysfs.c
    drivers/ide/ide-atapi.c
    drivers/ide/ide-cd.c
    drivers/ide/ide-floppy.c
    drivers/ide/ide-tape.c
    include/trace/events/block.h
    kernel/trace/blktrace.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw: (25 commits)
    GFS2: Merge gfs2_get_sb into gfs2_get_sb_meta
    GFS2: Fix cache coherency between truncate and O_DIRECT read
    GFS2: Fix locking issue mounting gfs2meta fs
    GFS2: Remove unused variable
    GFS2: smbd proccess hangs with flock() call.
    GFS2: Remove args subdir from gfs2 sysfs files
    GFS2: Remove lockstruct subdir from gfs2 sysfs files
    GFS2: Move gfs2_unlink_ok into ops_inode.c
    GFS2: Move gfs2_readlinki into ops_inode.c
    GFS2: Move gfs2_rmdiri into ops_inode.c
    GFS2: Merge mount.c and ops_super.c into super.c
    GFS2: Clean up some file names
    GFS2: Be more aggressive in reclaiming unlinked inodes
    GFS2: Add a rgrp bitmap full flag
    GFS2: Improve resource group error handling
    GFS2: Don't warn when delete inode fails on ro filesystem
    GFS2: Update docs
    GFS2: Umount recovery race fix
    GFS2: Remove a couple of unused sysfs entries
    GFS2: Add commit= mount option
    ...

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: (44 commits)
    nommu: Provide mmap_min_addr definition.
    TOMOYO: Add description of lists and structures.
    TOMOYO: Remove unused field.
    integrity: ima audit dentry_open failure
    TOMOYO: Remove unused parameter.
    security: use mmap_min_addr indepedently of security models
    TOMOYO: Simplify policy reader.
    TOMOYO: Remove redundant markers.
    SELinux: define audit permissions for audit tree netlink messages
    TOMOYO: Remove unused mutex.
    tomoyo: avoid get+put of task_struct
    smack: Remove redundant initialization.
    integrity: nfsd imbalance bug fix
    rootplug: Remove redundant initialization.
    smack: do not beyond ARRAY_SIZE of data
    integrity: move ima_counts_get
    integrity: path_check update
    IMA: Add __init notation to ima functions
    IMA: Minimal IMA policy and boot param for TCB IMA policy
    selinux: remove obsolete read buffer limit from sel_read_bool
    ...

    Linus Torvalds
     
  • This patch adds the Documentation/kmemleak.txt file with some
    information about how kmemleak works.

    Signed-off-by: Catalin Marinas

    Catalin Marinas
     

11 Jun, 2009

12 commits

  • * 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (244 commits)
    Revert "x86, bts: reenable ptrace branch trace support"
    tracing: do not translate event helper macros in print format
    ftrace/documentation: fix typo in function grapher name
    tracing/events: convert block trace points to TRACE_EVENT(), fix !CONFIG_BLOCK
    tracing: add protection around module events unload
    tracing: add trace_seq_vprint interface
    tracing: fix the block trace points print size
    tracing/events: convert block trace points to TRACE_EVENT()
    ring-buffer: fix ret in rb_add_time_stamp
    ring-buffer: pass in lockdep class key for reader_lock
    tracing: add annotation to what type of stack trace is recorded
    tracing: fix multiple use of __print_flags and __print_symbolic
    tracing/events: fix output format of user stack
    tracing/events: fix output format of kernel stack
    tracing/trace_stack: fix the number of entries in the header
    ring-buffer: discard timestamps that are at the start of the buffer
    ring-buffer: try to discard unneeded timestamps
    ring-buffer: fix bug in ring_buffer_discard_commit
    ftrace: do not profile functions when disabled
    tracing: make trace pipe recognize latency format flag
    ...

    Linus Torvalds
     
  • * 'oprofile-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    oprofile: introduce module_param oprofile.cpu_type
    oprofile: add support for Core i7 and Atom
    oprofile: remove undocumented oprofile.p4force option
    oprofile: re-add force_arch_perfmon option

    Linus Torvalds
     
  • * 'rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    rcu: rcu_sched_grace_period(): kill the bogus flush_signals()
    rculist: use list_entry_rcu in places where it's appropriate
    rculist.h: introduce list_entry_rcu() and list_first_entry_rcu()
    rcu: Update RCU tracing documentation for __rcu_pending
    rcu: Add __rcu_pending tracing to hierarchical RCU
    RCU: make treercu be default

    Linus Torvalds
     
  • James Morris
     
  • * 'iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (61 commits)
    amd-iommu: remove unnecessary "AMD IOMMU: " prefix
    amd-iommu: detach device explicitly before attaching it to a new domain
    amd-iommu: remove BUS_NOTIFY_BOUND_DRIVER handling
    dma-debug: simplify logic in driver_filter()
    dma-debug: disable/enable irqs only once in device_dma_allocations
    dma-debug: use pr_* instead of printk(KERN_* ...)
    dma-debug: code style fixes
    dma-debug: comment style fixes
    dma-debug: change hash_bucket_find from first-fit to best-fit
    x86: enable GART-IOMMU only after setting up protection methods
    amd_iommu: fix lock imbalance
    dma-debug: add documentation for the driver filter
    dma-debug: add dma_debug_driver kernel command line
    dma-debug: add debugfs file for driver filter
    dma-debug: add variables and checks for driver filter
    dma-debug: fix debug_dma_sync_sg_for_cpu and debug_dma_sync_sg_for_device
    dma-debug: use sg_dma_len accessor
    dma-debug: use sg_dma_address accessor instead of using dma_address directly
    amd-iommu: don't free dma adresses below 512MB with CONFIG_IOMMU_STRESS
    amd-iommu: don't preallocate page tables with CONFIG_IOMMU_STRESS
    ...

    Linus Torvalds
     
  • * 'futexes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    futex: fix restart in wait_requeue_pi
    futex: fix restart for early wakeup in futex_wait_requeue_pi()
    futex: cleanup error exit
    futex: remove the wait queue
    futex: add requeue-pi documentation
    futex: remove FUTEX_REQUEUE_PI (non CMP)
    futex: fix futex_wait_setup key handling
    sparc64: extend TI_RESTART_BLOCK space by 8 bytes
    futex: fixup unlocked requeue pi case
    futex: add requeue_pi functionality
    futex: split out futex value validation code
    futex: distangle futex_requeue()
    futex: add FUTEX_HAS_TIMEOUT flag to restart.futex.flags
    rt_mutex: add proxy lock routines
    futex: split out fixup owner logic from futex_lock_pi()
    futex: split out atomic logic from futex_lock_pi()
    futex: add helper to find the top prio waiter of a futex
    futex: separate futex_wait_queue_me() logic from futex_wait()

    Linus Torvalds
     
  • * 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (22 commits)
    x86: fix system without memory on node0
    x86, mm: Fix node_possible_map logic
    mm, x86: remove MEMORY_HOTPLUG_RESERVE related code
    x86: make sparse mem work in non-NUMA mode
    x86: process.c, remove useless headers
    x86: merge process.c a bit
    x86: use sparse_memory_present_with_active_regions() on UMA
    x86: unify 64-bit UMA and NUMA paging_init()
    x86: Allow 1MB of slack between the e820 map and SRAT, not 4GB
    x86: Sanity check the e820 against the SRAT table using e820 map only
    x86: clean up and and print out initial max_pfn_mapped
    x86/pci: remove rounding quirk from e820_setup_gap()
    x86, e820, pci: reserve extra free space near end of RAM
    x86: fix typo in address space documentation
    x86: 46 bit physical address support on 64 bits
    x86, mm: fault.c, use printk_once() in is_errata93()
    x86: move per-cpu mmu_gathers to mm/init.c
    x86: move max_pfn_mapped and max_low_pfn_mapped to setup.c
    x86: unify noexec handling
    x86: remove (null) in /sys kernel_page_tables
    ...

    Linus Torvalds
     
  • * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: cpu_debug: Remove model information to reduce encoding-decoding
    x86: fixup numa_node information for AMD CPU northbridge functions
    x86: k8 convert node_to_k8_nb_misc() from a macro to an inline function
    x86: cacheinfo: complete L2/L3 Cache and TLB associativity field definitions
    x86/docs: add description for cache_disable sysfs interface
    x86: cacheinfo: disable L3 ECC scrubbing when L3 cache index is disabled
    x86: cacheinfo: replace sysfs interface for cache_disable feature
    x86: cacheinfo: use cached K8 NB_MISC devices instead of scanning for it
    x86: cacheinfo: correct return value when cache_disable feature is not active
    x86: cacheinfo: use L3 cache index disable feature only for CPUs that support it

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'sched-docs-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: Document memory barriers implied by sleep/wake-up primitives

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: fix typo in sched-rt-group.txt file
    ftrace: fix typo about map of kernel priority in ftrace.txt file.
    sched: properly define the sched_group::cpumask and sched_domain::span fields
    sched, timers: cleanup avenrun users
    sched, timers: move calc_load() to scheduler
    sched: Don't export sched_mc_power_savings on multi-socket single core system
    sched: emit thread info flags with stack trace
    sched: rt: document the risk of small values in the bandwidth settings
    sched: Replace first_cpu() with cpumask_first() in ILB nomination code
    sched: remove extra call overhead for schedule()
    sched: use group_first_cpu() instead of cpumask_first(sched_group_cpus())
    wait: don't use __wake_up_common()
    sched: Nominate a power-efficient ilb in select_nohz_balancer()
    sched: Nominate idle load balancer from a semi-idle package.
    sched: remove redundant hierarchy walk in check_preempt_wakeup

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'x86-kbuild-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (46 commits)
    x86, boot: add new generated files to the appropriate .gitignore files
    x86, boot: correct the calculation of ZO_INIT_SIZE
    x86-64: align __PHYSICAL_START, remove __KERNEL_ALIGN
    x86, boot: correct sanity checks in boot/compressed/misc.c
    x86: add extension fields for bootloader type and version
    x86, defconfig: update kernel position parameters
    x86, defconfig: update to current, no material changes
    x86: make CONFIG_RELOCATABLE the default
    x86: default CONFIG_PHYSICAL_START and CONFIG_PHYSICAL_ALIGN to 16 MB
    x86: document new bzImage fields
    x86, boot: make kernel_alignment adjustable; new bzImage fields
    x86, boot: remove dead code from boot/compressed/head_*.S
    x86, boot: use LOAD_PHYSICAL_ADDR on 64 bits
    x86, boot: make symbols from the main vmlinux available
    x86, boot: determine compressed code offset at compile time
    x86, boot: use appropriate rep string for move and clear
    x86, boot: zero EFLAGS on 32 bits
    x86, boot: set up the decompression stack as early as possible
    x86, boot: straighten out ranges to copy/zero in compressed/head*.S
    x86, boot: stylistic cleanups for boot/compressed/head_64.S
    ...

    Fixed trivial conflict in arch/x86/configs/x86_64_defconfig manually

    Linus Torvalds
     
  • The function graph tracer is called just "function_graph" (no trailing
    "_tracer" needed).

    Signed-off-by: Mike Frysinger
    LKML-Reference:
    Signed-off-by: Steven Rostedt

    Mike Frysinger
     

09 Jun, 2009

1 commit


07 Jun, 2009

3 commits


02 Jun, 2009

6 commits

  • This patch adds the driver filter feature to the dma-debug
    documentation.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     
  • This patch add the dma_debug_driver= boot parameter to enable the driver
    filter for early boot.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     
  • File Documentation/PCI/PCI-DMA-mapping.txt does not exist.
    Documentation/DMA-mapping.txt contains DMA Mapping details

    Signed-off-by: vibi sreenivasan
    Signed-off-by: Jens Axboe

    vibi sreenivasan
     
  • Add sysfs entries to the cciss driver needed for the dm/multipath tools.

    A file for vendor, model, rev, and unique_id is added for each logical
    drive under directory /sys/bus/pci/devices//ccissX/cXdY. Where X =
    the controller (or host) number and Y is the logical drive number.

    A link from /sys/bus/pci/devices//ccissX/cXdY/block:cciss!cXdY to
    /sys/block/cciss!cXdY/device is also created. A bus is created in
    /sys/bus/cciss. A link is created from the pci ccissX entry to
    /sys/bus/cciss/devices/ccissX. Please consider this for inclusion.

    Signed-off-by: Mike Miller
    Cc: Stephen M. Cameron
    Signed-off-by: Jens Axboe

    Andrew Patterson
     
  • When using ftrace=function on the command line to trace functions
    on boot up, one can not filter out functions that are commonly called.

    This patch adds two new ftrace command line commands.

    ftrace_notrace=function-list
    ftrace_filter=function-list

    Where function-list is a comma separated list of functions to filter.
    The ftrace_notrace will make the functions listed not be included
    in the function tracing, and ftrace_filter will only trace the functions
    listed.

    These two act the same as the debugfs/tracing/set_ftrace_notrace and
    debugfs/tracing/set_ftrace_filter respectively.

    The simple glob expressions that are allowed by the filter files can also
    be used by the command line interface.

    ftrace_notrace=rcu*,*lock,*spin*

    Will not trace any function that starts with rcu, ends with lock, or has
    the word spin in it.

    Note, if the self tests are enabled, they may interfere with the filtering
    set by the command lines.

    Signed-off-by: Steven Rostedt

    Steven Rostedt
     
  • Conflicts:
    arch/mips/sibyte/bcm1480/irq.c
    arch/mips/sibyte/sb1250/irq.c

    Merge reason: we gathered a few conflicts plus update to latest upstream fixes.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

01 Jun, 2009

1 commit


29 May, 2009

4 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: libps2 - better handle bad scheduler decisions
    Input: usb1400_ts - fix access to "device data" in resume function
    Input: multitouch - augment event semantics documentation
    Input: multitouch - add tracking ID to the protocol

    Linus Torvalds
     
  • Fix typo about static priority's range.

    Kernel Space User Space
    ===============================================================
    0(high) to 98(low) user RT priority 99(high) to 1(low)
    with SCHED_RR or SCHED_FIFO
    ---------------------------------------------------------------
    99 sched_priority is not used in scheduling
    decisions(it must be specified as 0)
    ---------------------------------------------------------------
    100(high) to 139(low) user nice -20(high) to 19(low)
    ---------------------------------------------------------------
    140 idle task priority
    ---------------------------------------------------------------
    * ref) http://www.kernel.org/doc/man-pages/online/pages/man2/sched_setscheduler.2.html

    Signed-off-by: GeunSik Lim
    CC: Steven Rostedt
    Signed-off-by: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    GeunSik Lim
     
  • Fix typo about chart to map the kernel priority to user land priorities.

    * About sched_setscheduler(2)
    Processes scheduled under SCHED_FIFO or SCHED_RR
    can have a (user-space) static priority in the range 1 to 99.
    (reference: http://www.kernel.org/doc/man-pages/online/pages/
    man2/sched_setscheduler.2.html)

    * From: Steven Rostedt
    0 to 98 - maps to RT tasks 99 to 1 (SCHED_RR or SCHED_FIFO)

    99 - maps to internal kernel threads that want to be lower than RT tasks
    but higher than SCHED_OTHER tasks. Although I'm not sure if any
    kernel thread actually uses this. I'm not even sure how this can be
    set, because the internal sched_setscheduler function does not allow
    for it.

    100 to 139 - maps nice levels -20 to 19. These are not set via
    sched_setscheduler, but are set via the nice system call.

    140 - reserved for idle tasks.

    Signed-off-by: GeunSik Lim
    Acked-by: Steven Rostedt
    Signed-off-by: Peter Zijlstra
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    GeunSik Lim
     
  • This parameter is not longer necessary when aperture increases
    dynamically.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     

27 May, 2009

3 commits


26 May, 2009

2 commits

  • The kmemtrace.enable kernel parameter no longer works. To enable
    kmemtrace at boot-time, you must pass "ftrace=kmemtrace" instead.

    [ Impact: remove obsolete kernel parameter documentation ]

    Cc: Eduard - Gabriel Munteanu
    Signed-off-by: Pekka Enberg
    LKML-Reference:
    Signed-off-by: Frederic Weisbecker

    Pekka Enberg
     
  • …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: Remove remap percpu allocator for the time being
    x86: cpa_flush_array wbinvd should be done on all CPUs
    x86: bugfix wbinvd() model check instead of family check
    x86: introduce noxsave boot parameter
    x86, setup: revert ACPI 3 E820 extended attributes support
    x86: DMI match for the Sony VGN-Z540N as it needs BIOS reboot

    Linus Torvalds
     

25 May, 2009

1 commit

  • The recent fix for the headphone volume control on IDT/STAC codecs
    resulted in the removal of invalid "Side" volume eventually. But,
    if the front panel doesn't exist, this setup could be regarded as a
    sort of regression, as reported in kernel bug #13250.

    Now as a workaround, a new model 5stack-no-fp is added so that the user
    without the front panel can choose this one explicitly.

    Reference: bko#13250
    http://bugzilla.kernel.org/show_bug.cgi?id=13250

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

24 May, 2009

1 commit


23 May, 2009

1 commit

  • To support devices with physical block sizes bigger than 512 bytes we
    need to ensure proper alignment. This patch adds support for exposing
    I/O topology characteristics as devices are stacked.

    logical_block_size is the smallest unit the device can address.

    physical_block_size indicates the smallest I/O the device can write
    without incurring a read-modify-write penalty.

    The io_min parameter is the smallest preferred I/O size reported by
    the device. In many cases this is the same as the physical block
    size. However, the io_min parameter can be scaled up when stacking
    (RAID5 chunk size > physical block size).

    The io_opt characteristic indicates the optimal I/O size reported by
    the device. This is usually the stripe width for arrays.

    The alignment_offset parameter indicates the number of bytes the start
    of the device/partition is offset from the device's natural alignment.
    Partition tools and MD/DM utilities can use this to pad their offsets
    so filesystems start on proper boundaries.

    Signed-off-by: Martin K. Petersen
    Signed-off-by: Jens Axboe

    Martin K. Petersen