27 Mar, 2009

13 commits

  • * 'bkl-removal' of git://git.lwn.net/linux-2.6:
    Rationalize fasync return values
    Move FASYNC bit handling to f_op->fasync()
    Use f_lock to protect f_flags
    Rename struct file->f_ep_lock

    Linus Torvalds
     
  • * 'irq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (32 commits)
    x86: disable __do_IRQ support
    sparseirq, powerpc/cell: fix unused variable warning in interrupt.c
    genirq: deprecate obsolete typedefs and defines
    genirq: deprecate __do_IRQ
    genirq: add doc to struct irqaction
    genirq: use kzalloc instead of explicit zero initialization
    genirq: make irqreturn_t an enum
    genirq: remove redundant if condition
    genirq: remove unused hw_irq_controller typedef
    irq: export remove_irq() and setup_irq() symbols
    irq: match remove_irq() args with setup_irq()
    irq: add remove_irq() for freeing of setup_irq() irqs
    genirq: assert that irq handlers are indeed running in hardirq context
    irq: name 'p' variables a bit better
    irq: further clean up the free_irq() code flow
    irq: refactor and clean up the free_irq() code flow
    irq: clean up manage.c
    irq: use GFP_KERNEL for action allocation in request_irq()
    kernel/irq: fix sparse warning: make symbol static
    irq: optimize init_kstat_irqs/init_copy_kstat_irqs
    ...

    Linus Torvalds
     
  • * 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (26 commits)
    posix timers: fix RLIMIT_CPU && fork()
    time: ntp: fix bug in ntp_update_offset() & do_adjtimex(), fix
    time: ntp: clean up second_overflow()
    time: ntp: simplify ntp_tick_adj calculations
    time: ntp: make 64-bit constants more robust
    time: ntp: refactor do_adjtimex() some more
    time: ntp: refactor do_adjtimex()
    time: ntp: fix bug in ntp_update_offset() & do_adjtimex()
    time: ntp: micro-optimize ntp_update_offset()
    time: ntp: simplify ntp_update_offset_fll()
    time: ntp: refactor and clean up ntp_update_offset()
    time: ntp: refactor up ntp_update_frequency()
    time: ntp: clean up ntp_update_frequency()
    time: ntp: simplify the MAX_TICKADJ_SCALED definition
    time: ntp: simplify the second_overflow() code flow
    time: ntp: clean up kernel/time/ntp.c
    x86: hpet: stop HPET_COUNTER when programming periodic mode
    x86: hpet: provide separate functions to stop and start the counter
    x86: hpet: print HPET registers during setup (if hpet=verbose is used)
    time: apply NTP frequency/tick changes immediately
    ...

    Linus Torvalds
     
  • * 'sched-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (46 commits)
    sched: Add comments to find_busiest_group() function
    sched: Refactor the power savings balance code
    sched: Optimize the !power_savings_balance during fbg()
    sched: Create a helper function to calculate imbalance
    sched: Create helper to calculate small_imbalance in fbg()
    sched: Create a helper function to calculate sched_domain stats for fbg()
    sched: Define structure to store the sched_domain statistics for fbg()
    sched: Create a helper function to calculate sched_group stats for fbg()
    sched: Define structure to store the sched_group statistics for fbg()
    sched: Fix indentations in find_busiest_group() using gotos
    sched: Simple helper functions for find_busiest_group()
    sched: remove unused fields from struct rq
    sched: jiffies not printed per CPU
    sched: small optimisation of can_migrate_task()
    sched: fix typos in documentation
    sched: add avg_overlap decay
    x86, sched_clock(): mark variables read-mostly
    sched: optimize ttwu vs group scheduling
    sched: TIF_NEED_RESCHED -> need_reshed() cleanup
    sched: don't rebalance if attached on NULL domain
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (81 commits)
    [S390] remove duplicated #includes
    [S390] cpumask: use mm_cpumask() wrapper
    [S390] cpumask: Use accessors code.
    [S390] cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.
    [S390] cpumask: remove cpu_coregroup_map
    [S390] fix clock comparator save area usage
    [S390] Add hwcap flag for the etf3 enhancement facility
    [S390] Ensure that ipl panic notifier is called late.
    [S390] fix dfp elf hwcap/facility bit detection
    [S390] smp: perform initial cpu reset before starting a cpu
    [S390] smp: fix memory leak on __cpu_up
    [S390] ipl: Improve checking logic and remove switch defaults.
    [S390] s390dbf: Remove needless check for NULL pointer.
    [S390] s390dbf: Remove redundant initilizations.
    [S390] use kzfree()
    [S390] BUG to BUG_ON changes
    [S390] zfcpdump: Prevent zcore from beeing built as a kernel module.
    [S390] Use csum_partial in checksum.h
    [S390] cleanup lowcore.h
    [S390] eliminate ipl_device from lowcore
    ...

    Linus Torvalds
     
  • * 'for-2.6.30' of git://git.kernel.dk/linux-2.6-block:
    Get rid of pdflush_operation() in emergency sync and remount
    btrfs: get rid of current_is_pdflush() in btrfs_btree_balance_dirty
    Move the default_backing_dev_info out of readahead.c and into backing-dev.c
    block: Repeated lines in switching-sched.txt
    bsg: Remove bogus check against request_queue->max_sectors
    block: WARN in __blk_put_request() for potential bio leak
    loop: fix circular locking in loop_clr_fd()
    loop: support barrier writes
    bsg: add support for tail queuing
    cpqarray: enable bus mastering
    block: genhd.h cleanup patch
    block: add private bio_set for bio integrity allocations
    block: genhd.h comment needs updating
    block: get rid of unused blkdev_free_rq() define
    block: remove various blk_queue_*() setting functions in blk_init_queue_node()
    cciss: add BUILD_BUG_ON() for catching bad CommandList_struct alignment
    block: don't create bio_vec slabs of less than the inline number
    block: cleanup bio_alloc_bioset()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1750 commits)
    ixgbe: Allow Priority Flow Control settings to survive a device reset
    net: core: remove unneeded include in net/core/utils.c.
    e1000e: update version number
    e1000e: fix close interrupt race
    e1000e: fix loss of multicast packets
    e1000e: commonize tx cleanup routine to match e1000 & igb
    netfilter: fix nf_logger name in ebt_ulog.
    netfilter: fix warning in ebt_ulog init function.
    netfilter: fix warning about invalid const usage
    e1000: fix close race with interrupt
    e1000: cleanup clean_tx_irq routine so that it completely cleans ring
    e1000: fix tx hang detect logic and address dma mapping issues
    bridge: bad error handling when adding invalid ether address
    bonding: select current active slave when enslaving device for mode tlb and alb
    gianfar: reallocate skb when headroom is not enough for fcb
    Bump release date to 25Mar2009 and version to 0.22
    r6040: Fix second PHY address
    qeth: fix wait_event_timeout handling
    qeth: check for completion of a running recovery
    qeth: unregister MAC addresses during recovery.
    ...

    Manually fixed up conflicts in:
    drivers/infiniband/hw/cxgb3/cxio_hal.h
    drivers/infiniband/hw/nes/nes_nic.c

    Linus Torvalds
     
  • Now that the headers are in arch/foo/include/asm we don't want to exclude
    them when preparing diff files.

    Closes-bug: 12921

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Conflicts:
    drivers/net/wimax/i2400m/usb-notif.c

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (97 commits)
    USB: qcserial: add device id for HP devices
    USB: isp1760: Add a delay before reading the SKIPMAP registers in isp1760-hcd.c
    USB: allow malformed LANGID descriptors
    USB: pxa27x_udc: typo fixes and code cleanups
    USB: gadget: gadget zero uses new suspend/resume hooks
    USB: gadget: composite device-level suspend/resume hooks
    USB: r8a66597-hcd: suspend/resume support
    USB: more u32 conversion after transfer_buffer_length and actual_length
    USB: Fix cp2101 USB serial device driver termios functions for console use
    USB: CP2101 New Device ID
    USB: ipaq: handle 4 endpoint devices
    USB: S3C: Move usb-control.h to platform include
    USB: ohci-hcd: Add ARCH_S3C24XX to the ohci-s3c2410.c glue
    USB: pedantic: spelling correction in comment for ch9.h
    USB: host: fix sparse warning: Using plain integer as NULL pointer
    USB: ohci-s3c2410: fix name of bus clock
    USB: ohci-s3c2410: remove include
    USB: serial: rename cp2101 driver to cp210x
    USB: CP2101 Reduce Error Logging
    USB: CP2101 Support AN205 baud rates
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (61 commits)
    Dynamic debug: fix pr_fmt() build error
    Dynamic debug: allow simple quoting of words
    dynamic debug: update docs
    dynamic debug: combine dprintk and dynamic printk
    sysfs: fix some bin_vm_ops errors
    kobject: don't block for each kobject_uevent
    sysfs: only allow one scheduled removal callback per kobj
    Driver core: Fix device_move() vs. dpm list ordering, v2
    Driver core: some cleanup on drivers/base/sys.c
    Driver core: implement uevent suppress in kobject
    vcs: hook sysfs devices into object lifetime instead of "binding"
    driver core: fix passing platform_data
    driver core: move platform_data into platform_device
    sysfs: don't block indefinitely for unmapped files.
    driver core: move knode_bus into private structure
    driver core: move knode_driver into private structure
    driver core: move klist_children into private structure
    driver core: create a private portion of struct device
    driver core: remove polling for driver_probe_done(v5)
    sysfs: reference sysfs_dirent from sysfs inodes
    ...

    Fixed conflicts in drivers/sh/maple/maple.c manually

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (430 commits)
    ALSA: hda - Add quirk for Acer Ferrari 5000
    ALSA: hda - Use cached calls to get widget caps and pin caps
    ALSA: hda - Don't create empty/single-item input source
    ALSA: hda - Fix the wrong pin-cap check in patch_realtek.c
    ALSA: hda - Cache pin-cap values
    ALSA: hda - Avoid output amp manipulation to digital mic pins
    ALSA: hda - Add function id to proc output
    ALSA: pcm - Safer boundary checks
    ALSA: hda - Detect digital-mic inputs on ALC663 / ALC272
    ALSA: sound/ali5451: typo: s/resouces/resources/
    ALSA: hda - Don't show the current connection for power widgets
    ALSA: Fix wrong pointer to dev_err() in arm/pxa2xx-ac97-lib.c
    ASoC: Declare Headset as Mic and Headphone widgets for SDP3430
    ASoC: OMAP: N810: Add more jack functions
    ASoC: OMAP: N810: Mark not connected input pins
    ASoC: Add FLL support for WM8400
    ALSA: hda - Don't reset stream at each prepare callback
    ALSA: hda - Don't reset BDL unnecessarily
    ALSA: pcm - Fix delta calculation at boundary overlap
    ALSA: pcm - Reset invalid position even without debug option
    ...

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq: (35 commits)
    [CPUFREQ] Prevent p4-clockmod from auto-binding to the ondemand governor.
    [CPUFREQ] Make cpufreq-nforce2 less obnoxious
    [CPUFREQ] p4-clockmod reports wrong frequency.
    [CPUFREQ] powernow-k8: Use a common exit path.
    [CPUFREQ] Change link order of x86 cpufreq modules
    [CPUFREQ] conservative: remove 10x from def_sampling_rate
    [CPUFREQ] conservative: fixup governor to function more like ondemand logic
    [CPUFREQ] conservative: fix dbs_cpufreq_notifier so freq is not locked
    [CPUFREQ] conservative: amend author's email address
    [CPUFREQ] Use swap() in longhaul.c
    [CPUFREQ] checkpatch cleanups for acpi-cpufreq
    [CPUFREQ] powernow-k8: Only print error message once, not per core.
    [CPUFREQ] ondemand/conservative: sanitize sampling_rate restrictions
    [CPUFREQ] ondemand/conservative: deprecate sampling_rate{min,max}
    [CPUFREQ] powernow-k8: Always compile powernow-k8 driver with ACPI support
    [CPUFREQ] Introduce /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_transition_latency
    [CPUFREQ] checkpatch cleanups for powernow-k8
    [CPUFREQ] checkpatch cleanups for ondemand governor.
    [CPUFREQ] checkpatch cleanups for powernow-k7
    [CPUFREQ] checkpatch cleanups for speedstep related drivers.
    ...

    Linus Torvalds
     

