1. 06 Jul, 2023 9 commits
    • Guenter Roeck's avatar
      i2c: mpc: Drop unused variable · 6537ed39
      Guenter Roeck authored
      Fix the following build error.
      
      Error log:
      drivers/i2c/busses/i2c-mpc.c: In function 'mpc_i2c_setup_512x':
      drivers/i2c/busses/i2c-mpc.c:310:20: error: unused variable 'pval'
      
      Fixes: 9d178e00 ("i2c: mpc: Use of_property_read_reg() to parse "reg"")
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      6537ed39
    • Christophe JAILLET's avatar
      i2c: nomadik: Remove a useless call in the remove function · 05f933d5
      Christophe JAILLET authored
      Since commit 23560214 ("i2c-nomadik: turn the platform driver to an amba
      driver"), there is no more request_mem_region() call in this driver.
      
      So remove the release_mem_region() call from the remove function which is
      likely a left over.
      
      Fixes: 23560214 ("i2c-nomadik: turn the platform driver to an amba driver")
      Cc: <stable@vger.kernel.org> # v3.6+
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarAndi Shyti <andi.shyti@kernel.org>
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      05f933d5
    • Robert Hancock's avatar
      i2c: xiic: Don't try to handle more interrupt events after error · cb6e45c9
      Robert Hancock authored
      In xiic_process, it is possible that error events such as arbitration
      lost or TX error can be raised in conjunction with other interrupt flags
      such as TX FIFO empty or bus not busy. Error events result in the
      controller being reset and the error returned to the calling request,
      but the function could potentially try to keep handling the other
      events, such as by writing more messages into the TX FIFO. Since the
      transaction has already failed, this is not helpful and will just cause
      issues.
      
      This problem has been present ever since:
      
      commit 7f9906bd ("i2c: xiic: Service all interrupts in isr")
      
      which allowed non-error events to be handled after errors, but became
      more obvious after:
      
      commit 743e227a ("i2c: xiic: Defer xiic_wakeup() and
      __xiic_start_xfer() in xiic_process()")
      
      which reworked the code to add a WARN_ON which triggers if both the
      xfer_more and wakeup_req flags were set, since this combination is
      not supposed to happen, but was occurring in this scenario.
      
      Skip further interrupt handling after error flags are detected to avoid
      this problem.
      
      Fixes: 7f9906bd ("i2c: xiic: Service all interrupts in isr")
      Signed-off-by: default avatarRobert Hancock <robert.hancock@calian.com>
      Acked-by: default avatarAndi Shyti <andi.shyti@kernel.org>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      cb6e45c9
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 7b82e904
      Linus Torvalds authored
      Pull asm-generic updates from Arnd Bergmann:
       "These are cleanups for architecture specific header files:
      
         - the comments in include/linux/syscalls.h have gone out of sync and
           are really pointless, so these get removed
      
         - The asm/bitsperlong.h header no longer needs to be architecture
           specific on modern compilers, so use a generic version for newer
           architectures that use new enough userspace compilers
      
         - A cleanup for virt_to_pfn/virt_to_bus to have proper type checking,
           forcing the use of pointers"
      
      * tag 'asm-generic-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        syscalls: Remove file path comments from headers
        tools arch: Remove uapi bitsperlong.h of hexagon and microblaze
        asm-generic: Unify uapi bitsperlong.h for arm64, riscv and loongarch
        m68k/mm: Make pfn accessors static inlines
        arm64: memory: Make virt_to_pfn() a static inline
        ARM: mm: Make virt_to_pfn() a static inline
        asm-generic/page.h: Make pfn accessors static inlines
        xen/netback: Pass (void *) to virt_to_page()
        netfs: Pass a pointer to virt_to_page()
        cifs: Pass a pointer to virt_to_page() in cifsglob
        cifs: Pass a pointer to virt_to_page()
        riscv: mm: init: Pass a pointer to virt_to_page()
        ARC: init: Pass a pointer to virt_to_pfn() in init
        m68k: Pass a pointer to virt_to_pfn() virt_to_page()
        fs/proc/kcore.c: Pass a pointer to virt_addr_valid()
      7b82e904
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 9f57c13f
      Linus Torvalds authored
      Pull SoC fixes from Arnd Bergmann:
       "There are three small fixes that came up sincie the past week:
      
         - an incorrect bit offset in ixp4xx bus driver
      
         - a riscv randconfig regression in the thead platform I merged
      
         - whitespace fixes for some dts files"
      
      * tag 'soc-fixes-6.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
        ARM: dts: st: add missing space before {
        RISC-V: make ARCH_THEAD preclude XIP_KERNEL
      9f57c13f
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 0b907305
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "New support:
         - TI J721S2 CSI BCDMA support
      
        Updates:
         - Native HDMI support for dw edma driver
         - ste dma40 updates for supporting proper SRAM handle in DT
         - removal of dma device chancnt setting in drivers"
      
      * tag 'dmaengine-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (28 commits)
        dmaengine: sprd: Don't set chancnt
        dmaengine: hidma: Don't set chancnt
        dmaengine: plx_dma: Don't set chancnt
        dmaengine: axi-dmac: Don't set chancnt
        dmaengine: dw-axi-dmac: Don't set chancnt
        dmaengine: qcom: bam_dma: allow omitting num-{channels,ees}
        dmaengine: dw-edma: Add HDMA DebugFS support
        dmaengine: dw-edma: Add support for native HDMA
        dmaengine: dw-edma: Create a new dw_edma_core_ops structure to abstract controller operation
        dmaengine: dw-edma: Rename dw_edma_core_ops structure to dw_edma_plat_ops
        dmaengine: ste_dma40: use proper format string for resource_size_t
        dmaengine: make QCOM_HIDMA depend on HAS_IOMEM
        dmaengine: ste_dma40: fix typo in enum documentation
        dmaengine: ste_dma40: use correct print specfier for resource_size_t
        MAINTAINERS: Add myself as the DW eDMA driver reviewer
        MAINTAINERS: Add Manivannan to DW eDMA driver maintainers list
        MAINTAINERS: Demote Gustavo Pimentel to DW EDMA driver reviewer
        dmaengine: ti: k3-udma: Add support for J721S2 CSI BCDMA instance
        dt-bindings: dma: ti: Add J721S2 BCDMA
        dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G
        ...
      0b907305
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-6.5-rc1' of git://www.linux-watchdog.org/linux-watchdog · c91e587b
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - add Xilinx Versal watchdog
      
       - support Hygon FCH/SCH (Server Controller Hub)
      
       - convert GPL notices to SPDX identifiers
      
       - other improvements
      
      * tag 'linux-watchdog-6.5-rc1' of git://www.linux-watchdog.org/linux-watchdog:
        watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
        dt-bindings: watchdog: restrict node name suffixes
        MAINTAINERS: Add support for Xilinx versal watchdog
        watchdog: xilinx_wwdt: Add Versal window watchdog support
        dt-bindings: watchdog: xlnx,versal-wwdt: Add versal watchdog
        watchdog: ziirave_wdt: Switch i2c driver back to use .probe()
        watchdog: ibmasr: Replace GPL license notice with SPDX identifier
        watchdog: Convert GPL 2.0 notice to SPDX identifier
        watchdog: loongson1_wdt: Add DT support
      c91e587b
    • Linus Torvalds's avatar
      Merge tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux · c17414a2
      Linus Torvalds authored
      Pull sh updates from Adrian Glaubitz:
       "Fix a compiler warning in the J2 probing code and a fix by Sergey
        Shtylyov to avoid using IRQ0 on SH3 and SH4 targets. Masahiro Yamada
        made some clean-up in the build system to address reports by the 0day
        bot.
      
        The most notable changes come from Artur Rojek who addressed a number
        of issues in the DMA code, in particular a fix for the DMA channel
        offset calculation that was introduced in in 7f47c718 ("sh: dma:
        More legacy cpu dma chainsawing.") in 2012!
      
        Together with another change to correct the number of DMA channels for
        each SuperH SoC according to specification, Artur's series unbreaks
        the kernel on the SH7709 SoC allowing Linux to boot on the HP Jornada
        680 handheld again.
      
        Summary:
      
         - Provide unxlate_dev_mem_ptr() in asm/io.h
      
         - dma: Correct the number of DMA channels for SH7709
      
         - dma: Drop incorrect SH_DMAC_BASE1 definition for SH4
      
         - dma: Fix DMA channel offset calculation
      
         - Remove compiler flag duplication
      
         - Refactor header include path addition
      
         - Move build rule for cchips/hd6446x/ to arch/sh/Kbuild
      
         - Fix -Wmissing-include-dirs warnings for various platforms
      
         - Avoid using IRQ0 on SH3 and SH4
      
         - j2: Use ioremap() to translate device tree address into kernel
           memory"
      
      * tag 'sh-for-v6.5-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
        sh: Provide unxlate_dev_mem_ptr() in asm/io.h
        sh: dma: Correct the number of DMA channels for SH7709
        sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4
        sh: dma: Fix DMA channel offset calculation
        sh: Remove compiler flag duplication
        sh: Refactor header include path addition
        sh: Move build rule for cchips/hd6446x/ to arch/sh/Kbuild
        sh: Fix -Wmissing-include-dirs warnings for various platforms
        sh: Avoid using IRQ0 on SH3 and SH4
        sh: j2: Use ioremap() to translate device tree address into kernel memory
      c17414a2
    • Linus Torvalds's avatar
      Merge tag 'phy-for-6.5_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 7afb9d76
      Linus Torvalds authored
      Pull phy updates from Vinod Koul:
       "New Support:
         - Debugfs support for phy core and mediatek driver
         - Hisilicon inno-usb2-phy driver supporting Hi3798MV100
         - Qualcomm SGMII SerDes PHY driver, SM6115 & QCM2290 QMP-USB support,
           SA8775P USB PHY & USB3 UNI support, QUSB2 support for IPQ9574,
           IPQ9574 USB3 PHY
      
        UpdatesL
         - Sparx5 serdes phy power optimzation
         - cadence salvo usb properties and updates and torrent DP with PCIe &
           USB support
         - Yaml conversion for Broadcom kona USB bindings and MXS USB binding"
      
      * tag 'phy-for-6.5_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (67 commits)
        dt-bindings: phy: brcm,brcmstb-usb-phy: Fix error in "compatible" conditional schema
        dt-bindings: phy: mixel,mipi-dsi-phy: Remove assigned-clock* properties
        dt-bindings: phy: intel,combo-phy: restrict node name suffixes
        dt-bindings: phy: qcom,usb-hs-phy: Add compatible
        phy: tegra: xusb: check return value of devm_kzalloc()
        phy: qcom: qmp-combo: fix Display Port PHY configuration for SM8550
        phy: qcom: add the SGMII SerDes PHY driver
        dt-bindings: phy: describe the Qualcomm SGMII PHY
        phy: qualcomm: fix indentation in Makefile
        phy: usb: suppress OC condition for 7439b2
        phy: usb: Turn off phy when port is in suspend
        phy: tegra: xusb: Clear the driver reference in usb-phy dev
        dt-bindings: phy: mxs-usb-phy: add imx8ulp and imx8qm compatible
        dt-bindings: phy: mxs-usb-phy: convert to DT schema format
        dt-bindings: phy: qcom,qmp-usb: fix bindings error
        dt-bindings: phy: qcom,qmp-ufs: fix the sc8180x regs
        dt-bindings: phy: qcom,qmp-pcie: fix the sc8180x regs
        phy: mediatek: tphy: add debugfs files
        phy: core: add debugfs files
        phy: fsl-imx8mp-usb: add support for phy tuning
        ...
      7afb9d76
  2. 05 Jul, 2023 31 commits