1. 16 Aug, 2016 25 commits
  2. 15 Aug, 2016 9 commits
    • Eric Engestrom's avatar
      drm: make drm_get_format_name thread-safe · 90844f00
      Eric Engestrom authored
      Signed-off-by: default avatarEric Engestrom <eric@engestrom.ch>
      [danvet: Clarify that the returned pointer must be freed with
      kfree().]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      90844f00
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2016-08-08' of git://anongit.freedesktop.org/drm-intel into drm-next · fc93ff60
      Dave Airlie authored
      - refactor ddi buffer programming a bit (Ville)
      - large-scale renaming to untangle naming in the gem code (Chris)
      - rework vma/active tracking for accurately reaping idle mappings of shared
        objects (Chris)
      - misc dp sst/mst probing corner case fixes (Ville)
      - tons of cleanup&tunings all around in gem
      - lockless (rcu-protected) request lookup, plus use it everywhere for
        non(b)locking waits (Chris)
      - pipe crc debugfs fixes (Rodrigo)
      - random fixes all over
      
      * tag 'drm-intel-next-2016-08-08' of git://anongit.freedesktop.org/drm-intel: (222 commits)
        drm/i915: Update DRIVER_DATE to 20160808
        drm/i915: fix aliasing_ppgtt leak
        drm/i915: Update comment before i915_spin_request
        drm/i915: Use drm official vblank_no_hw_counter callback.
        drm/i915: Fix copy_to_user usage for pipe_crc
        Revert "drm/i915: Track active streams also for DP SST"
        drm/i915: fix WaInsertDummyPushConstPs
        drm/i915: Assert that the request hasn't been retired
        drm/i915: Repack fence tiling mode and stride into a single integer
        drm/i915: Document and reject invalid tiling modes
        drm/i915: Remove locking for get_tiling
        drm/i915: Remove pinned check from madvise ioctl
        drm/i915: Reduce locking inside swfinish ioctl
        drm/i915: Remove (struct_mutex) locking for busy-ioctl
        drm/i915: Remove (struct_mutex) locking for wait-ioctl
        drm/i915: Do a nonblocking wait first in pread/pwrite
        drm/i915: Remove unused no-shrinker-steal
        drm/i915: Tidy generation of the GTT mmap offset
        drm/i915/shrinker: Wait before acquiring struct_mutex under oom
        drm/i915: Simplify do_idling() (Ironlake vt-d w/a)
        ...
      fc93ff60
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-08-12' of git://anongit.freedesktop.org/drm-intel into drm-next · f8725ad1
      Dave Airlie authored
      - more fence destaging and cleanup (Gustavo&Sumit)
      - DRIVER_LEGACY to untangle from DRIVER_MODESET
      - drm_mm refactor (Chris)
      - fbdev-less compile fies
      - clipped plane src/dst rects (Ville)
      - + a few mediatek patches that build on top of that (Bibby+Daniel)
      - small stuff all over really
      
      * tag 'topic/drm-misc-2016-08-12' of git://anongit.freedesktop.org/drm-intel: (43 commits)
        dma-buf/fence: kerneldoc: remove spurious section header
        dma-buf/fence: kerneldoc: remove unused struct members
        Revert "gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle"
        drm: Protect fb_defio in drivers with CONFIG_KMS_FBDEV_EMULATION
        drm/radeon|amgpu: Make fbdev emulation optional
        drm/vmwgfx: select CONFIG_FB
        drm: Remove superflous linux/fb.h includes
        drm/fb-helper: Add a dummy remove_conflicting_framebuffers
        dma-buf/sync_file: only enable fence signalling on poll()
        Documentation: add doc for sync_file_get_fence()
        dma-buf/sync_file: add sync_file_get_fence()
        dma-buf/sync_file: refactor fence storage in struct sync_file
        dma-buf/fence-array: add fence_is_array()
        drm/dp_helper: Rate limit timeout errors from drm_dp_i2c_do_msg()
        drm/dp_helper: Print first error received on failure in drm_dp_dpcd_access()
        drm: Add ratelimited versions of the DRM_DEBUG* macros
        drm: Make sure drm_vblank_no_hw_counter isn't abused
        drm/mediatek: Fix mtk_atomic_complete for runtime_pm
        drm/mediatek: plane: Use FB's format's cpp to compute x offset
        drm/mediatek: plane: Merge mtk_plane_enable into mtk_plane_atomic_update
        ...
      f8725ad1
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux into drm-next · a02b5a15
      Dave Airlie authored
      imx-drm updates and encoder atomic_mode_set helper callback
      
      - add pixel clock and DE polarity configuration from device tree
        using display timing bindings for parallel and LVDS output
      - cleanup/remove trivial functions
      - cleanup and fixes in preparation for capture support
      - add atomic_mode_set helper and use it in imx-ldb - this is an
        alternative to the encoder mode_set callback that passes the
        crtc and connector state instead of just the mode. It allows
        drivers to get information from the attached connector without
        having to iterate over all connectors
      - add drm_bridge support to imx-ldb, for bridges attached via LVDS
      
      * tag 'imx-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux:
        drm/imx-ldb: Add support to drm-bridge
        drm/imx: imx-ldb: use encoder atomic_mode_set callback
        drm/atomic-helper: Add atomic_mode_set helper callback
        drm/imx: Remove imx_drm_handle_vblank()
        gpu: ipu-v3: Add missing IDMAC channel names
        gpu: ipu-v3: rename CSI client device
        gpu: ipu-v3: Fix IRT usage
        gpu: ipu-v3: Fix CSI data format for 16-bit media bus formats
        gpu: ipu-v3: set correct full sensor frame for PAL/NTSC
        gpu: ipu-v3: Add VDI input IDMAC channels
        gpu: ipu-v3: Add ipu_get_num()
        gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize()
        gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset()
        drm/imx: Remove imx_drm_crtc_id()
        drm/imx: Remove imx_drm_crtc_vblank_get/_put()
        drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver
        drm: add a helper function to extract 'de-active' and 'pixelclk-active' from DT
      a02b5a15
    • Dave Airlie's avatar
      Merge tag 'mediatek-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux into drm-next · c13eb931
      Dave Airlie authored
      mediatek-drm maintainers and gamma correction
      
      - add MAINTAINERS entry for mediatek-drm driver
      - add support for AAL and GAMMA engines
      - hook up gamma correction LUT
      - add support for temporal dithering to OD and GAMMA engines
      
      * tag 'mediatek-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux:
        drm/mediatek: set mt8173 dithering function
        drm/mediatek: Add gamma correction.
        drm/mediatek: Add GAMMA engine basic function
        drm/mediatek: Add AAL engine basic function
        drm: mediatek: add Maintainers entry for Mediatek DRM drivers
      c13eb931
    • Dave Airlie's avatar
      Merge branch 'drm-next-tilcdc-atomic' of https://github.com/jsarha/linux into drm-next · db474322
      Dave Airlie authored
      Please pull tilcdc atomic modeset support and some non critical fixes.
      
      * 'drm-next-tilcdc-atomic' of https://github.com/jsarha/linux: (29 commits)
        drm/tilcdc: Change tilcdc_crtc_page_flip() to tilcdc_crtc_update_fb()
        drm/tilcdc: Remove unnecessary pm_runtime_get() and *_put() calls
        drm/tilcdc: Get rid of legacy dpms mechanism
        drm/tilcdc: Use drm_atomic_helper_resume/suspend()
        drm/tilcdc: Enable and disable interrupts in crtc start() and stop()
        drm/tilcdc: tfp410: Add atomic modeset helpers to connector funcs
        drm/tilcdc: tfp410: Set crtc panel info at init phase
        drm/tilcdc: panel: Add atomic modeset helpers to connector funcs
        drm/tilcdc: panel: Set crtc panel info at init phase
        drm/tilcdc: Remove tilcdc_verify_fb()
        drm/tilcdc: Remove obsolete crtc helper functions
        drm/tilcdc: Set DRIVER_ATOMIC and use atomic crtc helpers
        drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
        drm/tilcdc: Add atomic mode config funcs
        drm/tilcdc: Add tilcdc_crtc_atomic_check()
        drm/tilcdc: Add tilcdc_crtc_mode_set_nofb()
        drm/tilcdc: Initialize dummy primary plane from crtc init
        drm/tilcdc: Add dummy primary plane implementation
        drm/tilcdc: Make tilcdc_crtc_page_flip() work if crtc is not yet on
        drm/tilcdc: Make tilcdc_crtc_page_flip() public
        ...
      db474322
    • Linus Torvalds's avatar
      Linux 4.8-rc2 · 694d0d0b
      Linus Torvalds authored
      694d0d0b
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux · 0043ee40
      Linus Torvalds authored
      Pull thermal updates from Zhang Rui:
      
       - Fix a race condition when updating cooling device, which may lead to
         a situation where a thermal governor never updates the cooling
         device.  From Michele Di Giorgio.
      
       - Fix a zero division error when disabling the forced idle injection
         from the intel powerclamp.  From Petr Mladek.
      
       - Add suspend/resume callback for intel_pch_thermal thermal driver.
         From Srinivas Pandruvada.
      
       - Another two fixes for clocking cooling driver and hwmon sysfs I/F.
         From Michele Di Giorgio and Kuninori Morimoto.
      
      [ Hmm.  That suspend/resume callback for intel_pch_thermal doesn't look
        like a fix, but I'm letting it slide..  - Linus ]
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
        thermal: clock_cooling: Fix missing mutex_init()
        thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs
        thermal: fix race condition when updating cooling device
        thermal/powerclamp: Prevent division by zero when counting interval
        thermal: intel_pch_thermal: Add suspend/resume callback
      0043ee40
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 4ef870e3
      Linus Torvalds authored
      Pull m68knommu fix from Greg Ungerer:
       "This contains only a single fix for a register corruption problem on
        certain types of m68k flat format binaries"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68knommu: fix user a5 register being overwritten
      4ef870e3
  3. 14 Aug, 2016 2 commits
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus-4.8' of... · 118253a5
      Linus Torvalds authored
      Merge tag 'fixes-for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull h8300 and unicore32 architecture fixes from Guenter Roeck:
       "Two patches to fix h8300 and unicore32 builds.
      
        unicore32 builds have been broken since v4.6.  The fix has been
        available in -next since March of this year.
      
        h8300 builds have been broken since the last commit window.  The fix
        has been available in -next since June of this year"
      
      * tag 'fixes-for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        h8300: Add missing include file to asm/io.h
        unicore32: mm: Add missing parameter to arch_vma_access_permitted
      118253a5
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 120c5475
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - support for nr_cpus= command line argument (maxcpus was previously
         changed to allow secondary CPUs to be hot-plugged)
      
       - ARM PMU interrupt handling fix
      
       - fix potential TLB conflict in the hibernate code
      
       - improved handling of EL1 instruction aborts (better error reporting)
      
       - removal of useless jprobes code for stack saving/restoring
      
       - defconfig updates
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: defconfig: enable CONFIG_LOCALVERSION_AUTO
        arm64: defconfig: add options for virtualization and containers
        arm64: hibernate: handle allocation failures
        arm64: hibernate: avoid potential TLB conflict
        arm64: Handle el1 synchronous instruction aborts cleanly
        arm64: Remove stack duplicating code from jprobes
        drivers/perf: arm-pmu: Fix handling of SPI lacking "interrupt-affinity" property
        drivers/perf: arm-pmu: convert arm_pmu_mutex to spinlock
        arm64: Support hard limit of cpu count by nr_cpus
      120c5475
  4. 13 Aug, 2016 4 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 329f4152
      Linus Torvalds authored
      Pull KVM fixes from Radim Krčmář:
       "KVM:
         - lock kvm_device list to prevent corruption on device creation.
      
        PPC:
         - split debugfs initialization from creation of the xics device to
           unlock the newly taken kvm lock earlier.
      
        s390:
         - prevent userspace from triggering two WARN_ON_ONCE.
      
        MIPS:
         - fix several issues in the management of TLB faults (Cc: stable)"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        MIPS: KVM: Propagate kseg0/mapped tlb fault errors
        MIPS: KVM: Fix gfn range check in kseg0 tlb faults
        MIPS: KVM: Add missing gfn range check
        MIPS: KVM: Fix mapped fault broken commpage handling
        KVM: Protect device ops->create and list_add with kvm->lock
        KVM: PPC: Move xics_debugfs_init out of create
        KVM: s390: reset KVM_REQ_MMU_RELOAD if mapping the prefix failed
        KVM: s390: set the prefix initially properly
      329f4152
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · a1e21033
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - an NVMe fix from Gabriel, fixing a suspend/resume issue on some
         setups
      
       - addition of a few missing entries in the block queue sysfs
         documentation, from Joe
      
       - a fix for a sparse shadow warning for the bvec iterator, from
         Johannes
      
       - a writeback deadlock involving raid issuing barriers, and not
         flushing the plug when we wakeup the flusher threads.  From
         Konstantin
      
       - a set of patches for the NVMe target/loop/rdma code, from Roland and
         Sagi
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        bvec: avoid variable shadowing warning
        doc: update block/queue-sysfs.txt entries
        nvme: Suspend all queues before deletion
        mm, writeback: flush plugged IO in wakeup_flusher_threads()
        nvme-rdma: Remove unused includes
        nvme-rdma: start async event handler after reconnecting to a controller
        nvmet: Fix controller serial number inconsistency
        nvmet-rdma: Don't use the inline buffer in order to avoid allocation for small reads
        nvmet-rdma: Correctly handle RDMA device hot removal
        nvme-rdma: Make sure to shutdown the controller if we can
        nvme-loop: Remove duplicate call to nvme_remove_namespaces
        nvme-rdma: Free the I/O tags when we delete the controller
        nvme-rdma: Remove duplicate call to nvme_remove_namespaces
        nvme-rdma: Fix device removal handling
        nvme-rdma: Queue ns scanning after a sucessful reconnection
        nvme-rdma: Don't leak uninitialized memory in connect request private data
      a1e21033
    • Guenter Roeck's avatar
      h8300: Add missing include file to asm/io.h · 2b05980d
      Guenter Roeck authored
      h8300 builds fail with
      
      arch/h8300/include/asm/io.h:9:15: error: unknown type name ‘u8’
      arch/h8300/include/asm/io.h:15:15: error: unknown type name ‘u16’
      arch/h8300/include/asm/io.h:21:15: error: unknown type name ‘u32’
      
      and many related errors.
      
      Fixes: 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      2b05980d
    • Guenter Roeck's avatar
      unicore32: mm: Add missing parameter to arch_vma_access_permitted · 783011b1
      Guenter Roeck authored
      unicore32 fails to compile with the following errors.
      
      mm/memory.c: In function ‘__handle_mm_fault’:
      mm/memory.c:3381: error:
      	too many arguments to function ‘arch_vma_access_permitted’
      mm/gup.c: In function ‘check_vma_flags’:
      mm/gup.c:456: error:
      	too many arguments to function ‘arch_vma_access_permitted’
      mm/gup.c: In function ‘vma_permits_fault’:
      mm/gup.c:640: error:
      	too many arguments to function ‘arch_vma_access_permitted’
      
      Fixes: d61172b4 ("mm/core, x86/mm/pkeys: Differentiate instruction fetches")
      Cc: Dave Hansen <dave.hansen@linux.intel.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Acked-by: default avatarGuan Xuetao <gxt@mprc.pku.edu.cn>
      783011b1