1. 26 Mar, 2017 2 commits
    • Linus Torvalds's avatar
      Merge tag 'powerpc-4.11-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 42234bf8
      Linus Torvalds authored
      Pull more powerpc fixes from Michael Ellerman:
       "These are all pretty minor. The fix for idle wakeup would be a bad bug
        but has not been observed in practice.
      
        The update to the gcc-plugins docs was Cc'ed to Kees and Jon, Kees
        OK'ed it going via powerpc and I didn't hear from Jon.
      
         - cxl: Route eeh events to all slices for pci_channel_io_perm_failure state
      
         - powerpc/64s: Fix idle wakeup potential to clobber registers
      
         - Revert "powerpc/64: Disable use of radix under a hypervisor"
      
         - gcc-plugins: update architecture list in documentation
      
        Thanks to: Andrew Donnellan, Nicholas Piggin, Paul Mackerras, Vaibhav
        Jain"
      
      * tag 'powerpc-4.11-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        gcc-plugins: update architecture list in documentation
        Revert "powerpc/64: Disable use of radix under a hypervisor"
        powerpc/64s: Fix idle wakeup potential to clobber registers
        cxl: Route eeh events to all slices for pci_channel_io_perm_failure state
      42234bf8
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 1c23de63
      Linus Torvalds authored
      Pull ext4 fixes from Ted Ts'o:
       "Fix a memory leak on an error path, and two races when modifying
        inodes relating to the inline_data and metadata checksum features"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: fix two spelling nits
        ext4: lock the xattr block before checksuming it
        jbd2: don't leak memory if setting up journal fails
        ext4: mark inode dirty after converting inline directory
      1c23de63
  2. 25 Mar, 2017 20 commits
  3. 24 Mar, 2017 18 commits
    • Linus Torvalds's avatar
      Merge tag 'vfio-v4.11-rc4' of git://github.com/awilliam/linux-vfio · d07c6f46
      Linus Torvalds authored
      Pull VFIO fix from Alex Williamson:
       "Rework sanity check for mdev driver group notifier de-registration
        (Alex Williamson)"
      
      * tag 'vfio-v4.11-rc4' of git://github.com/awilliam/linux-vfio:
        vfio: Rework group release notifier warning
      d07c6f46
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 04e904aa
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A few fixes for the current series that should go into -rc4. This
        contains:
      
         - a fix for a potential corruption of un-started requests from Ming.
      
         - a blk-stat fix from Omar, ensuring we flush the stat batch before
           checking nr_samples.
      
         - a set of fixes from Sagi for the nvmeof family"
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        blk-mq: don't complete un-started request in timeout handler
        nvme-loop: handle cpu unplug when re-establishing the controller
        nvme-rdma: handle cpu unplug when re-establishing the controller
        nvmet-rdma: Fix a possible uninitialized variable dereference
        nvmet: confirm sq percpu has scheduled and switched to atomic
        nvme-loop: fix a possible use-after-free when destroying the admin queue
        blk-stat: fix blk_stat_sum() if all samples are batched
      04e904aa
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-4.11-rc4' of git://github.com/ceph/ceph-client · 59d9cb91
      Linus Torvalds authored
      Pull ceph fix from Ilya Dryomov:
       "A fix for a writeback deadlock caused by a GFP_KERNEL allocation on
        the reclaim path, tagged for stable"
      
      * tag 'ceph-for-4.11-rc4' of git://github.com/ceph/ceph-client:
        libceph: force GFP_NOIO for socket allocations
      59d9cb91
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 2056b7c7
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
      
       - a couple of OMAP 4.11 regression fixes, including a boot regression
         for SmartReflex, hypervisor mode in thumb2 mode, and reference
         counting of device nodes
      
       - a fix for cpu_idle on at91
      
       - minor DT fixes on across several platforms: sunxi, bcm53xx, at91,
         nsp, ns2, ux500, omap
      
       - a fix to correct an API change in the reset controllers
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
        arm64: dts: NS2: Add dma-coherent to relevant DT entries
        reset: fix optional reset_control_get stubs to return NULL
        ARM: sun8i: a23/a33: drop bl_en_pin GPIO pinmux in reference design DTSI
        ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
        ARM: dts: NSP: GPIO reboot open-source
        ARM: at91: pm: cpu_idle: switch DDR to power-down mode
        ARM: dts: add the AB8500 clocks to the device tree
        ARM: dts: imx6sx-udoo-neo: Fix reboot hang
        ARM: sun8i: Fix the mali clock rate
        ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
        ARM: dts: BCM5301X: Fix memory start address
        ARM: dts: BCM5301X: Fix UARTs on bcm953012k
        Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
        ARM: OMAP2+: Release device node after it is no longer needed.
        ARM: OMAP2+: Fix device node reference counts
        ARM: OMAP2+: Remove legacy gpmc-nand.c
        ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
        ARM: dts: am335x-pcm953: Fix legacy wakeup source binding
        ARM: omap2plus_defconfig: Enable INPUT_MOUSEDEV as loadable modules
        ARM: dts: am57xx-idk: tpic2810 is on I2C bus, not SPI
        ...
      2056b7c7
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.11b-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 42ea16f8
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
       "Fixes for PM under Xen"
      
      * tag 'for-linus-4.11b-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/acpi: upload PM state from init-domain to Xen
        xen/acpi: Replace hard coded "ACPI0007"
      42ea16f8
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 69917da7
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "There's a kaslr fix and then two patches to update our native and
        compat syscall tables. Arnd asked that we take the addition of statx
        to the asm-generic unistd.h via arm64, as he didn't have anything
        queued in the asm-generic tree.
      
        Summary:
      
         - Fix mapping of kernel image under certain kaslr offsets
      
         - Hook up new statx syscall in asm-generic syscall table
      
         - Update compat syscall table to match arch/arm/ (pkeys and statx)"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: kaslr: Fix up the kernel image alignment
        arm64: compat: Update compat syscalls
        generic syscalls: Wire up statx syscall
      69917da7
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · e8fe23ff
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "This fixes regressions in the crypto ccp driver and the hwrng drivers
        for amd and geode"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        hwrng: geode - Revert managed API changes
        hwrng: amd - Revert managed API changes
        crypto: ccp - Assign DMA commands to the channel's CCP
      e8fe23ff
    • Jason Gunthorpe's avatar
      infiniband: Fix alignment of mmap cookies to support VIPT caching · cb886455
      Jason Gunthorpe authored
      When vmalloc_user is used to create memory that is supposed to be mmap'd
      to user space, it is necessary for the mmap cookie (eg the offset) to be
      aligned to SHMLBA.
      
      This creates a situation where all virtual mappings of the same physical
      page share the same virtual cache index and guarantees VIPT coherence.
      Otherwise the cache is non-coherent and the kernel will not see writes
      by userspace when reading the shared page (or vice-versa).
      Reported-by: default avatarJosh Beavers <josh.beavers@gmail.com>
      Signed-off-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      cb886455
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v4.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 213e4eb2
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
       "A few fixes piled up:
      
         - fix a NULL-ptr dereference that happens in VT-d on some platforms
      
         - a fix for ARM MSI region reporting, so that a sane interface makes
           it to a released kernel
      
         - fixes for leaf-checking in ARM io-page-table code
      
         - two fixes for IO/TLB flushing code on ARM Exynos platforms"
      
      * tag 'iommu-fixes-v4.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu: Disambiguate MSI region types
        iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
        iommu/exynos: Block SYSMMU while invalidating FLPD cache
        iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
        iommu/io-pgtable-arm-v7s: Check for leaf entry before dereferencing it
        iommu/io-pgtable-arm: Check for leaf entry before dereferencing it
      213e4eb2
    • Sagi Grimberg's avatar
      IB/core: Protect against self-requeue of a cq work item · 86f46aba
      Sagi Grimberg authored
      We need to make sure that the cq work item does not
      run when we are destroying the cq. Unlike flush_work,
      cancel_work_sync protects against self-requeue of the
      work item (which we can do in ib_cq_poll_work).
      Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>--
      Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      86f46aba
    • Linus Torvalds's avatar
      Merge tag 'mmc-v4.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 9a31328f
      Linus Torvalds authored
      Pull mmc fixes from Ulf Hansson:
       "Here are a couple of mmc fixes intended for v4.11 rc4.
      
        MMC core:
         - Fix initialization of HS400-ES eMMC cards
         - A couple of fixes for the mmc block device driver
         - Resolved a compiler warning
      
        MMC host:
         - sdhci: Do not disable IRQs while waiting for clock
         - sdhci-pci: Do not disable IRQs in sdhci_intel_set_power
         - sdhci-of-arasan: Fix incorrect timeout clock
         - mediatek: Fix bug for setting wrong clock frequency
         - sdhci-of-at91: Use regulator to fix cmd timeout errors
         - ushc: Fix NULL-deref at probe
         - rockchip-dw-mshc: Rename RK1108 to RV1108 in DT"
      
      * tag 'mmc-v4.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
        mmc: sdhci: Do not disable interrupts while waiting for clock
        mmc: ushc: fix NULL-deref at probe
        mmc: sdhci-of-at91: Support external regulators
        mmc: core: mmc_blk_rw_cmd_err - remove unused variable
        mmc: mediatek: Fixed bug where clock frequency could be set wrong
        mmc: block: Fix cmd error reset failure path
        mmc: block: Fix is_waiting_last_req set incorrectly
        mmc: core: Fix access to HS400-ES devices
        mmc: sdhci-of-arasan: fix incorrect timeout clock
        dt-bindings: rockchip-dw-mshc: rename RK1108 to RV1108
      9a31328f
    • Linus Torvalds's avatar
      Merge tag 'media/v4.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · e8871186
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - dvb-usb-firmware: don't do DMA on stack
      
       - coda/imx-vdoa: platform_driver should not be const
      
       - bdisp: Clean up file handle in open() error path
      
       - exynos-gsc: Do not swap cb/cr for semi planar formats
      
      * tag 'media/v4.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] exynos-gsc: Do not swap cb/cr for semi planar formats
        [media] bdisp: Clean up file handle in open() error path
        [media] coda/imx-vdoa: platform_driver should not be const
        [media] dvb-usb-firmware: don't do DMA on stack
      e8871186
    • Shiraz Saleem's avatar
      i40iw: Receive netdev events post INET_NOTIFIER state · 871a8623
      Shiraz Saleem authored
      Netdev notification events are de-registered only when all
      client iwdev instances are removed. If a single client is closed
      and re-opened, netdev events could arrive even before the Control
      Queue-Pair (CQP) is created, causing a NULL pointer dereference crash
      in i40iw_get_cqp_request. Fix this by allowing netdev event
      notification only after we have reached the INET_NOTIFIER state with
      respect to device initialization.
      Reported-by: default avatarStefan Assmann <sassmann@redhat.com>
      Signed-off-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
      Reviewed-by: default avatarYuval Shaia <yuval.shaia@oracle.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      871a8623
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-for-v4.11-rc4' of git://people.freedesktop.org/~airlied/linux · 86b7eab2
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
      
       - one core drm/fbdev regression fix
      
       - a set of i915 fixes including a few GVT related fixes, along with
         some reset fixes
      
       - one new PCI id for amdgpu, and some minor workaround regression
         fixes
      
       - .. and a set of exynos fixes, dropping support for an old unsupported
         SoC, some vblank timing fixes, and an info leak fix
      
      * tag 'drm-fixes-for-v4.11-rc4' of git://people.freedesktop.org/~airlied/linux: (34 commits)
        drm/fb-helper: Allow var->x/yres(_virtual) < fb->width/height again
        drm/i915: make context status notifier head be per engine
        drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
        drm/exynos/dsi: make te-gpios optional
        drm/exynos: Print kernel pointers in a restricted form
        drm/exynos/decon5433: fix software trigger mask
        drm/exynos/fimd: signal frame done interrupt at front porch
        drm/exynos/decon5433: signal frame done interrupt at front porch
        drm/exynos/decon5433: fix vblank event handling
        drm/exynos: move crtc event handling to drivers callbacks
        drm/exynos: Remove support for Exynos4415 (SoC not supported anymore)
        drm/exynos/decon5433: & vs | typo
        drm/amd/amdgpu: add POLARIS12 PCI ID
        drm/i915/gvt: Fix gvt scheduler interval time
        drm/i915/gvt: GVT pin/unpin shadow context
        drm/i915/gvt: scan shadow indirect context image when valid
        drm/i915/kvmgt: fix suspicious rcu dereference usage
        drm/i915/gvt: add enable_execlists check before enable gvt
        drm/i915/gvt: Remove bogus retry around i915_wait_request
        drm/i915/gvt: correct the ggtt valid bit check in pipe control command
        ...
      86b7eab2
    • Arnd Bergmann's avatar
      Merge tag 'arm-soc/for-4.11/devicetree-arm64-fixes' of... · 0fa974b8
      Arnd Bergmann authored
      Merge tag 'arm-soc/for-4.11/devicetree-arm64-fixes' of http://github.com/Broadcom/stblinux into fixes
      
      Pull "Broadcom arm64 Device Tree fixes for 4.11" from Florian Fainelli:
      
      This pull request contains Broadcom ARM64-based SoCs Device Tree fixes for 4.11,
      please pull the following:
      
      - Jon adds missing "dma-coherent" property to the Northstar 2 DTS include file
        in order to fix both performance and cache problems for: PCIe, Ethernet,
        PDC/mailbox, SATA3 and SDHCI
      
      * tag 'arm-soc/for-4.11/devicetree-arm64-fixes' of http://github.com/Broadcom/stblinux:
        arm64: dts: NS2: Add dma-coherent to relevant DT entries
      0fa974b8
    • Arnd Bergmann's avatar
      Merge tag 'arm-soc/for-4.11/devicetree-fixes-2' of http://github.com/Broadcom/stblinux into fixes · bf3f5308
      Arnd Bergmann authored
      Pull "Broadcom arm Device Tree fixes for 4.11 (part 2)" from Florian Fainelli:
      
      This pull request contains Broadcom ARM-based SoCs Device Tree fixes for 4.11,
      please pull the following:
      
      - Jon fixes a reboot issue on most Northstar Plus platforms by adding the
        "open-source" property to the "gpio-restart" Device Tree nodes
      
      * tag 'arm-soc/for-4.11/devicetree-fixes-2' of http://github.com/Broadcom/stblinux:
        ARM: dts: NSP: GPIO reboot open-source
      bf3f5308
    • Linus Torvalds's avatar
      Merge tag 'pm-4.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ebe64824
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "One of these is an intel_pstate regression fix and it is not a small
        change, but it mostly removes code that shouldn't be there. That code
        was acquired by mistake and has been a source of constant pain since
        then, so the time has come to get rid of it finally. We have not seen
        problems with this change in the lab, so fingers crossed.
      
        The rest is more usual: one more intel_pstate commit removing useless
        code, a cpufreq core fix to make it restore policy limits on CPU
        online (which prevents the limits from being reset over system
        suspend/resume), a schedutil cpufreq governor initialization fix to
        make it actually work as advertised on all systems and an extra sanity
        check in the cpuidle core to prevent crashes from happening if the
        arch code messes things up.
      
        Specifics:
      
         - Make intel_pstate use one set of global P-state limits in the
           active mode regardless of the scaling_governor settings for
           individual CPUs instead of switching back and forth between two of
           them in a way that is hard to control (Rafael Wysocki).
      
         - Drop a useless function from intel_pstate to prevent it from
           modifying the maximum supported frequency value unexpectedly which
           may confuse the cpufreq core (Rafael Wysocki).
      
         - Fix the cpufreq core to restore policy limits on CPU online so that
           the limits are not reset over system suspend/resume, among other
           things (Viresh Kumar).
      
         - Fix the initialization of the schedutil cpufreq governor to make
           the IO-wait boosting mechanism in it actually work on systems with
           one CPU per cpufreq policy (Rafael Wysocki).
      
         - Add a sanity check to the cpuidle core to prevent crashes from
           happening if the architecture code initialization fails to set up
           things as expected (Vaidyanathan Srinivasan)"
      
      * tag 'pm-4.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: Restore policy min/max limits on CPU online
        cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
        cpufreq: intel_pstate: Fix policy data management in passive mode
        cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start()
        cpufreq: intel_pstate: One set of global limits in active mode
      ebe64824
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 02a2cad8
      Linus Torvalds authored
      Pull input fixes from Dmitry Torokhov:
       "Fixes to various USB drivers to validate existence of endpoints before
        trying to use them, fixes to APLS v8 protocol, and a couple of i8042
        quirks"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: ALPS - fix trackstick button handling on V8 devices
        Input: ALPS - fix V8+ protocol handling (73 03 28)
        Input: sur40 - validate number of endpoints before using them
        Input: kbtab - validate number of endpoints before using them
        Input: hanwang - validate number of endpoints before using them
        Input: yealink - validate number of endpoints before using them
        Input: ims-pcu - validate number of endpoints before using them
        Input: cm109 - validate number of endpoints before using them
        Input: iforce - validate number of endpoints before using them
        Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
        Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
        Input: synaptics-rmi4 - prevent null pointer dereference in f30
        Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
      02a2cad8