1. 25 1月, 2015 1 次提交
    • L
      Merge tag 'media/v3.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · af469b37
      Linus Torvalds 提交于
      Pull media fixes from Mauro Carvalho Chehab:
        - fix some race conditions caused by a regression on videobuf2
        - fix a interrupt release bug on cx23885
        - fix support for Mygica T230 and HVR4400
        - fix compilation breakage when USB is not selected on tlg2300
        - fix capabilities report on ompa3isp, soc-camera, rcar_vin and
          pvrusb2
      
      * tag 'media/v3.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] omap3isp: Correctly set QUERYCAP capabilities
        [media] cx23885: fix free interrupt bug
        [media] pvrusb2: fix missing device_caps in querycap
        [media] vb2: fix vb2_thread_stop race conditions
        [media] rcar_vin: Update device_caps and capabilities in querycap
        [media] soc-camera: fix device capabilities in multiple camera host drivers
        [media] Fix Mygica T230 support
        [media] cx23885: Split Hauppauge WinTV Starburst from HVR4400 card entry
        [media] tlg2300: Fix media dependencies
      af469b37
  2. 24 1月, 2015 9 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · c4e00f1d
      Linus Torvalds 提交于
      Pull btrfs fixes from Chris Mason:
       "We have a few fixes in my for-linus branch.
      
        Qu Wenruo's batch fix a regression between some our merge window pull
        and the inode_cache feature.  The rest are smaller bugs"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        btrfs: Don't call btrfs_start_transaction() on frozen fs to avoid deadlock.
        btrfs: Fix the bug that fs_info->pending_changes is never cleared.
        btrfs: fix state->private cast on 32 bit machines
        Btrfs: fix race deleting block group from space_info->ro_bgs list
        Btrfs: fix incorrect freeing in scrub_stripe
        btrfs: sync ioctl, handle errors after transaction start
      c4e00f1d
    • L
      Merge tag 'platform-drivers-x86-v3.19-2' of... · 53448a53
      Linus Torvalds 提交于
      Merge tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
      
      Pull platform driver fix from Darren Hart:
       "Revert keyboard backlight sysfs support and documentation.
      
        The support for the dell-laptop keyboard backlight was flawed and the
        fix:
      
              https://lkml.org/lkml/2015/1/14/539
      
        was more invasive that I felt comfortable sending at RC5.
      
        This series reverts the support for the dell-laptop keyboard backlight
        as well as the documentation for the newly created sysfs attributes.
      
        We'll get this implemented correctly for 3.20"
      
      * tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
        Revert "platform: x86: dell-laptop: Add support for keyboard backlight"
        Revert "Documentation: Add entry for dell-laptop sysfs interface"
      53448a53
    • L
      Merge tag 'pci-v3.19-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 55069592
      Linus Torvalds 提交于
      Pull PCI fixes from Bjorn Helgaas:
       "These are fixes for:
      
         - a resource management problem that causes a Radeon "Fatal error
           during GPU init" on machines where the BIOS programmed an invalid
           Root Port window.  This was a regression in v3.16.
      
         - an Atheros AR93xx device that doesn't handle PCI bus resets
           correctly.  This was a regression in v3.14.
      
         - an out-of-date email address"
      
      * tag 'pci-v3.19-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        MAINTAINERS: Update Richard Zhu's email address
        sparc/PCI: Clip bridge windows to fit in upstream windows
        powerpc/PCI: Clip bridge windows to fit in upstream windows
        parisc/PCI: Clip bridge windows to fit in upstream windows
        mn10300/PCI: Clip bridge windows to fit in upstream windows
        microblaze/PCI: Clip bridge windows to fit in upstream windows
        ia64/PCI: Clip bridge windows to fit in upstream windows
        frv/PCI: Clip bridge windows to fit in upstream windows
        alpha/PCI: Clip bridge windows to fit in upstream windows
        x86/PCI: Clip bridge windows to fit in upstream windows
        PCI: Add pci_claim_bridge_resource() to clip window if necessary
        PCI: Add pci_bus_clip_resource() to clip to fit upstream window
        PCI: Pass bridge device, not bus, when updating bridge windows
        PCI: Mark Atheros AR93xx to avoid bus reset
        PCI: Add flag for devices where we can't use bus reset
      55069592
    • L
      Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux · b8de08da
      Linus Torvalds 提交于
      Pull devicetree bug fixes and documentation updates from Grant Likely:
       "A few bugfixes for the new DT overlay feature, documentation updates,
        spelling corrections, and changes to MAINTAINERS.  Nothing earth
        shattering here"
      
      * tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux:
        of/unittest: Overlays with sub-devices tests
        of/platform: Handle of_populate drivers in notifier
        of/overlay: Do not generate duplicate nodes
        devicetree: document the "qemu" and "virtio" vendor prefixes
        devicetree: document ARM bindings for QEMU's Firmware Config interface
        Documentation: of: fix typo in graph bindings
        dma-mapping: fix debug print to display correct dma_pfn_offset
        of: replace Asahi Kasei Corp vendor prefix
        ARM: dt: GIC: Spelling s/specific/specifier/, s/flaggs/flags/
        dt/bindings: arm-boards: Spelling s/pointong/pointing/
        MAINTAINERS: Update DT website and git repository
        MAINTAINERS: drop DT regex matching on of_get_property and of_match_table
      b8de08da
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 2e3810da
      Linus Torvalds 提交于
      Pull kvm fixes from Paolo Bonzini:
       "Three small fixes.
      
        Two for x86 and one avoids that sparse bails out"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: SYSENTER emulation is broken
        KVM: x86: Fix of previously incomplete fix for CVE-2014-8480
        KVM: fix sparse warning in include/trace/events/kvm.h
      2e3810da
    • L
      Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · 0ad4989d
      Linus Torvalds 提交于
      Pull ARM fixes from Russell King:
       "Another round of small ARM fixes.
      
        restore_user_regs early stack deallocation is buggy in the presence of
        FIQs which switch to SVC mode, and could lead to corrupted registers
        being returned to a user process given an inopportune FIQ event.
      
        Another bug was spotted in the ARM perf code where it could lose track
        of perf counter overflows, leading to incorrect perf results.
      
        Lastly, a bug in arm_add_memory() was spotted where the memory sizes
        aren't properly rounded.  As most people pass properly rounded sizes,
        this hasn't been noticed"
      
      * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: 8292/1: mm: fix size rounding-down of arm_add_memory() function
        ARM: 8255/1: perf: Prevent wraparound during overflow
        ARM: 8266/1: Remove early stack deallocation from restore_user_regs
      0ad4989d
    • L
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 222713bb
      Linus Torvalds 提交于
      Pull two arm64 fixes from Will Deacon:
       "Arm64 fixes seem to come in pairs recently.  We've got a fix for
        removing device-tree blobs when doing a make clean and another one
        addressing a missing include, which fixes build failures in -next for
        allmodconfig (spotted by Mark's buildbot).
      
        Summary from signed tag:
      
         - fix cleaning of .dtbs following directory restructuring
         - fix allmodconfig build breakage in -next due to missing include"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
        arm64: Add dtb files to archclean rule
      222713bb
    • D
      Revert "platform: x86: dell-laptop: Add support for keyboard backlight" · b78695a7
      Darren Hart 提交于
      This reverts commit 02b2aaaa.
      
      This interface was determined to be flawed and required too invasive a
      fix for the RC cycle. This will be revisited in 3.20.
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      b78695a7
    • D
      Revert "Documentation: Add entry for dell-laptop sysfs interface" · dc583769
      Darren Hart 提交于
      This reverts commit 3161293b.
      
      This interface was determined to be flawed and required too invasive a
      fix for the RC cycle. This will be revisited in 3.20.
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      dc583769
  3. 23 1月, 2015 8 次提交
  4. 22 1月, 2015 14 次提交
  5. 21 1月, 2015 8 次提交
    • M
      ARM: 8292/1: mm: fix size rounding-down of arm_add_memory() function · 909ba297
      Masahiro Yamada 提交于
      The current rounding of "size" is wrong:
      
       - If "start" is sufficiently near the next page boundary, "size"
         is decremented by more than enough and the last page is lost.
      
       - If "size" is sufficiently small, it is wrapped around and gets
         a bogus value.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      909ba297
    • L
      Merge tag 'sound-3.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 5eb11d6b
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "This batch contains two fixes for FireWire lib module and a quirk for
        yet another Logitech WebCam.  The former is the fixes for MIDI
        handling I forgot to pick up during the merge window.  All the fixed
        code is pretty local and shouldn't give any regressions"
      
      * tag 'sound-3.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: usb-audio: Add mic volume fix quirk for Logitech Webcam C210
        ALSA: firewire-lib: limit the MIDI data rate
        ALSA: firewire-lib: remove rx_blocks_for_midi quirk
      5eb11d6b
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 479459a8
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Just back from LCA + some days off, had some fixes from the past 2 weeks,
      
        Some amdkfd code removal for a feature that wasn't ready, otherwise
        just one fix for core helper sleeping, exynos, i915, and radeon fixes.
      
        I thought I had some sti fixes but they were already in, and it
        confused me for a few mins this morning"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm: fb helper should avoid sleeping in panic context
        drm/exynos: fix warning of vblank reference count
        drm/exynos: remove unnecessary runtime pm operations
        drm/exynos: fix reset codes for memory mapped hdmi phy
        drm/radeon: use rv515_ring_start on r5xx
        drm/radeon: add si dpm quirk list
        drm/radeon: don't print error on -ERESTARTSYS
        drm/i915: Fix mutex->owner inspection race under DEBUG_MUTEXES
        drm/i915: Ban Haswell from using RCS flips
        drm/i915: vlv: sanitize RPS interrupt mask during GPU idling
        drm/i915: fix HW lockup due to missing RPS IRQ workaround on GEN6
        drm/i915: gen9: fix RPS interrupt routing to CPU vs. GT
        drm/exynos: remove the redundant machine checking code
        drm/radeon: add a dpm quirk list
        drm/amdkfd: Fix sparse warning (different address space)
        drm/radeon: fix VM flush on CIK (v3)
        drm/radeon: fix VM flush on SI (v3)
        drm/radeon: fix VM flush on cayman/aruba (v3)
        drm/amdkfd: Drop interrupt SW ring buffer
      479459a8
    • L
      Merge tag 'mfd-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 7c4bb81c
      Linus Torvalds 提交于
      Pull MFD fixes from Lee Jones:
       - Avoid platform ID collision in da9052
       - Skip caching volatile registers in tps65218
       - Use correct address base in tps65218
       - Repair deadlock on suspend in rtsx_usb
      
      * tag 'mfd-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd:
        mfd: rtsx_usb: Fix runtime PM deadlock
        mfd: tps65218: Make INT1 our status_base register
        mfd: tps65218: Make INT[12] and STATUS registers volatile
        mfd: da9052-core: Fix platform-device id collision
      7c4bb81c
    • Q
      btrfs: Don't call btrfs_start_transaction() on frozen fs to avoid deadlock. · a53f4f8e
      Qu Wenruo 提交于
      Commit 6b5fe46d (btrfs: do commit in sync_fs if there are pending
      changes) will call btrfs_start_transaction() in sync_fs(), to handle
      some operations needed to be done in next transaction.
      
      However this can cause deadlock if the filesystem is frozen, with the
      following sys_r+w output:
      [  143.255932] Call Trace:
      [  143.255936]  [<ffffffff816c0e09>] schedule+0x29/0x70
      [  143.255939]  [<ffffffff811cb7f3>] __sb_start_write+0xb3/0x100
      [  143.255971]  [<ffffffffa040ec06>] start_transaction+0x2e6/0x5a0
      [btrfs]
      [  143.255992]  [<ffffffffa040f1eb>] btrfs_start_transaction+0x1b/0x20
      [btrfs]
      [  143.256003]  [<ffffffffa03dc0ba>] btrfs_sync_fs+0xca/0xd0 [btrfs]
      [  143.256007]  [<ffffffff811f7be0>] sync_fs_one_sb+0x20/0x30
      [  143.256011]  [<ffffffff811cbd01>] iterate_supers+0xe1/0xf0
      [  143.256014]  [<ffffffff811f7d75>] sys_sync+0x55/0x90
      [  143.256017]  [<ffffffff816c49d2>] system_call_fastpath+0x12/0x17
      [  143.256111] Call Trace:
      [  143.256114]  [<ffffffff816c0e09>] schedule+0x29/0x70
      [  143.256119]  [<ffffffff816c3405>] rwsem_down_write_failed+0x1c5/0x2d0
      [  143.256123]  [<ffffffff8133f013>] call_rwsem_down_write_failed+0x13/0x20
      [  143.256131]  [<ffffffff811caae8>] thaw_super+0x28/0xc0
      [  143.256135]  [<ffffffff811db3e5>] do_vfs_ioctl+0x3f5/0x540
      [  143.256187]  [<ffffffff811db5c1>] SyS_ioctl+0x91/0xb0
      [  143.256213]  [<ffffffff816c49d2>] system_call_fastpath+0x12/0x17
      
      The reason is like the following:
      (Holding s_umount)
      VFS sync_fs staff:
      |- btrfs_sync_fs()
         |- btrfs_start_transaction()
            |- sb_start_intwrite()
            (Waiting thaw_fs to unfreeze)
      					VFS thaw_fs staff:
      					thaw_fs()
      					(Waiting sync_fs to release
      					 s_umount)
      
      So deadlock happens.
      This can be easily triggered by fstest/generic/068 with inode_cache
      mount option.
      
      The fix is to check if the fs is frozen, if the fs is frozen, just
      return and waiting for the next transaction.
      
      Cc: David Sterba <dsterba@suse.cz>
      Reported-by: NGui Hecheng <guihc.fnst@cn.fujitsu.com>
      Signed-off-by: NQu Wenruo <quwenruo@cn.fujitsu.com>
      [enhanced comment, changed to SB_FREEZE_WRITE]
      Signed-off-by: NDavid Sterba <dsterba@suse.cz>
      Signed-off-by: NChris Mason <clm@fb.com>
      a53f4f8e
    • Q
      btrfs: Fix the bug that fs_info->pending_changes is never cleared. · 6c9fe14f
      Qu Wenruo 提交于
      Fs_info->pending_changes is never cleared since the original code uses
      cmpxchg(&fs_info->pending_changes, 0, 0), which will only clear it if
      pending_changes is already 0.
      
      This will cause a lot of problem when mount it with inode_cache mount
      option.
      If the btrfs is mounted as inode_cache, pending_changes will always be
      1, even when the fs is frozen.
      Signed-off-by: NQu Wenruo <quwenruo@cn.fujitsu.com>
      Reviewed-by: NDavid Sterba <dsterba@suse.cz>
      Signed-off-by: NDavid Sterba <dsterba@suse.cz>
      Signed-off-by: NChris Mason <clm@fb.com>
      6c9fe14f
    • D
      Merge tag 'drm-amdkfd-fixes-2015-01-13' of... · 67cf2d39
      Dave Airlie 提交于
      Merge tag 'drm-amdkfd-fixes-2015-01-13' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes
      
      - Remove the interrupt SW ring buffer impl. as it is not used by any module
        in amdkfd.
      
      - Fix a sparse warning
      
      * tag 'drm-amdkfd-fixes-2015-01-13' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: Fix sparse warning (different address space)
        drm/amdkfd: Drop interrupt SW ring buffer
      67cf2d39
    • D
      Merge tag 'drm-intel-fixes-2015-01-15' of git://anongit.freedesktop.org/drm-intel into drm-fixes · 9e4fc22a
      Dave Airlie 提交于
      misc i915 fixes
      
      * tag 'drm-intel-fixes-2015-01-15' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: Fix mutex->owner inspection race under DEBUG_MUTEXES
        drm/i915: Ban Haswell from using RCS flips
        drm/i915: vlv: sanitize RPS interrupt mask during GPU idling
        drm/i915: fix HW lockup due to missing RPS IRQ workaround on GEN6
        drm/i915: gen9: fix RPS interrupt routing to CPU vs. GT
      9e4fc22a