1. Jul 08, 2023
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 22dcc7d7
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix PCIe MEM size for pci2 node on Turris 1.x boards
      
       - Two minor build fixes
      
      Thanks to Christophe Leroy, Douglas Anderson, Pali Rohár, Petr Mladek,
      and Randy Dunlap.
      
      * tag 'powerpc-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
        powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct()
        powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
      22dcc7d7
    • Linus Torvalds's avatar
      Merge tag 'apparmor-pr-2023-07-06' of... · 70806ee1
      Linus Torvalds authored
      Merge tag 'apparmor-pr-2023-07-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
      
      Pull apparmor updates from John Johansen:
      
       - fix missing error check for rhashtable_insert_fast
      
       - add missing failure check in compute_xmatch_perms
      
       - fix policy_compat permission remap with extended permissions
      
       - fix profile verification and enable it
      
       - fix kzalloc perms tables for shared dfas
      
       - Fix kernel-doc header for verify_dfa_accept_index
      
       - aa_buffer: Convert 1-element array to flexible array
      
       - Return directly after a failed kzalloc() in two functions
      
       - fix use of strcpy in policy_unpack_test
      
       - fix kernel-doc complaints
      
       - Fix some kernel-doc comments
      
      * tag 'apparmor-pr-2023-07-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
        apparmor: Fix kernel-doc header for verify_dfa_accept_index
        apparmor: fix: kzalloc perms tables for shared dfas
        apparmor: fix profile verification and enable it
        apparmor: fix policy_compat permission remap with extended permis...
      70806ee1
  2. Jul 07, 2023
  3. Jul 06, 2023
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2023-06-29' of... · d011f0c3
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2023-06-29' of git://anongit.freedesktop.org/drm/drm-misc
      
       into drm-next
      
      Short summary of fixes pull:
      
       * fbdev: Fix module infos on sparc
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230629113814.GA10448@linux-uq9g
      d011f0c3
    • 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
    • Linus Torvalds's avatar
      Merge tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 68433066
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from bluetooth, bpf and wireguard.
      
        Current release - regressions:
      
         - nvme-tcp: fix comma-related oops after sendpage changes
      
        Current release - new code bugs:
      
         - ptp: make max_phase_adjustment sysfs device attribute invisible
           when not supported
      
        Previous releases - regressions:
      
         - sctp: fix potential deadlock on &net->sctp.addr_wq_lock
      
         - mptcp:
            - ensure subflow is unhashed before cleaning the backlog
            - do not rely on implicit state check in mptcp_listen()
      
        Previous releases - always broken:
      
         - net: fix net_dev_start_xmit trace event vs skb_transport_offset()
      
         - Bluetooth:
            - fix use-bdaddr-property quirk
            - L2CAP: fix multiple UaFs
            - ISO: use hci_sync for setting CIG parameters
            - hci_event: fix Set CIG Parameters error status handling
            - hci_event: fix parsing of CIS Established Event
            -...
      68433066
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 73a3fcda
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "In this cycle, we've mainly investigated the zoned block device
        support along with patches such as correcting write pointers between
        f2fs and storage, adding asynchronous zone reset flow, and managing
        the number of open zones.
      
        Other than them, f2fs adds another mount option, "errors=x" to specify
        how to handle when it detects an unexpected behavior at runtime.
      
        Enhancements:
         - support 'errors=remount-ro|continue|panic' mount option
         - enforce some inode flag policies
         - allow .tmp compression given extensions
         - add some ioctls to manage the f2fs compression
         - improve looped node chain flow
         - avoid issuing small-sized discard commands during checkpoint
         - implement an asynchronous zone reset
      
        Bug fixes:
         - fix deadlock in xattr and inode page lock
         - fix and add sanity check in some error paths
         - fix to avoid NULL pointer dereference f2fs_w...
      73a3fcda
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.5-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · bb8e7e9f
      Linus Torvalds authored
      Pull more xfs updates from Darrick Wong:
      
       - Fix some ordering problems with log items during log recovery
      
       - Don't deadlock the system by trying to flush busy freed extents while
         holding on to busy freed extents
      
       - Improve validation of log geometry parameters when reading the
         primary superblock
      
       - Validate the length field in the AGF header
      
       - Fix recordset filtering bugs when re-calling GETFSMAP to return more
         results when the resultset didn't previously fit in the caller's
         buffer
      
       - Fix integer overflows in GETFSMAP when working with rt volumes larger
         than 2^32 fsblocks
      
       - Fix GETFSMAP reporting the undefined space beyond the last rtextent
      
       - Fix filtering bugs in GETFSMAP's log device backend if the log ever
         becomes longer than 2^32 fsblocks
      
       - Improve validation of file offsets in the GETFSMAP range parameters
      
       - Fix an off by one bug in the pmem media failure notification
         computation
      
       - Validate the length field in the AGI header too
      
      * tag 'xfs-6.5-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: Remove unneeded semicolon
        xfs: AGI length should be bounds checked
        xfs: fix the calculation for "end" and "length"
        xfs: fix xfs_btree_query_range callers to initialize btree rec fully
        xfs: validate fsmap offsets specified in the query keys
        xfs: fix logdev fsmap query result filtering
        xfs: clean up the rtbitmap fsmap backend
        xfs: fix getfsmap reporting past the last rt extent
        xfs: fix integer overflows in the fsmap rtbitmap and logdev backends
        xfs: fix interval filtering in multi-step fsmap queries
        xfs: fix bounds check in xfs_defer_agfl_block()
        xfs: AGF length has never been bounds checked
        xfs: journal geometry is not properly bounds checked
        xfs: don't block in busy flushing when freeing extents
        xfs: allow extent free intents to be retried
        xfs: pass alloc flags through to xfs_extent_busy_flush()
        xfs: use deferred frees for btree block freeing
        xfs: don't reverse order of items in bulk AIL insertion
        xfs: remove redundant initializations of pointers drop_leaf and save_leaf
      bb8e7e9f
    • Jonas Gorski's avatar
      bus: ixp4xx: fix IXP4XX_EXP_T1_MASK · 6722e465
      Jonas Gorski authored
      The IXP4XX_EXP_T1_MASK was shifted one bit to the right, overlapping
      IXP4XX_EXP_T2_MASK and leaving bit 29 unused. The offset being wrong is
      also confirmed at least by the datasheet of IXP45X/46X [1].
      
      Fix this by aligning it to IXP4XX_EXP_T1_SHIFT.
      
      [1] https://www.intel.com/content/dam/www/public/us/en/documents/manuals/ixp45x-ixp46x-developers-manual.pdf
      
      Cc: stable@vger.kernel.org
      Fixes: 1c953bda
      
       ("bus: ixp4xx: Add a driver for IXP4xx expansion bus")
      Signed-off-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
      Link: https://lore.kernel.org/r/20230624112958.27727-1-jonas.gorski@gmail.com
      
      
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Link: https://lore.kernel.org/r/20230624122139.3229642-1-linus.walleij@linaro.org
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      6722e465
    • Krzysztof Kozlowski's avatar
      ARM: dts: st: add missing space before { · 7fb75904
      Krzysztof Kozlowski authored
      
      
      Add missing whitespace between node name/label and opening {.
      
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
      Link: https://lore.kernel.org/r/20230705150033.293832-1-krzysztof.kozlowski@linaro.org
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      7fb75904
    • Conor Dooley's avatar
      RISC-V: make ARCH_THEAD preclude XIP_KERNEL · 2fa4139f
      Conor Dooley authored
      
      
      Randy reported build errors in linux-next where XIP_KERNEL was enabled.
      ARCH_THEAD requires alternatives to support the non-standard ISA
      extensions used by the THEAD cores, which are mutually exclusive with
      XIP kernels. Clone the dependency list from the Allwinner entry, since
      Allwinner's D1 uses T-Head cores with the same non-standard extensions.
      
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
      Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
      Fixes: da47ce00
      
       ("riscv: Add the T-HEAD SoC family Kconfig option")
      Reviewed-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      Acked-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
      Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Link: https://lore.kernel.org/r/20230628-left-attractor-94b7bd5fbb83@wendy
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2fa4139f
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.5-rc1' of... · ace1ba1c
      Linus Torvalds authored
      Merge tag 'pwm/for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "There's a little bit of everything in here: we've got various
        improvements and cleanups to drivers, some fixes across the board and
        a bit of new hardware support"
      
      * tag 'pwm/for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (22 commits)
        dt-bindings: pwm: convert pwm-bcm2835 bindings to YAML
        pwm: Add Renesas RZ/G2L MTU3a PWM driver
        pwm: mtk_disp: Fix the disable flow of disp_pwm
        dt-bindings: pwm: restrict node name suffixes
        pwm: pca9685: Switch i2c driver back to use .probe()
        pwm: ab8500: Fix error code in probe()
        MAINTAINERS: add pwm to PolarFire SoC entry
        pwm: add microchip soft ip corePWM driver
        pwm: sysfs: Do not apply state to already disabled PWMs
        pwm: imx-tpm: force 'real_period' to be zero in suspend
        pwm: meson: make full use of common clock framework
        pwm: meson: don't use hdmi/video clock as ...
      ace1ba1c
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · b9861581
      Linus Torvalds authored
      Pull more devicetree updates from Rob Herring:
      
       - Whitespace clean-ups in binding examples
      
       - Restrict node name suffixes to "-[0-9]+" for cases of multiple
         instances which don't have unit-addresses
      
       - Convert brcm,kona-wdt and cdns,wdt-r1p2 watchdog bindings to DT
         schema
      
      * tag 'devicetree-for-6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: soc: qcom: stats: Update maintainer email
        dt-bindings: cleanup DTS example whitespaces
        dt-bindings: timestamp: restrict node name suffixes
        dt-bindings: slimbus: restrict node name suffixes
        dt-bindings: watchdog: restrict node name suffixes
        dt-bindings: watchdog: brcm,kona-wdt: convert txt file to yaml
        dt-bindings: watchdog: cdns,wdt-r1p2: Convert cadence watchdog to yaml
      b9861581