01 Jan, 2010

4 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/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

22 commits

  • * '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
     
  • Signed-off-by: rol@as2917.net
    Signed-off-by: Len Brown
    Signed-off-by: Linus Torvalds

    Paul Rolland
     
  • * 'for-linus' of git://neil.brown.name/md:
    md: allow a resync that is waiting for other resync to complete, to be aborted.
    md: remove unnecessary code from do_md_run
    md: make recovery started by do_md_run() visible via sync_action
    md: fix small irregularity with start_ro module parameter
    md: Fix unfortunate interaction with evms

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (74 commits)
    Revert "b43: Enforce DMA descriptor memory constraints"
    iwmc3200wifi: fix array out-of-boundary access
    wl1251: timeout one too soon in wl1251_boot_run_firmware()
    mac80211: fix propagation of failed hardware reconfigurations
    mac80211: fix race with suspend and dynamic_ps_disable_work
    ath9k: fix missed error codes in the tx status check
    ath9k: wake hardware during AMPDU TX actions
    ath9k: wake hardware for interface IBSS/AP/Mesh removal
    ath9k: fix suspend by waking device prior to stop
    cfg80211: fix error path in cfg80211_wext_siwscan
    wl1271_cmd.c: cleanup char => u8
    iwlwifi: Storage class should be before const qualifier
    ath9k: Storage class should be before const qualifier
    cfg80211: fix race between deauth and assoc response
    wireless: remove remaining qual code
    rt2x00: Add USB ID for Linksys WUSB 600N rev 2.
    ath5k: fix SWI calibration interrupt storm
    mac80211: fix ibss join with fixed-bssid
    libertas: Remove carrier signaling from the scan code
    orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    hwrng: core - Fix double unlock in rng_dev_read

    Linus Torvalds
     
  • generic_permission was refusing CAP_DAC_READ_SEARCH-enabled
    processes from opening DAC-protected files read-only, because
    do_filp_open adds MAY_OPEN to the open mask.

    Ignore MAY_OPEN. After this patch, CAP_DAC_READ_SEARCH is
    again sufficient to open(fname, O_RDONLY) on a file to which
    DAC otherwise refuses us read permission.

    Reported-by: Mike Kazantsev
    Signed-off-by: Serge E. Hallyn
    Tested-by: Mike Kazantsev
    Signed-off-by: Linus Torvalds

    Serge E. Hallyn
     
  • The wrong address was being used to write the SCIR led regs on remote
    hubs. Also, there was an inconsistency between how BIOS and the kernel
    indexed these regs. Standardize on using the lower 6 bits of the APIC
    ID as the index.

    This patch fixes the problem of writing to an errant address to a
    cpu # >= 64.

    Signed-off-by: Mike Travis
    Reviewed-by: Jack Steiner
    Cc: stable@kernel.org
    Signed-off-by: Linus Torvalds

    Mike Travis
     
  • Move sys_mmap_pgoff() from mm/util.c to mm/mmap.c and mm/nommu.c,
    where we'd expect to find such code: especially now that it contains
    the MAP_HUGETLB handling. Revert mm/util.c to how it was in 2.6.32.

    This patch just ignores MAP_HUGETLB in the nommu case, as in 2.6.32,
    whereas 2.6.33-rc2 reported -ENOSYS. Perhaps validate_mmap_request()
    should reject it with -EINVAL? Add that later if necessary.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     
  • commit 45465487897a1c6d508b14b904dc5777f7ec7e04 ("kfifo: move struct
    kfifo in place") caused a compile failure in ibmvscsitgt.c because it
    changed a pointer to kfifo in the libsrp.h structure to a direct
    inclusion without including .

    The fix is simple, just add the include, but how did this happen? This
    change, introduced at -rc2, hardly looks like a bug fix, and it clearly
    didn't go through linux-next, which would have picked up this compile
    failure (it only occurs on ppc because of the ibm virtual scsi target).

    [ Apparently all of -mm wasn't in linux-next.. ]

    Signed-off-by: James Bottomley
    Signed-off-by: Linus Torvalds

    James Bottomley
     
  • We need to wait for the command to disable FF effects to complete before
    continuing with closing the device.

    Tested-by: Johannes Ebke
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • As reported in Kernel Bugzilla #14936, commit d21cd8f triggered a BUG
    in the function ext4_da_update_reserve_space() found in
    fs/ext4/inode.c. The root cause of this BUG() was caused by the fact
    that ext4_calc_metadata_amount() can severely over-estimate how many
    metadata blocks will be needed, especially when using direct
    block-mapped files.

    In addition, it can also badly *under* estimate how much space is
    needed, since ext4_calc_metadata_amount() assumes that the blocks are
    contiguous, and this is not always true. If the application is
    writing blocks to a sparse file, the number of metadata blocks
    necessary can be severly underestimated by the functions
    ext4_da_reserve_space(), ext4_da_update_reserve_space() and
    ext4_da_release_space(). This was the cause of the dq_claim_space
    reports found on kerneloops.org.

    Unfortunately, doing this right means that we need to massively
    over-estimate the amount of free space needed. So in some cases we
    may need to force the inode to be written to disk asynchronously in
    to avoid spurious quota failures.

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

    Signed-off-by: "Theodore Ts'o"

    Theodore Ts'o
     

30 Dec, 2009

14 commits