1. 20 Dec, 2019 14 commits
    • 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
    • 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
  2. 19 Dec, 2019 6 commits
  3. 18 Dec, 2019 20 commits