06 Jan, 2010

4 commits


04 Jan, 2010

9 commits


02 Jan, 2010

1 commit


01 Jan, 2010

11 commits

  • Commit 239007b844 ("genirq: Convert irq_desc.lock to raw_spinlock")
    seems to have missed this driver, leaving it to use the normal spin-lock
    functions for the irq descriptor lock, which is now a raw lock.

    Reported-and-compile-tested-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Introduced by commit 5b889bf23 ("PCI: Fix build if quirks are not
    enabled"), which made the pci_dev_reset_methods[] array static and
    'const', but didn't then change the code to match, and use a const
    pointer when moving it to quirks.c.

    Trivially fixed by just adding the required 'const' to the iterator
    variable.

    Reported-by: Stephen Rothwell
    Cc: Rafael J. Wysocki
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
    [CIFS] Enable mmap on forcedirectio mounts
    cifs: NULL out tcon, pSesInfo, and srvTcp pointers when chasing DFS referrals

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire, ieee1394: update Kconfig help
    firewire, ieee1394: update MAINTAINERS entries
    firewire: ohci: always use packet-per-buffer mode for isochronous reception
    firewire: cdev: fix another memory leak in an error path
    firewire: fix use of multiple AV/C devices, allow multiple FCP listeners

    Comments from Stefan:

    Distributors who still ship the old stack (ieee1394, ohci1394,
    raw1394, sbp2, eth1394 and more) should now switch to the new one
    (firewire-core, firewire-ohci, firewire-sbp2, firewire-net). In the
    first iteration, those distributors might want to ship the old stack
    also (but blacklisted) as a fallback for their users if unforeseen
    problems with the newer replacement drivers are encountered.

    The older FireWire stack contains several known problems which are
    not going to be fixed; instead, those issues are addressed by the new
    stack. An incomplete list of these issues is kept in bugzilla:

    http://bugzilla.kernel.org/show_bug.cgi?id=10046

    We have a guide on migration from the older to the newer stack:

    http://ieee1394.wiki.kernel.org/index.php/Juju_Migration

    Linus Torvalds
     
  • After commit b9c3b266411d27f1a6466c19d146d08db576bfea ("PCI: support
    device-specific reset methods") the kernel build is broken if
    CONFIG_PCI_QUIRKS is unset.

    Fix this by moving pci_dev_specific_reset() to drivers/pci/quirks.c and
    providing an empty replacement for !CONFIG_PCI_QUIRKS builds.

    Signed-off-by: Rafael J. Wysocki
    Reported-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • …l/git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    dma-debug: Fix bug causing build warning

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

    * 'perf-fixes-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf: Fix NULL deref in inheritance code
    perf: Pass appropriate frame pointer to dump_trace()

    Linus Torvalds
     
  • …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/agp: Fix agp_amd64_init() initialization with CONFIG_GART_IOMMU enabled
    x86: SGI UV: Fix writes to led registers on remote uv hubs
    x86, kmemcheck: Use KERN_WARNING for error reporting
    x86: Use KERN_DEFAULT log-level in __show_regs()
    x86, compress: Force i386 instructions for the decompressor
    x86/amd-iommu: Fix initialization failure panic
    dma-debug: Do not add notifier when dma debugging is disabled.
    x86: Fix objdump version check in chkobjdump.awk for different formats.

    Trivial conflicts in arch/x86/include/asm/uv/uv_hub.h due to me having
    applied an earlier version of an SGI UV fix.

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

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf kmem: Fix statistics typo
    kprobes: Fix distinct type warning
    perf: Rename perf_event_hw_event in design document
    perf tools: Add missing header files to LIB_H Makefile variable
    perf record: We should fork only if a program was specified to run
    perf diff: Fix usage array, it must end with a NULL entry

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

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    tracing: Fix sign fields in ftrace_define_fields_##call()
    tracing/syscalls: Fix typo in SYSCALL_DEFINE0
    tracing/kprobe: Show sign of fields in trace_kprobe format files
    ksym_tracer: Remove trace_stat
    ksym_tracer: Fix race when incrementing count
    ksym_tracer: Fix to allow writing newline to ksym_trace_filter
    ksym_tracer: Fix to make the tracer work
    tracing: Kconfig spelling fixes and cleanups
    tracing: Fix setting tracer specific options
    Documentation: Update ftrace-design.txt
    Documentation: Update tracepoint-analysis.txt
    Documentation: Update mmiotrace.txt

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: iforce - wait for command completion when closing the device
    Input: twl4030-pwrbutton - switch to using threaded IRQ
    Input: twl4030_keypad - switch to using threaded IRQ
    Input: lifebook - add CONFIG_DMI dependency
    Input: wistron - fix test for CONFIG_PM
    Input: psmouse - fix compile warning in hgpk module
    Input: matrix-keypad - handle cases when GPIOs can't be wakeup sources
    Input: iforce - fix oops on device disconnect
    Input: ff-memless - add notion of direction to for rumble effects
    Input: ff-memless - another fix for signed to unsigned overflow
    Input: ff-memless - start playing FF effects immediately
    Input: serio - do not mark kseriod freezable anymore
    Input: speed up suspend/shutdown for PS/2 mice and keyboards

    Linus Torvalds
     

31 Dec, 2009

15 commits

  • Stephen Rothwell reported the following build warning:

    lib/dma-debug.c: In function 'dma_debug_device_change':
    lib/dma-debug.c:680: warning: 'return' with no value, in function returning non-void

    Introduced by commit f797d9881b62c2ddb1d2e7bd80d87141949c84aa
    ("dma-debug: Do not add notifier when dma debugging is disabled").

    Return 0 [notify-done] when disabled. (this is standard bus notifier behavior.)

    Signed-off-by: Shaun Ruffell
    Signed-off-by: Joerg Roedel
    Cc: Linus Torvalds
    Cc:
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • Liming found a NULL deref when a task has a perf context but no
    counters when it forks.

    This can occur in two cases, a race during construction where
    the fork hits after installing the context but before the first
    counter gets inserted, or more reproducably, a fork after the
    last counter is closed (which leaves the context around).

    Reported-by: Wang Liming
    Signed-off-by: Peter Zijlstra
    Cc: Frederic Weisbecker
    Cc: Paul Mackerras
    CC:
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     
  • Pass the frame pointer from the regs of the interrupted path
    to dump_trace() while processing the stack trace.

    Currently, dump_trace() takes the current bp and starts the
    callchain from dump_trace() itself. This is wasteful because
    we need to walk through the entire NMI/DEBUG stack before
    retrieving the interrupted point.

    We can fix that by just using the frame pointer from the
    captured regs. It points exactly where we want to start.

    Signed-off-by: Frederic Weisbecker
    Cc: Peter Zijlstra
    Cc: Arnaldo Carvalho de Melo
    Cc: Paul Mackerras
    LKML-Reference:
    Signed-off-by: Ingo Molnar
    Cc: Peter Zijlstra
    Cc: Arnaldo Carvalho de Melo
    Cc: Paul Mackerras

    Frederic Weisbecker
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: introduce kernel parameter acpi_sleep=sci_force_enable
    ACPI: WMI: Survive BIOS with duplicate GUIDs
    dell-wmi - fix condition to abort driver loading
    wmi: check find_guid() return value to prevent oops
    dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value
    ACPI: hp-wmi, msi-wmi: clarify that wmi_install_notify_handler() returns an acpi_status
    dell-wmi: sys_init_module: 'dell_wmi'->init suspiciously returned 21, it should
    ACPI video: correct error-handling code
    ACPI video: no warning message if "acpi_backlight=vendor" is used
    ACPI: fix ACPI=n allmodconfig build
    thinkpad-acpi: improve Kconfig help text
    thinkpad-acpi: update volume subdriver documentation
    thinkpad-acpi: make volume subdriver optional
    thinkpad-acpi: don't fail to load the entire module due to ALSA problems
    thinkpad-acpi: don't take the first ALSA slot by default

    Linus Torvalds
     
  • Len Brown
     
  • Introduce kernel parameter acpi_sleep=sci_force_enable

    some laptop requires SCI_EN being set directly on resume,
    or else they hung somewhere in the resume code path.

    We already have a blacklist for these laptops but we still need
    this option, especially when debugging some suspend/resume problems,
    in case there are systems that need this workaround and are not yet
    in the blacklist.

    Signed-off-by: Zhang Rui
    Acked-by: Rafael J. Wysocki
    Signed-off-by: Len Brown

    Zhang Rui
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx:
    drivers/dma: Correct use after free
    drivers/dma: drop unnecesary memset
    ioat2,3: put channel hardware in known state at init
    async_tx: expand async raid6 test to cover ioatdma corner case
    ioat3: fix p-disabled q-continuation
    sh: fix DMA driver's descriptor chaining and cookie assignment
    dma: at_hdmac: correct incompatible type for argument 1 of 'spin_lock_bh'

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
    ext4: Patch up how we claim metadata blocks for quota purposes
    ext4: Ensure zeroout blocks have no dirty metadata
    ext4: return correct wbc.nr_to_write in ext4_da_writepages
    ext4: Update documentation to correct the inode_readahead_blks option name
    jbd2: don't use __GFP_NOFAIL in journal_init_common()
    ext4: flush delalloc blocks when space is low
    fs-writeback: Add helper function to start writeback if idle
    ext4: Eliminate potential double free on error path
    ext4: fix unsigned long long printk warning in super.c
    ext4, jbd2: Add barriers for file systems with exernal journals
    ext4: replace BUG() with return -EIO in ext4_ext_get_blocks
    ext4: add module aliases for ext2 and ext3
    ext4: Don't ask about supporting ext2/3 in ext4 if ext4 is not configured
    ext4: remove unused #include

    Linus Torvalds
     
  • * 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    SLAB: Fix lockdep annotation breakage

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI/cardbus: Add a fixup hook and fix powerpc
    PCI: change PCI nomenclature in drivers/pci/ (non-comment changes)
    PCI: change PCI nomenclature in drivers/pci/ (comment changes)
    PCI: fix section mismatch on update_res()
    PCI: add Intel 82599 Virtual Function specific reset method
    PCI: add Intel USB specific reset method
    PCI: support device-specific reset methods
    PCI: Handle case when no pci device can provide cache line size hint
    PCI/PM: Propagate wake-up enable for PCIe devices too
    vgaarbiter: fix a typo in the vgaarbiter Documentation

    Linus Torvalds
     
  • * 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    KVM: get rid of kvm_create_vm() unused label warning on s390
    KVM: powerpc: Fix mtsrin in book3s_64 mmu
    KVM: ia64: fix build breakage due to host spinlock change
    KVM: x86: Extend KVM_SET_VCPU_EVENTS with selective updates
    KVM: LAPIC: make sure IRR bitmap is scanned after vm load
    KVM: Fix possible circular locking in kvm_vm_ioctl_assign_device()
    KVM: MMU: remove prefault from invlpg handler

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Fix Oops at reloading beep devices
    ALSA: hda - Don't cache beep controls
    ALSA: Fix a typo in Procfile.txt
    ALSA: sound/arm: Fix build failure caused by missing struct aaci definition
    ALSA: hda - use snd_hda_jack_detect() again in patch_sigmatel.c
    ALSA: hda - Disable tigger at pin-sensing on AD codecs
    ALSA: hda - HDMI sticky stream tag support
    ALSA: Fix indentation in pcm_native.c

    Linus Torvalds
     
  • It's DECLARE_KFIFO, not DECLARED_KFIFO.

    Signed-off-by: Rolf Eike Beer
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    block: blk_rq_err_sectors cleanup
    block: Honor the gfp_mask for alloc_page() in blkdev_issue_discard()
    block: Fix incorrect alignment offset reporting and update documentation
    cfq-iosched: don't regard requests with long distance as close
    aoe: switch to the new bio_flush_dcache_pages() interface
    drivers/block/mg_disk.c: use resource_size()
    drivers/block/DAC960.c: use DAC960_V2_Controller
    block: Fix topology stacking for data and discard alignment
    drbd: remove unused #include
    drbd: remove duplicated #include
    drbd: Fix test of unsigned in _drbd_fault_random()
    drbd: Constify struct file_operations
    cfq-iosched: Remove prio_change logic for workload selection
    cfq-iosched: Get rid of nr_groups
    cfq-iosched: Remove the check for same cfq group from allow_merge
    drbd: fix test of unsigned in _drbd_fault_random()
    block: remove Documentation/block/as-iosched.txt

    Linus Torvalds
     
  • …follow 0/-E convention

    wmi_install_notify_handler() returns an acpi_error,
    but dell_wmi_init() needs return a -errno style error.

    Signed-off-by: Len Brown <len.brown@intel.com>
    Tested-by: Paul Rolland <rol@as2917.net>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

    Len Brown