1. 30 Dec, 2021 3 commits
    • 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.comSigned-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
  2. 29 Dec, 2021 3 commits
    • 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
    • Greg Kroah-Hartman's avatar
      cxl: use default_groups in kobj_type · 63064451
      Greg Kroah-Hartman authored
      There are currently 2 ways to create a set of sysfs files for a
      kobj_type, through the default_attrs field, and the default_groups
      field.  Move the cxl code to use default_groups field which has been the
      preferred way since aa30f47c ("kobject: Add support for default
      attribute groups to kobj_type") so that we can soon get rid of the
      obsolete default_attrs field.
      
      Cc: Frederic Barrat <fbarrat@linux.ibm.com>
      Cc: Andrew Donnellan <ajd@linux.ibm.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20211228131350.249532-1-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      63064451
    • Greg Kroah-Hartman's avatar
      UIO: use default_groups in kobj_type · 0ac46744
      Greg Kroah-Hartman authored
      There are currently 2 ways to create a set of sysfs files for a
      kobj_type, through the default_attrs field, and the default_groups
      field.  Move the UIO code to use default_groups field which has been the
      preferred way since aa30f47c ("kobject: Add support for default
      attribute groups to kobj_type") so that we can soon get rid of the
      obsolete default_attrs field.
      
      Link: https://lore.kernel.org/r/20211228131319.249324-1-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0ac46744
  3. 28 Dec, 2021 1 commit
  4. 27 Dec, 2021 21 commits
  5. 26 Dec, 2021 12 commits