1. 30 1月, 2016 3 次提交
    • L
      Merge tag 'sound-4.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b5454432
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "There are a few fixes in ALSA core for bugs that have been spotted by
        fuzzer.  Also a temporary workaround for PowerPC (and possibly other)
        builds with incompatible ioctls was applied to compress API.
      
        Other than that, a few trivial fixes and quirks for FireWire BeBoB,
        USB-audio and HD-audio are found, too"
      
      * tag 'sound-4.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - disable dynamic clock gating on Broxton before reset
        ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda
        ALSA: dummy: Disable switching timer backend via sysfs
        ALSA: timer: fix SND_PCM_TIMER Kconfig text
        ALSA: Add missing dependency on CONFIG_SND_TIMER
        ALSA: bebob: Use a signed return type for get_formation_index
        ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay
        ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures
        ALSA: seq: Degrade the error message for too many opens
        ALSA: seq: Fix incorrect sanity check at snd_seq_oss_synth_cleanup()
      b5454432
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · b943d0b9
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Summary:
      
        - Misc amdgpu/radeon fixes
        - VC4 build fix
        - vmwgfx fix
        - misc rockchip fixes
      
        The etnaviv guys had an API feature they wanted in their first
        release, so I've merged that with their fixes"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (41 commits)
        drm/vmwgfx: respect 'nomodeset'
        drm/amdgpu: only move pt bos in LRU list on success
        drm/radeon: fix DP audio support for APU with DCE4.1 display engine
        drm/radeon: Add a common function for DFS handling
        drm/radeon: cleaned up VCO output settings for DP audio
        drm/amd/powerplay: Update SMU firmware loading for Stoney
        drm/etnaviv: call correct function when trying to vmap a DMABUF
        drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap
        drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr
        drm/etnaviv: fix memory leak in IOMMU init path
        drm/etnaviv: add further minor features and varyings count
        drm/etnaviv: add helper for comparing model/revision IDs
        drm/etnaviv: add helper to extract bitfields
        drm/etnaviv: use defined constants for the chip model
        drm/etnaviv: update common and state_hi xml.h files
        drm/etnaviv: ignore VG GPUs with FE2.0
        drm/amdgpu: don't init fbdev if we don't have any connectors
        drm/radeon: only init fbdev if we have connectors
        drm/radeon: Ensure radeon bo is unreserved in radeon_gem_va_ioctl
        drm/etnaviv: fix failure path if model is zero
        ...
      b943d0b9
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 704bb813
      Linus Torvalds 提交于
      Pull security layer fixes from James Morris:
       "The keys patch fixes a bug which is breaking kerberos, and the seccomp
        fix addresses a no_new_privs bypass"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        KEYS: Only apply KEY_FLAG_KEEP to a key if a parent keyring has it set
        seccomp: always propagate NO_NEW_PRIVS on tsync
      704bb813
  2. 29 1月, 2016 9 次提交
    • L
      ALSA: hda - disable dynamic clock gating on Broxton before reset · 6639484d
      Libin Yang 提交于
      On Broxton, to make sure the reset controller works properly,
      MISCBDCGE bit (bit 6) in CGCTL (0x48) of PCI configuration space
      need be cleared before reset and set back to 1 after reset.
      Otherwise, it may prevent the CORB/RIRB logic from being reset.
      Signed-off-by: NLibin Yang <libin.yang@linux.intel.com>
      Cc: <stable@vger.kernel.org> # v4.4+
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6639484d
    • A
      ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda · 3ec622f4
      Aaron Plattner 提交于
      Vendor ID 0x10de0083 is used by a yet-to-be-named GPU chip.
      
      This chip also has the 2-ch audio swapping bug, so patch_nvhdmi is
      appropriate here.
      Signed-off-by: NAaron Plattner <aplattner@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3ec622f4
    • L
      Merge tag 'trace-v4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 26cd8367
      Linus Torvalds 提交于
      Pull minor tracing fixes from Steven Rostedt:
       "This includes three minor fixes, mostly due to cut-and-paste issues.
      
        The first is a cut and paste issue that changed the amount of stack to
        skip when tracing a stack dump from 0 to 6, which basically made the
        stack disappear for small stack traces.
      
        The second fix is just removing an unused field in a struct that is no
        longer used, and currently just wastes space.
      
        The third is another cut-and-paste fix that had a tracepoint recording
        the wrong field (it was recording the previous field a second time)"
      
      * tag 'trace-v4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing/dma-buf/fence: Fix timeline str value on fence_annotate_wait_on
        ftrace: Remove unused nr_trampolines var
        tracing: Fix stacktrace skip depth in trace_buffer_unlock_commit_regs()
      26cd8367
    • D
      Merge branch 'drm-rockchip-next-fixes-2016-01-22' of... · d8b8eb82
      Dave Airlie 提交于
      Merge branch 'drm-rockchip-next-fixes-2016-01-22' of https://github.com/markyzq/kernel-drm-rockchip into drm-fixes
      
      Here are some fixes for drm/rockchip, these fixes base on drm-next.
      
      These fixes works on my popmetal(rk3288) board.
      
      About patch: drm/atomic-helper: Export framebuffer_changed()
      Daniel Vetter ack for merging it through rockchip git trees, so framebuffer_changed() can be reused by drm/rockchip.
      
      All others looks good, so I'd like you can land them.
      
      * 'drm-rockchip-next-fixes-2016-01-22' of https://github.com/markyzq/kernel-drm-rockchip:
        drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION
        drm/rockchip: fix wrong pitch/size using on gem
        drm/rockchip: explain why we can't wait_for_vblanks
        drm/rockchip: don't wait for vblank if fb hasn't changed
        drm/atomic-helper: Export framebuffer_changed()
        drm/rockchip/dsi: fix handling mipi_dsi_pixel_format_to_bpp result
        drm/rockchip: vop: fix mask when updating interrupts
        drm/rockchip: cleanup unnecessary export symbol
        drm/rockchip: Don't build rockchip_drm_vop as modules
      d8b8eb82
    • R
      drm/vmwgfx: respect 'nomodeset' · 96c5d076
      Rob Clark 提交于
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>.
      Cc: stable@vger.kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      96c5d076
    • D
      Merge tag 'drm-vc4-fixes-2015-01-19' of http://github.com/anholt/linux into drm-fixes · 2ad14a6c
      Dave Airlie 提交于
      This pull request just includes the !CONFIG_PM_SLEEP build fix for
      vc4.
      
      * tag 'drm-vc4-fixes-2015-01-19' of http://github.com/anholt/linux:
        drm/vc4: Remove broken attempt at GPU reset using genpd.
      2ad14a6c
    • D
      Merge branch 'drm-etnaviv-fixes' of git://git.pengutronix.de/git/lst/linux into drm-fixes · 2081e78a
      Dave Airlie 提交于
      A bunch of etnaviv fixes for 4.5-rc. Most of them are fixing
      things in code paths that will only be hit if something goes
      wrong, which have been unearthed by more extensive testing.
      
      The only thing that doesn't really qualify as fixes is an UAPI
      extension that userspace wants to rely on being present, so
      I want to fast-track this into 4.5 before etnaviv ends up in a
      released kernel.
      
      * 'drm-etnaviv-fixes' of git://git.pengutronix.de/git/lst/linux:
        drm/etnaviv: call correct function when trying to vmap a DMABUF
        drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap
        drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr
        drm/etnaviv: fix memory leak in IOMMU init path
        drm/etnaviv: add further minor features and varyings count
        drm/etnaviv: add helper for comparing model/revision IDs
        drm/etnaviv: add helper to extract bitfields
        drm/etnaviv: use defined constants for the chip model
        drm/etnaviv: update common and state_hi xml.h files
        drm/etnaviv: ignore VG GPUs with FE2.0
        drm/etnaviv: fix failure path if model is zero
        drm/etnaviv: hold object lock while getting pages for coredump
        drm/etnaviv: remove owner assignment from platform_driver
      2081e78a
    • D
      Merge branch 'drm-fixes-4.5' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 55ce625f
      Dave Airlie 提交于
      Misc radeon and amdgpu fixes:
      - SMU firmware loading fix for Stoney
      - DP audio fixes for DCE4.1
      - Don't expose fbdev device if no connectors
      - fix page table LRU list update handling
      
      * 'drm-fixes-4.5' of git://people.freedesktop.org/~agd5f/linux:
        drm/amdgpu: only move pt bos in LRU list on success
        drm/radeon: fix DP audio support for APU with DCE4.1 display engine
        drm/radeon: Add a common function for DFS handling
        drm/radeon: cleaned up VCO output settings for DP audio
        drm/amd/powerplay: Update SMU firmware loading for Stoney
        drm/amdgpu: don't init fbdev if we don't have any connectors
        drm/radeon: only init fbdev if we have connectors
        drm/radeon: Ensure radeon bo is unreserved in radeon_gem_va_ioctl
        drm/amdgpu: fix next_rptr handling for debugfs
        drm/radeon: properly byte swap vce firmware setup
        drm/amdgpu: add a message to indicate when powerplay is enabled (v2)
        drm/amdgpu: fix amdgpu_bo_pin_restricted VRAM placing v2
        drm/amd/amdgpu: Improve amdgpu_dpm* macros to avoid unexpected result (v2)
        drm/amdgpu: Allow the driver to load if amdgpu.powerplay=1 on asics without powerplay support
        drm/amdgpu: Use drm_calloc_large for VM page_tables array
        drm/amdgpu: Add some tweaks to gfx 8 soft reset
        drm/amdgpu: fix tonga smu resume
      55ce625f
    • N
      drm/amdgpu: only move pt bos in LRU list on success · 28b8d66e
      Nicolai Hähnle 提交于
      This fixes a race condition in the error case: since the pt bos have not
      necessarily been reserved in case of an error, we could move a pt bo that
      is currently in the middle of being evicted/moved by another process,
      which then resulted in a BUG_ON in ttm_bo_add_to_lru.
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NNicolai Hähnle <nicolai.haehnle@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      28b8d66e
  3. 28 1月, 2016 12 次提交
  4. 27 1月, 2016 12 次提交
  5. 26 1月, 2016 4 次提交
    • M
      arm64: mm: avoid calling apply_to_page_range on empty range · 57adec86
      Mika Penttilä 提交于
      Calling apply_to_page_range with an empty range results in a BUG_ON
      from the core code. This can be triggered by trying to load the st_drv
      module with CONFIG_DEBUG_SET_MODULE_RONX enabled:
      
        kernel BUG at mm/memory.c:1874!
        Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
        Modules linked in:
        CPU: 3 PID: 1764 Comm: insmod Not tainted 4.5.0-rc1+ #2
        Hardware name: ARM Juno development board (r0) (DT)
        task: ffffffc9763b8000 ti: ffffffc975af8000 task.ti: ffffffc975af8000
        PC is at apply_to_page_range+0x2cc/0x2d0
        LR is at change_memory_common+0x80/0x108
      
      This patch fixes the issue by making change_memory_common (called by the
      set_memory_* functions) a NOP when numpages == 0, therefore avoiding the
      erroneous call to apply_to_page_range and bringing us into line with x86
      and s390.
      
      Cc: <stable@vger.kernel.org>
      Reviewed-by: NLaura Abbott <labbott@redhat.com>
      Acked-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NMika Penttilä <mika.penttila@nextfour.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      57adec86
    • A
      KVM doc: Fix KVM_SMI chapter number · ed8e5a24
      Alexey Kardashevskiy 提交于
      The KVM_SMI capability is following the KVM_S390_SET_IRQ_STATE capability
      which is "4.95", this changes the number of the KVM_SMI chapter to 4.96.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      ed8e5a24
    • P
      Merge tag 'kvm-s390-master-4.5-1' of... · b8bc3bde
      Paolo Bonzini 提交于
      Merge tag 'kvm-s390-master-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
      
      KVM: s390: Fixes for kvm/master (targeting 4.5)
      
      1. Fallout of some bigger floating point/vector rework in s390
      - memory leak -> stable 4.3+
      - memory overwrite -> stable 4.4+
      
      2. enable KVM-VFIO for s390
      b8bc3bde
    • D
      KVM: s390: fix memory overwrites when vx is disabled · 9abc2a08
      David Hildenbrand 提交于
      The kernel now always uses vector registers when available, however KVM
      has special logic if support is really enabled for a guest. If support
      is disabled, guest_fpregs.fregs will only contain memory for the fpu.
      The kernel, however, will store vector registers into that area,
      resulting in crazy memory overwrites.
      
      Simply extending that area is not enough, because the format of the
      registers also changes. We would have to do additional conversions, making
      the code even more complex. Therefore let's directly use one place for
      the vector/fpu registers + fpc (in kvm_run). We just have to convert the
      data properly when accessing it. This makes current code much easier.
      
      Please note that vector/fpu registers are now always stored to
      vcpu->run->s.regs.vrs. Although this data is visible to QEMU and
      used for migration, we only guarantee valid values to user space  when
      KVM_SYNC_VRS is set. As that is only the case when we have vector
      register support, we are on the safe side.
      
      Fixes: b5510d9b ("s390/fpu: always enable the vector facility if it is available")
      Cc: stable@vger.kernel.org # v4.4 d9a3a09a s390/kvm: remove dependency on struct save_area definition
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      [adopt to d9a3a09a]
      9abc2a08