1. 21 Dec, 2019 1 commit
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 12ac9a08
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "One core framework fix to walk the orphan list and match up clks to
        parents when clk providers register the DT provider after registering
        all their clks (as they should).
      
        Then a handful of driver fixes for the qcom, imx, and at91 drivers.
      
        The driver fixes are relatively small fixes for incorrect register
        settings or missing locks causing race conditions"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: qcom: Avoid SMMU/cx gdsc corner cases
        clk: qcom: gcc-sc7180: Fix setting flag for votable GDSCs
        clk: Move clk_core_reparent_orphans() under CONFIG_OF
        clk: at91: fix possible deadlock
        clk: walk orphan list on clock provider registration
        clk: imx: pll14xx: fix clk_pll14xx_wait_lock
        clk: imx: clk-imx7ulp: Add missing sentinel of ulp_div_table
        clk: imx: clk-composite-8m: add lock to gate/mux
      12ac9a08
  2. 20 Dec, 2019 21 commits
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · f1fd1610
      Linus Torvalds authored
      Pull Devicetree fix from Rob Herring:
       "Add missing 'properties' keyword enclosing 'snps,tso' in snps,dwmac
        binding"
      
      * tag 'devicetree-fixes-for-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: Add missing 'properties' keyword enclosing 'snps,tso'
      f1fd1610
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 3939f2c8
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - Leftover put_cpu() in the perf/smmuv3 error path.
      
       - Add Hisilicon TSV110 to spectre-v2 safe list
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: cpu_errata: Add Hisilicon TSV110 to spectre-v2 safe list
        perf/smmuv3: Remove the leftover put_cpu() in error path
      3939f2c8
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-12-21' of git://anongit.freedesktop.org/drm/drm · a7c88728
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Probably the last one before Christmas, I'll see if there is much
        demand over next few weeks for more fixes, I expect it'll be quiet
        enough.
      
        This has one exynos fix, and a bunch of i915 core and i915 GVT fixes.
      
        Summary:
      
        exynos:
         - component delete fix
      
        i915:
         - Fix to drop an unused and harmful display W/A
         - Fix to define EHL power wells independent of ICL
         - Fix for priority inversion on bonded requests
         - Fix in mmio offset calculation of DSB instance
         - Fix memory leak from get_task_pid when banning clients
         - Fixes to avoid dereference of uninitialized ops in dma_fence
           tracing and keep reference to execbuf object until submitted.
         - vGPU state setting locking fix (Zhenyu)
         - Fix vGPU display dmabuf as read-only (Zhenyu)
         - Properly handle vGPU display dmabuf page pin when rendering (Tina)
         - Fix one guest boot warning to handle guc reset state (Fred)"
      
      * tag 'drm-fixes-2019-12-21' of git://anongit.freedesktop.org/drm/drm:
        drm/exynos: gsc: add missed component_del
        drm/i915: Fix pid leak with banned clients
        drm/i915/gem: Keep request alive while attaching fences
        drm/i915: Fix WARN_ON condition for cursor plane ddb allocation
        drm/i915/gvt: Fix guest boot warning
        drm/i915/tgl: Drop Wa#1178
        drm/i915/ehl: Define EHL powerwells independently of ICL
        drm/i915: Set fence_work.ops before dma_fence_init
        drm/i915: Copy across scheduler behaviour flags across submit fences
        drm/i915/dsb: Fix in mmio offset calculation of DSB instance
        drm/i915/gvt: Pin vgpu dma address before using
        drm/i915/gvt: set guest display buffer as readonly
        drm/i915/gvt: use vgpu lock for active state setting
      a7c88728
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.5-20191220' of git://git.kernel.dk/linux-block · f8f04d08
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Here's a set of fixes that should go into 5.5-rc3 for io_uring.
      
        This is bigger than I'd like it to be, mainly because we're fixing the
        case where an application reuses sqe data right after issue. This
        really must work, or it's confusing. With 5.5 we're flagging us as
        submit stable for the actual data, this must also be the case for
        SQEs.
      
        Honestly, I'd really like to add another series on top of this, since
        it cleans it up considerable and prevents any SQE reuse by design. I
        posted that here:
      
          https://lore.kernel.org/io-uring/20191220174742.7449-1-axboe@kernel.dk/T/#u
      
        and may still send it your way early next week once it's been looked
        at and had some more soak time (does pass all regression tests). With
        that series, we've unified the prep+issue handling, and only the prep
        phase even has access to the SQE.
      
        Anyway, outside of that, fixes in here for a few other issues that
        have been hit in testing or production"
      
      * tag 'io_uring-5.5-20191220' of git://git.kernel.dk/linux-block:
        io_uring: io_wq_submit_work() should not touch req->rw
        io_uring: don't wait when under-submitting
        io_uring: warn about unhandled opcode
        io_uring: read opcode and user_data from SQE exactly once
        io_uring: make IORING_OP_TIMEOUT_REMOVE deferrable
        io_uring: make IORING_OP_CANCEL_ASYNC deferrable
        io_uring: make IORING_POLL_ADD and IORING_POLL_REMOVE deferrable
        io_uring: make HARDLINK imply LINK
        io_uring: any deferred command must have stable sqe data
        io_uring: remove 'sqe' parameter to the OP helpers that take it
        io_uring: fix pre-prepped issue with force_nonblock == true
        io-wq: re-add io_wq_current_is_worker()
        io_uring: fix sporadic -EFAULT from IORING_OP_RECVMSG
        io_uring: fix stale comment and a few typos
      f8f04d08
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2019-12-19' of... · 0c517e6c
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2019-12-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix to drop an unused and harmful display W/A
      - Fix to define EHL power wells independent of ICL
      - Fix for priority inversion on bonded requests
      - Fix in mmio offset calculation of DSB instance
      - Fix memory leak from get_task_pid when banning clients
      - Fixes to avoid dereference of uninitialized ops in dma_fence tracing
        and keep reference to execbuf object until submitted.
      
      - Includes gvt-fixes-2019-12-18
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191219124635.GA16068@jlahtine-desk.ger.corp.intel.com
      0c517e6c
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-fixes-for-v5.5-rc3' of... · 39b7f58f
      Dave Airlie authored
      Merge tag 'exynos-drm-fixes-for-v5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes
      
      Just one bug fixup
      . Make sure to unregister a component for Exynos gscaler driver
        when the driver is removed.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Inki Dae <inki.dae@samsung.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1576714013-3788-1-git-send-email-inki.dae@samsung.com
      39b7f58f
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · b371ddb9
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Fix kmemleak warning in IOVA code
      
       - Fix compile warnings on ARM32/64 in dma-iommu code due to dma_mask
         type mismatches
      
       - Make ISA reserved regions relaxable, so that VFIO can assign devices
         which have such regions defined
      
       - Fix mapping errors resulting in IO page-faults in the VT-d driver
      
       - Make sure direct mappings for a domain are created after the default
         domain is updated
      
       - Map ISA reserved regions in the VT-d driver with correct permissions
      
       - Remove unneeded check for PSI capability in the IOTLB flush code of
         the VT-d driver
      
       - Lockdep fix iommu_dma_prepare_msi()
      
      * tag 'iommu-fixes-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/dma: Relax locking in iommu_dma_prepare_msi()
        iommu/vt-d: Remove incorrect PSI capability check
        iommu/vt-d: Allocate reserved region for ISA with correct permission
        iommu: set group default domain before creating direct mappings
        iommu/vt-d: Fix dmar pte read access not set error
        iommu/vt-d: Set ISA bridge reserved region as relaxable
        iommu/dma: Rationalise types for DMA masks
        iommu/iova: Init the struct iova to fix the possible memleak
      b371ddb9
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.5-2' of git://git.infradead.org/linux-platform-drivers-x86 · fce34dec
      Linus Torvalds authored
      Pull x86 platform driver fixes from Andy Shevchenko:
       "Bucket of fixes for PDx86. Note, that there is no ABI breakage in
        Mellanox driver because it has been introduced in v5.5-rc1, so we can
        change it.
      
        Summary:
      
         - Add support of APUv4 and fix an assignment of simswap GPIO
      
         - Add Siemens CONNECT X300 to DMI table to avoid stuck during boot
      
         - Correct arguments of WMI call on HP Envy x360 15-cp0xxx model
      
         - Fix the mlx-bootctl sysfs attributes to be device related"
      
      * tag 'platform-drivers-x86-v5.5-2' of git://git.infradead.org/linux-platform-drivers-x86:
        platform/x86: pcengines-apuv2: Spelling fixes in the driver
        platform/x86: pcengines-apuv2: detect apuv4 board
        platform/x86: pcengines-apuv2: fix simswap GPIO assignment
        platform/x86: pmc_atom: Add Siemens CONNECT X300 to critclk_systems DMI table
        platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes
        platform/mellanox: fix the mlx-bootctl sysfs
      fce34dec
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · d2944d53
      Linus Torvalds authored
      Pull MMC host fixes from Ulf Hansson:
      
       - mtk-sd: Fix tuning for MT8173 HS200/HS400 mode
      
       - sdhci: Revert a fix for incorrect switch to HS mode
      
       - sdhci-msm: Fixup accesses to the DDR_CONFIG register
      
       - sdhci-of-esdhc: Revert a bad fix for erratum A-009204
      
       - sdhci-of-esdhc: Re-implement fix for erratum A-009204
      
       - sdhci-of-esdhc: Fixup P2020 errata handling
      
       - sdhci-pci: Disable broken CMDQ on Intel GLK based Lenovo systems
      
      * tag 'mmc-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-of-esdhc: re-implement erratum A-009204 workaround
        mmc: sdhci: Add a quirk for broken command queuing
        mmc: sdhci: Workaround broken command queuing on Intel GLK
        mmc: sdhci-of-esdhc: fix P2020 errata handling
        mmc: sdhci: Update the tuning failed messages to pr_debug level
        mmc: sdhci-of-esdhc: Revert "mmc: sdhci-of-esdhc: add erratum A-009204 support"
        mmc: mediatek: fix CMD_TA to 2 for MT8173 HS200/HS400 mode
        mmc: sdhci-msm: Correct the offset and value for DDR_CONFIG register
        Revert "mmc: sdhci: Fix incorrect switch to HS mode"
      d2944d53
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 6398b9fc
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and other driver fixes for 5.5-rc3.
      
        The most noticable one is a much-reported fix for a random driver
        issue that came up from 5.5-rc1 compat_ioctl cleanups. The others are
        a chunk of habanalab driver fixes and intel_th driver fixes and new
        device ids.
      
        All have been in linux-next with no reported issues"
      
      * tag 'char-misc-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        random: don't forget compat_ioctl on urandom
        intel_th: msu: Fix window switching without windows
        intel_th: Fix freeing IRQs
        intel_th: pci: Add Elkhart Lake SOC support
        intel_th: pci: Add Comet Lake PCH-V support
        habanalabs: remove variable 'val' set but not used
        habanalabs: rate limit error msg on waiting for CS
      6398b9fc
    • Linus Torvalds's avatar
      Merge tag 'staging-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 107aff96
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are some small staging driver fixes for a number of reported
        issues.
      
        The majority here are some fixes for the wfx driver, but also in here
        is a comedi driver fix found during some code review, and an axis-fifo
        build dependancy issue to resolve some reported testing problems.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'staging-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: wfx: fix wrong error message
        staging: wfx: fix hif_set_mfp() with big endian hosts
        staging: wfx: detect race condition in WEP authentication
        staging: wfx: ensure that retry policy always fallbacks to MCS0 / 1Mbps
        staging: wfx: fix rate control handling
        staging: wfx: firmware does not support more than 32 total retries
        staging: wfx: use boolean appropriately
        staging: wfx: fix counter overflow
        staging: wfx: fix case of lack of tx_retry_policies
        staging: wfx: fix the cache of rate policies on interface reset
        staging: axis-fifo: add unspecified HAS_IOMEM dependency
        staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value
      107aff96
    • Wei Li's avatar
      arm64: cpu_errata: Add Hisilicon TSV110 to spectre-v2 safe list · aa638cfe
      Wei Li authored
      HiSilicon Taishan v110 CPUs didn't implement CSV2 field of the
      ID_AA64PFR0_EL1, but spectre-v2 is mitigated by hardware, so
      whitelist the MIDR in the safe list.
      Signed-off-by: default avatarWei Li <liwei391@huawei.com>
      [hanjun: re-write the commit log]
      Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      aa638cfe
    • Linus Torvalds's avatar
      Merge tag 'tty-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 1a4ee867
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 5.5-rc3.
      
        Only four small patches here:
      
         - atmel serial driver fix
      
         - msm_serial driver fix
      
         - sprd serial driver fix
      
         - tty core port fix
      
        The last tty core fix should resolve a long-standing bug with a race
        at port creation time that some people would see, and Sudip finally
        tracked down.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty/serial: atmel: fix out of range clock divider handling
        tty: link tty and port before configuring it as console
        serial: sprd: Add clearing break interrupt operation
        tty: serial: msm_serial: Fix lockup for sysrq and oops
      1a4ee867
    • Linus Torvalds's avatar
      Merge tag 'usb-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 7181aba1
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for some reported issues.
      
        Included in here are:
      
         - xhci build warning fix
      
         - ehci disconnect warning fix
      
         - usbip lockup fix and error cleanup fix
      
         - typec build fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: xhci: Fix build warning seen with CONFIG_PM=n
        usbip: Fix error path of vhci_recv_ret_submit()
        usbip: Fix receive error in vhci-hcd when using scatter-gather
        USB: EHCI: Do not return -EPIPE when hub is disconnected
        usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state'
      7181aba1
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 7190a23a
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Sorry that this fixes pull request took a while. Too much christmas
        business going on.
      
        This contains a few really important Intel fixes and some odd fixes:
      
         - A host of fixes for the Intel baytrail and cherryview: properly
           serialize all register accesses and add the irqchip with the
           gpiochip as we need to, fix some pin lists and initialize the
           hardware in the right order.
      
         - Fix the Aspeed G6 LPC configuration.
      
         - Handle a possible NULL pointer exception in the core.
      
         - Fix the Kconfig dependencies for the Equilibrium driver"
      
      * tag 'pinctrl-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: ingenic: Fixup PIN_CONFIG_OUTPUT config
        pinctrl: Modify Kconfig to fix linker error
        pinctrl: pinmux: fix a possible null pointer in pinmux_can_be_used_for_gpio
        pinctrl: aspeed-g6: Fix LPC/eSPI mux configuration
        pinctrl: cherryview: Pass irqchip when adding gpiochip
        pinctrl: cherryview: Add GPIO <-> pin mapping ranges via callback
        pinctrl: cherryview: Split out irq hw-init into a separate helper function
        pinctrl: baytrail: Pass irqchip when adding gpiochip
        pinctrl: baytrail: Add GPIO <-> pin mapping ranges via callback
        pinctrl: baytrail: Update North Community pin list
        pinctrl: baytrail: Really serialize all register accesses
      7190a23a
    • Andy Shevchenko's avatar
      platform/x86: pcengines-apuv2: Spelling fixes in the driver · 02abbda1
      Andy Shevchenko authored
      Mainly does:
       - capitalize gpio and bios to GPIO and BIOS
       - capitalize beginning of comments
       - add periods in multi-line comments
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      02abbda1
    • Enrico Weigelt, metux IT consult's avatar
      platform/x86: pcengines-apuv2: detect apuv4 board · 3d00da1d
      Enrico Weigelt, metux IT consult authored
      GPIO stuff on APUv4 seems to be the same as on APUv2, so we just
      need to match on DMI data.
      Signed-off-by: default avatarEnrico Weigelt, metux IT consult <info@metux.net>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      3d00da1d
    • Enrico Weigelt, metux IT consult's avatar
      platform/x86: pcengines-apuv2: fix simswap GPIO assignment · d4ac8f83
      Enrico Weigelt, metux IT consult authored
      The mapping entry has to hold the GPIO line index instead of
      controller's register number.
      
      Fixes: 5037d4dd ("platform/x86: pcengines-apuv2: wire up simswitch gpio as led")
      Signed-off-by: default avatarEnrico Weigelt, metux IT consult <info@metux.net>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      d4ac8f83
    • Michael Haener's avatar
      platform/x86: pmc_atom: Add Siemens CONNECT X300 to critclk_systems DMI table · e8796c6c
      Michael Haener authored
      The CONNECT X300 uses the PMC clock for on-board components and gets
      stuck during boot if the clock is disabled. Therefore, add this
      device to the critical systems list.
      Tested on CONNECT X300.
      
      Fixes: 648e9218 ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
      Signed-off-by: default avatarMichael Haener <michael.haener@siemens.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      e8796c6c
    • Hans de Goede's avatar
      platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes · 133b2ace
      Hans de Goede authored
      At least on the HP Envy x360 15-cp0xxx model the WMI interface
      for HPWMI_FEATURE2_QUERY requires an outsize of at least 128 bytes,
      otherwise it fails with an error code 5 (HPWMI_RET_INVALID_PARAMETERS):
      
      Dec 06 00:59:38 kernel: hp_wmi: query 0xd returned error 0x5
      
      We do not care about the contents of the buffer, we just want to know
      if the HPWMI_FEATURE2_QUERY command is supported.
      
      This commits bumps the buffer size, fixing the error.
      
      Fixes: 8a1513b4 ("hp-wmi: limit hotkey enable")
      Cc: stable@vger.kernel.org
      BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1520703Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      133b2ace
    • Liming Sun's avatar
      platform/mellanox: fix the mlx-bootctl sysfs · 77dcc95e
      Liming Sun authored
      This is a follow-up commit for the sysfs attributes to change
      from DRIVER_ATTR to DEVICE_ATTR according to some initial comments.
      In such case, it's better to point the sysfs path to the device
      itself instead of the driver. The ABI document is also updated.
      
      Fixes: 79e29cb8 ("platform/mellanox: Add bootctl driver for Mellanox BlueField Soc")
      Signed-off-by: default avatarLiming Sun <lsun@mellanox.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      77dcc95e
  3. 19 Dec, 2019 8 commits
  4. 18 Dec, 2019 10 commits