1. Dec 31, 2021
  2. Dec 30, 2021
    • Alexander Usyskin's avatar
      mei: hbm: fix client dma reply status · 6b0b80ac
      Alexander Usyskin authored
      Don't blindly copy status value received from the firmware
      into internal client status field,
      It may be positive and ERR_PTR(ret) will translate it
      into an invalid address and the caller will crash.
      
      Put the error code into the client status on failure.
      
      Fixes: 369aea84
      
       ("mei: implement client dma setup.")
      Cc: <stable@vger.kernel.org> # v5.11+
      Reported-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Tested-by: default avatar: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      Acked-by: default avatarTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
      Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
      Link: https://lore.kernel.org/r/20211228082047.378115-1-tomas.winkler@intel.com
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6b0b80ac
    • Wei Yongjun's avatar
      misc: lattice-ecp3-config: Fix task hung when firmware load failed · fcee5ce5
      Wei Yongjun authored
      When firmware load failed, kernel report task hung as follows:
      
      INFO: task xrun:5191 blocked for more than 147 seconds.
            Tainted: G        W         5.16.0-rc5-next-20211220+ #11
      "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      task:xrun            state:D stack:    0 pid: 5191 ppid:   270 flags:0x00000004
      Call Trace:
       __schedule+0xc12/0x4b50 kernel/sched/core.c:4986
       schedule+0xd7/0x260 kernel/sched/core.c:6369 (discriminator 1)
       schedule_timeout+0x7aa/0xa80 kernel/time/timer.c:1857
       wait_for_completion+0x181/0x290 kernel/sched/completion.c:85
       lattice_ecp3_remove+0x32/0x40 drivers/misc/lattice-ecp3-config.c:221
       spi_remove+0x72/0xb0 drivers/spi/spi.c:409
      
      lattice_ecp3_remove() wait for signals from firmware loading, but when
      load failed, firmware_load() does not send this signal. This cause
      device remove hung. Fix it by sending signal even if load failed.
      
      Fixes: 781551df
      
       ("misc: Add Lattice ECP3 FPGA configuration via SPI")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
      Link: https://lore.kernel.org/r/20211228125522.3122284-1-weiyongjun1@huawei.com
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fcee5ce5
    • Greg Kroah-Hartman's avatar
      Merge tag 'phy-for-5.17' of... · e75a58db
      Greg Kroah-Hartman authored
      Merge tag 'phy-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into char-misc-next
      
      Vinod writes:
      
      phy-for-5.17
      
        - New support:
              - Qualcomm eDP PHY driver
      	- Qualcomm SM8450 UFS, USB2, USB3, PCIe0 and PCIe1 phy support
      	- Lan966x ethernet serdes PHY driver
      	- Support for uniphier NXI & Pro4 SoC
              - Qualcomm SM6350 USB2 support
      	- Amlogic Meson8 HDMI TX PHY driver
      	- Rockchip rk3568 usb2 support
      	- Intel Thunder Bay eMMC PHY driver
      	- Freescale IMX8 PCIe phy driver
      
        - Updates:
      	- Cadence Sierra driver updates for multilink configurations
              - Bcm usb2 updates for Phy reg space
      
      * tag 'phy-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (72 commits)
        phy: cadence: Sierra: Add support for derived reference clock output
        dt-bindings: phy: cadence-sierra: Add clock ID for derived reference clock
        phy: cadence: Sierra: Add PCIe + QSGMII PHY multilink configuration
        phy: cadence: Sierra: Add support for PHY multilink configurations
        phy: cadence: Sierra: Fix to get correct parent for mux clocks
        phy: cadence: Sierra: Update single link PCIe register configuration
        phy: cadence: Sierra: Check PIPE mode PHY status to be ready for operation
        phy: cadence: Sierra: Check cmn_ready assertion during PHY power on
        phy: cadence: Sierra: Add PHY PCS common register configurations
        phy: cadence: Sierra: Rename some regmap variables to be in sync with Sierra documentation
        phy: cadence: Sierra: Add support to get SSC type from device tree
        dt-bindings: phy: cadence-sierra: Add binding to specify SSC mode
        dt-bindings: phy: cadence-torrent: Rename SSC macros to use generic names
        phy: cadence: Sierra: Prepare driver to add support for multilink configurations
        phy: cadence: Sierra: Use of_device_get_match_data() to get driver data
        phy: mediatek: Fix missing check in mtk_mipi_tx_probe
        phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
        phy: phy-mtk-tphy: use new io helpers to access register
        phy: phy-mtk-xsphy: use new io helpers to access register
        phy: mediatek: add helpers to update bits of registers
        ...
      e75a58db
    • Greg Kroah-Hartman's avatar
      Merge tag 'soundwire-5.17-rc1' of... · 1563fca2
      Greg Kroah-Hartman authored
      Merge tag 'soundwire-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire into char-misc-next
      
      Vinod writes:
      
      soundwire updates for 5.17-rc1
      
       - Remove redundant version number read in qcom driver
      
      * tag 'soundwire-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
        soundwire: qcom: remove redundant version number read
      1563fca2
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.17b' of... · 0fa32879
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.17b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      2nd set of new device support etc for IIO in the 5.17 cycle.
      
      A small additional set of things that just missed the previous
      pull request and have mostly been through plenty of review before the
      holiday period began (or are trivial).  I've not taken some other series
      on the list to allow for more eyes after the holiday period.
      
      New device support
      * adi,admv1013
        - New driver for this wideband microwave upconverter including dt-bindings
          and some device specific ABI due to the need to describe phase calibrations
          of a differential channel on both i and q phases. Previously we could
          do differential or i/q but not both on the same channel. The driver
          ABI uses a workaround for core support which will do until we know if
          this is a common requirement for which a more generic solution is
          needed.
      
      MAINTAINERS:
      * Add Haibo Chen as a maintainer for various NXP SoC ADCs.
      
      Minor cleanup:
      * sunrise_co2
        - Make sure an uninitialized value isn't used to set *val in read_raw().
          Not a real bug, but a compiler or reviewer can't tell that based
          on what they can see locally.
      
      * tag 'iio-for-5.17b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
        iio: chemical: sunrise_co2: set val parameter only on success
        dt-bindings:iio:adc: update the maintainer of vf610-adc
        MAINTAINERS: add imx7d/imx6sx/imx6ul/imx8qxp and vf610 adc maintainer
        Documentation:ABI:testing:admv1013: add ABI docs
        dt-bindings: iio: frequency: add admv1013 doc
        iio: frequency: admv1013: add support for ADMV1013
      0fa32879
  3. Dec 29, 2021
  4. Dec 27, 2021
  5. Dec 26, 2021