26 Mar, 2009

3 commits


25 Mar, 2009

6 commits

  • Ingo Molnar
     
  • Allow simple quoting of words in the dynamic debug control language.

    This allows more natural specification when using the control language
    to match against printk formats, e.g

    #echo -n 'format "Setting node for non-present cpu" +p' >
    /mnt/debugfs/dynamic_debug/control

    instead of

    #echo -n 'format Setting\040node\040for\040non-present\040cpu +p' >
    /mnt/debugfs/dynamic_debug/control

    Adjust the dynamic debug documention to describe that and provide a
    new example. Adjust the existing examples in the documentation to
    reflect the current whitespace escaping behaviour when reading the
    control file. Fix some minor documentation trailing whitespace.

    Signed-off-by: Greg Banks
    Acked-by: Jason Baron
    Signed-off-by: Greg Kroah-Hartman

    Greg Banks
     
  • updates the documentation for 'dynamic debug' feature.

    Signed-off-by: Greg Banks
    Signed-off-by: Jason Baron
    Signed-off-by: Greg Kroah-Hartman

    Jason Baron
     
  • This patch combines Greg Bank's dprintk() work with the existing dynamic
    printk patchset, we are now calling it 'dynamic debug'.

    The new feature of this patchset is a richer /debugfs control file interface,
    (an example output from my system is at the bottom), which allows fined grained
    control over the the debug output. The output can be controlled by function,
    file, module, format string, and line number.

    for example, enabled all debug messages in module 'nf_conntrack':

    echo -n 'module nf_conntrack +p' > /mnt/debugfs/dynamic_debug/control

    to disable them:

    echo -n 'module nf_conntrack -p' > /mnt/debugfs/dynamic_debug/control

    A further explanation can be found in the documentation patch.

    Signed-off-by: Greg Banks
    Signed-off-by: Jason Baron
    Signed-off-by: Greg Kroah-Hartman

    Jason Baron
     
  • If a UIO device has several memory mappings, it can be difficult for userspace
    to find the right one. The situation becomes even worse if the UIO driver can
    handle different versions of a card that have different numbers of mappings.
    Benedikt Spranger has such cards and pointed this out to me. Thanks, Bene!

    To address this problem, this patch adds "name" sysfs attributes for each
    mapping. Userspace can use these to clearly identify each mapping. The name
    string is optional. If a driver doesn't set it, an empty string will be
    returned, so this patch won't break existing drivers.

    The same problem exists for port region information, so a "name" attribute is
    added there, too.

    Signed-off-by: Hans J. Koch
    Signed-off-by: Greg Kroah-Hartman

    Hans J. Koch
     
  • This patch adds an extension to the binary API so it reaches parity with
    existing text API (so-called "1u"). The extension delivers additional data,
    such as ISO descriptors and the interrupt interval.

    Signed-Off-By: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     

24 Mar, 2009

13 commits


23 Mar, 2009

1 commit


20 Mar, 2009

1 commit


19 Mar, 2009

2 commits

  • The NAPI poll parameter netdev_budget is not documented in
    kernel-docs. Since it may have a substantial effect on at least some
    network loads, it should be.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: David S. Miller

    Stanislaw Gruszka
     
  • Fix the behavior of allowing both sysctl and addrconf_dad_failure()
    to set the disable_ipv6 parameter without any bad side-effects.
    If DAD fails and accept_dad > 1, we will still set disable_ipv6=1,
    but then instead of allowing an RA to add an address then
    immediately fail DAD, we simply don't allow the address to be
    added in the first place. This also lets the user set this flag
    and disable all IPv6 addresses on the interface, or on the entire
    system.

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     

18 Mar, 2009

1 commit