1. 22 Mar, 2024 10 commits
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · 4f55aa85
      Linus Torvalds authored
      Pull fbdev updates from Helge Deller:
      
       - Allow console fonts up to 64x128 pixels (Samuel Thibault)
      
       - Prevent division-by-zero in fb monitor code (Roman Smirnov)
      
       - Drop Renesas ARM platforms from Mobile LCDC framebuffer driver (Geert
         Uytterhoeven)
      
       - Various code cleanups in viafb, uveafb and mb862xxfb drivers by
         Aleksandr Burakov, Li Zhijian and Michael Ellerman
      
      * tag 'fbdev-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        fbdev: panel-tpo-td043mtea1: Convert sprintf() to sysfs_emit()
        fbmon: prevent division by zero in fb_videomode_from_videomode()
        fbcon: Increase maximum font width x height to 64 x 128
        fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2
        fbdev: mb862xxfb: Fix defined but not used error
        fbdev: uvesafb: Convert sprintf/snprintf to sysfs_emit
        fbdev: Restrict FB_SH_MOBILE_LCDC to SuperH
      4f55aa85
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.9-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 4073195a
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A small collection of fixes that came in since the merge window. Most
        of it is relatively minor driver specific fixes, there's also fixes
        for error handling with SPI flash devices and a fix restoring delay
        control functionality for non-GPIO chip selects managed by the core"
      
      * tag 'spi-fix-v6.9-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
        spi: docs: spidev: fix echo command format
        spi: spi-imx: fix off-by-one in mx51 CPU mode burst length
        spi: lm70llp: fix links in doc and comments
        spi: Fix error code checking in spi_mem_exec_op()
        spi: Restore delays for non-GPIO chip select
        spi: lpspi: Avoid potential use-after-free in probe()
      4073195a
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.9-merge-window' of... · 8c826bd9
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.9-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fix from Mark Brown:
       "One fix that came in during the merge window, fixing a problem with
        bootstrapping the state of exclusive regulators which have a parent
        regulator"
      
      * tag 'regulator-fix-v6.9-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: core: Propagate the regulator state in case of exclusive get
      8c826bd9
    • Linus Torvalds's avatar
      Merge tag 'sound-fix2-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 6b571e26
      Linus Torvalds authored
      Pull more sound fixes from Takashi Iwai:
       "The remaining fixes for 6.9-rc1 that have been gathered in this week.
      
        More about ASoC at this time (one long-standing fix for compress
        offload, SOF, AMD ACP, Rockchip, Cirrus and tlv320 stuff) while
        another regression fix in ALSA core and a couple of HD-audio quirks as
        usual are included"
      
      * tag 'sound-fix2-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: control: Fix unannotated kfree() cleanup
        ALSA: hda/realtek: Add quirks for some Clevo laptops
        ALSA: hda/realtek: Add quirk for HP Spectre x360 14 eu0000
        ALSA: hda/realtek: fix the hp playback volume issue for LG machines
        ASoC: soc-compress: Fix and add DPCM locking
        ASoC: SOF: amd: Skip IRAM/DRAM size modification for Steam Deck OLED
        ASoC: SOF: amd: Move signed_fw_image to struct acp_quirk_entry
        ASoC: amd: yc: Revert "add new YC platform variant (0x63) support"
        ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"
        ASoC: soc-core.c: Skip dummy codec when adding platforms
        ASoC: rockchip: i2s-tdm: Fix inaccurate sampling rates
        ASoC: dt-bindings: cirrus,cs42l43: Fix 'gpio-ranges' schema
        ASoC: amd: yc: Fix non-functional mic on ASUS M7600RE
        ASoC: tlv320adc3xxx: Don't strip remove function when driver is builtin
      6b571e26
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.9-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 5ee2433f
      Linus Torvalds authored
      Pull more i2c updates from Wolfram Sang:
       "Some more I2C updates after the dependencies have been merged now.
      
        Plus a DT binding fix"
      
      * tag 'i2c-for-6.9-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        dt-bindings: i2c: qcom,i2c-cci: Fix OV7251 'data-lanes' entries
        i2c: muxes: pca954x: Allow sharing reset GPIO
        i2c: nomadik: sort includes
        i2c: nomadik: support Mobileye EyeQ5 I2C controller
        i2c: nomadik: fetch i2c-transfer-timeout-us property from devicetree
        i2c: nomadik: replace jiffies by ktime for FIFO flushing timeout
        i2c: nomadik: support short xfer timeouts using waitqueue & hrtimer
        i2c: nomadik: use bitops helpers
        i2c: nomadik: simplify IRQ masking logic
        i2c: nomadik: rename private struct pointers from dev to priv
        dt-bindings: i2c: nomadik: add mobileye,eyeq5-i2c bindings and example
      5ee2433f
    • Linus Torvalds's avatar
      Merge tag '6.9-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 8e938e39
      Linus Torvalds authored
      Pull smb client fixes from Steve French:
      
       - Various get_inode_info_fixes
      
       - Fix for querying xattrs of cached dirs
      
       - Four minor cleanup fixes (including adding some header corrections
         and a missing flag)
      
       - Performance improvement for deferred close
      
       - Two query interface fixes
      
      * tag '6.9-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        smb311: additional compression flag defined in updated protocol spec
        smb311: correct incorrect offset field in compression header
        cifs: Move some extern decls from .c files to .h
        cifs: remove redundant variable assignment
        cifs: fixes for get_inode_info
        cifs: open_cached_dir(): add FILE_READ_EA to desired access
        cifs: reduce warning log level for server not advertising interfaces
        cifs: make sure server interfaces are requested only for SMB3+
        cifs: defer close file handles having RH lease
      8e938e39
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2024-03-22' of https://gitlab.freedesktop.org/drm/kernel · 7ee04901
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Fixes from the last week (or 3 weeks in amdgpu case), after amdgpu,
        it's xe and nouveau then a few scattered core fixes.
      
        core:
         - fix rounding in drm_fixp2int_round()
      
        bridge:
         - fix documentation for DRM_BRIDGE_OP_EDID
      
        sun4i:
         - fix 64-bit division on 32-bit architectures
      
        tests:
         - fix dependency on DRM_KMS_HELPER
      
        probe-helper:
         - never return negative values from .get_modes() plus driver fixes
      
        xe:
         - invalidate userptr vma on page pin fault
         - fail early on sysfs file creation error
         - skip VMA pinning on xe_exec if no batches
      
        nouveau:
         - clear bo resource bus after eviction
         - documentation fixes
         - don't check devinit disable on GSP
      
        amdgpu:
         - Freesync fixes
         - UAF IOCTL fixes
         - Fix mmhub client ID mapping
         - IH 7.0 fix
         - DML2 fixes
         - VCN 4.0.6 fix
         - GART bind fix
         - GPU reset fix
         - SR-IOV fix
         - OD table handling fixes
         - Fix TA handling on boards without display hardware
         - DML1 fix
         - ABM fix
         - eDP panel fix
         - DPPCLK fix
         - HDCP fix
         - Revert incorrect error case handling in ioremap
         - VPE fix
         - HDMI fixes
         - SDMA 4.4.2 fix
         - Other misc fixes
      
        amdkfd:
         - Fix duplicate BO handling in process restore"
      
      * tag 'drm-next-2024-03-22' of https://gitlab.freedesktop.org/drm/kernel: (50 commits)
        drm/amdgpu/pm: Don't use OD table on Arcturus
        drm/amdgpu: drop setting buffer funcs in sdma442
        drm/amd/display: Fix noise issue on HDMI AV mute
        drm/amd/display: Revert Remove pixle rate limit for subvp
        Revert "drm/amdgpu/vpe: don't emit cond exec command under collaborate mode"
        Revert "drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()"
        drm/amd/display: Add a dc_state NULL check in dc_state_release
        drm/amd/display: Return the correct HDCP error code
        drm/amd/display: Implement wait_for_odm_update_pending_complete
        drm/amd/display: Lock all enabled otg pipes even with no planes
        drm/amd/display: Amend coasting vtotal for replay low hz
        drm/amd/display: Fix idle check for shared firmware state
        drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with no plane
        drm/amd/display: Init DPPCLK from SMU on dcn32
        drm/amd/display: Add monitor patch for specific eDP
        drm/amd/display: Allow dirty rects to be sent to dmub when abm is active
        drm/amd/display: Override min required DCFCLK in dml1_validate
        drm/amdgpu: Bypass display ta if display hw is not available
        drm/amdgpu: correct the KGQ fallback message
        drm/amdgpu/pm: Check the validity of overdiver power limit
        ...
      7ee04901
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-6.9-2024-03-21' of... · cafd86cb
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-6.9-2024-03-21' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-fixes-6.9-2024-03-21:
      
      amdgpu:
      - Freesync fixes
      - UAF IOCTL fixes
      - Fix mmhub client ID mapping
      - IH 7.0 fix
      - DML2 fixes
      - VCN 4.0.6 fix
      - GART bind fix
      - GPU reset fix
      - SR-IOV fix
      - OD table handling fixes
      - Fix TA handling on boards without display hardware
      - DML1 fix
      - ABM fix
      - eDP panel fix
      - DPPCLK fix
      - HDCP fix
      - Revert incorrect error case handling in ioremap
      - VPE fix
      - HDMI fixes
      - SDMA 4.4.2 fix
      - Other misc fixes
      
      amdkfd:
      - Fix duplicate BO handling in process restore
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240321220514.1418288-1-alexander.deucher@amd.com
      cafd86cb
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 661dc190
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - Re-instate the CPUMASK_OFFSTACK option for arm64 when NR_CPUS > 256.
         The bug that led to the initial revert was the cpufreq-dt code not
         using zalloc_cpumask_var().
      
       - Make the STARFIVE_STARLINK_PMU config option depend on 64BIT to
         prevent compile-test failures on 32-bit architectures due to missing
         writeq().
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        perf: starfive: fix 64-bit only COMPILE_TEST condition
        ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512
      661dc190
    • Linus Torvalds's avatar
      Merge tag 'rtc-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 3faae16b
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Subsytem:
         - rtc_class is now const
      
        Drivers:
         - ds1511: cleanup, set date and time range and alarm offset limit
         - max31335: fix interrupt handler
         - pcf8523: improve suspend support"
      
      * tag 'rtc-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (28 commits)
        MAINTAINER: Include linux-arm-msm for Qualcomm RTC patches
        dt-bindings: rtc: zynqmp: Add support for Versal/Versal NET SoCs
        rtc: class: make rtc_class constant
        dt-bindings: rtc: abx80x: Improve checks on trickle charger constraints
        MAINTAINERS: adjust file entry in ARM/Mediatek RTC DRIVER
        rtc: nct3018y: fix possible NULL dereference
        rtc: max31335: fix interrupt status reg
        rtc: mt6397: select IRQ_DOMAIN instead of depending on it
        dt-bindings: rtc: abx80x: convert to yaml
        rtc: m41t80: Use the unified property API get the wakeup-source property
        dt-bindings: at91rm9260-rtt: add sam9x7 compatible
        dt-bindings: rtc: convert MT7622 RTC to the json-schema
        dt-bindings: rtc: convert MT2717 RTC to the json-schema
        rtc: pcf8523: add suspend handlers for alarm IRQ
        rtc: ds1511: set alarm offset limit
        rtc: ds1511: set range
        rtc: ds1511: drop inline/noinline hints
        rtc: ds1511: rename pdata
        rtc: ds1511: implement ds1511_rtc_read_alarm properly
        rtc: ds1511: remove partial alarm support
        ...
      3faae16b
  2. 21 Mar, 2024 30 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2024-03-21' of... · 921074ab
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2024-03-21' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
      
      Short summary of fixes pull:
      
      core:
      - fix rounding in drm_fixp2int_round()
      
      bridge:
      - fix documentation for DRM_BRIDGE_OP_EDID
      
      nouveau:
      - don't check devinit disable on GSP
      
      sun4i:
      - fix 64-bit division on 32-bit architectures
      
      tests:
      - fix dependency on DRM_KMS_HELPER
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240321161948.GA30430@linux.fritz.box
      921074ab
    • Linus Torvalds's avatar
      Merge tag 'siox/for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux · 00453419
      Linus Torvalds authored
      Pull siox updates from Uwe Kleine-König:
       "This reworks how siox device registration works yielding a saner API.
      
        This allows us to simplify the gpio bus driver using two new devm
        functions"
      
      * tag 'siox/for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux:
        siox: bus-gpio: Simplify using devm_siox_* functions
        siox: Provide a devm variant of siox_master_register()
        siox: Provide a devm variant of siox_master_alloc()
        siox: Don't pass the reference on a master in siox_master_register()
      00453419
    • Linus Torvalds's avatar
      Merge tag 'ubifs-for-linus-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · 85a79128
      Linus Torvalds authored
      Pull UBI and UBIFS updates from Richard Weinberger:
       "UBI:
         - Add Zhihao Cheng as reviewer
         - Attach via device tree
         - Add NVMEM layer
         - Various fastmap related fixes
      
        UBIFS:
         - Add Zhihao Cheng as reviewer
         - Convert to folios
         - Various fixes (memory leaks in error paths, function prototypes)"
      
      * tag 'ubifs-for-linus-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs: (34 commits)
        mtd: ubi: fix NVMEM over UBI volumes on 32-bit systems
        mtd: ubi: provide NVMEM layer over UBI volumes
        mtd: ubi: populate ubi volume fwnode
        mtd: ubi: introduce pre-removal notification for UBI volumes
        mtd: ubi: attach from device tree
        mtd: ubi: block: use notifier to create ubiblock from parameter
        dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEM
        dt-bindings: mtd: add basic bindings for UBI
        ubifs: Queue up space reservation tasks if retrying many times
        ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
        ubifs: dbg_check_idx_size: Fix kmemleak if loading znode failed
        ubi: Correct the number of PEBs after a volume resize failure
        ubi: fix slab-out-of-bounds in ubi_eba_get_ldesc+0xfb/0x130
        ubi: correct the calculation of fastmap size
        ubifs: Remove unreachable code in dbg_check_ltab_lnum
        ubifs: fix function pointer cast warnings
        ubifs: fix sort function prototype
        ubi: Check for too small LEB size in VTBL code
        MAINTAINERS: Add Zhihao Cheng as UBI/UBIFS reviewer
        ubifs: Convert populate_page() to take a folio
        ...
      85a79128
    • Linus Torvalds's avatar
      Merge tag 'net-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · cba9ffdb
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from CAN, netfilter, wireguard and IPsec.
      
        I'd like to highlight [ lowlight? - Linus ] Florian W stepping down as
        a netfilter maintainer due to constant stream of bug reports. Not sure
        what we can do but IIUC this is not the first such case.
      
        Current release - regressions:
      
         - rxrpc: fix use of page_frag_alloc_align(), it changed semantics and
           we added a new caller in a different subtree
      
         - xfrm: allow UDP encapsulation only in offload modes
      
        Current release - new code bugs:
      
         - tcp: fix refcnt handling in __inet_hash_connect()
      
         - Revert "net: Re-use and set mono_delivery_time bit for userspace
           tstamp packets", conflicted with some expectations in BPF uAPI
      
        Previous releases - regressions:
      
         - ipv4: raw: fix sending packets from raw sockets via IPsec tunnels
      
         - devlink: fix devlink's parallel command processing
      
         - veth: do not manipulate GRO when using XDP
      
         - esp: fix bad handling of pages from page_pool
      
        Previous releases - always broken:
      
         - report RCU QS for busy network kthreads (with Paul McK's blessing)
      
         - tcp/rds: fix use-after-free on netns with kernel TCP reqsk
      
         - virt: vmxnet3: fix missing reserved tailroom with XDP
      
        Misc:
      
         - couple of build fixes for Documentation"
      
      * tag 'net-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (59 commits)
        selftests: forwarding: Fix ping failure due to short timeout
        MAINTAINERS: step down as netfilter maintainer
        netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
        net: dsa: mt7530: fix handling of all link-local frames
        net: dsa: mt7530: fix link-local frames that ingress vlan filtering ports
        bpf: report RCU QS in cpumap kthread
        net: report RCU QS on threaded NAPI repolling
        rcu: add a helper to report consolidated flavor QS
        ionic: update documentation for XDP support
        lib/bitmap: Fix bitmap_scatter() and bitmap_gather() kernel doc
        netfilter: nf_tables: do not compare internal table flags on updates
        netfilter: nft_set_pipapo: release elements in clone only from destroy path
        octeontx2-af: Use separate handlers for interrupts
        octeontx2-pf: Send UP messages to VF only when VF is up.
        octeontx2-pf: Use default max_active works instead of one
        octeontx2-pf: Wait till detach_resources msg is complete
        octeontx2: Detect the mbox up or down message via register
        devlink: fix port new reply cmd type
        tcp: Clear req->syncookie in reqsk_alloc().
        net/bnx2x: Prevent access to a freed page in page_pool
        ...
      cba9ffdb
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 1d35aae7
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - Generate a list of built DTB files (arch/*/boot/dts/dtbs-list)
      
       - Use more threads when building Debian packages in parallel
      
       - Fix warnings shown during the RPM kernel package uninstallation
      
       - Change OBJECT_FILES_NON_STANDARD_*.o etc. to take a relative path to
         Makefile
      
       - Support GCC's -fmin-function-alignment flag
      
       - Fix a null pointer dereference bug in modpost
      
       - Add the DTB support to the RPM package
      
       - Various fixes and cleanups in Kconfig
      
      * tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (67 commits)
        kconfig: tests: test dependency after shuffling choices
        kconfig: tests: add a test for randconfig with dependent choices
        kconfig: tests: support KCONFIG_SEED for the randconfig runner
        kbuild: rpm-pkg: add dtb files in kernel rpm
        kconfig: remove unneeded menu_is_visible() call in conf_write_defconfig()
        kconfig: check prompt for choice while parsing
        kconfig: lxdialog: remove unused dialog colors
        kconfig: lxdialog: fix button color for blackbg theme
        modpost: fix null pointer dereference
        kbuild: remove GCC's default -Wpacked-bitfield-compat flag
        kbuild: unexport abs_srctree and abs_objtree
        kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
        kconfig: remove named choice support
        kconfig: use linked list in get_symbol_str() to iterate over menus
        kconfig: link menus to a symbol
        kbuild: fix inconsistent indentation in top Makefile
        kbuild: Use -fmin-function-alignment when available
        alpha: merge two entries for CONFIG_ALPHA_GAMMA
        alpha: merge two entries for CONFIG_ALPHA_EV4
        kbuild: change DTC_FLAGS_<basetarget>.o to take the path relative to $(obj)
        ...
      1d35aae7
    • Linus Torvalds's avatar
      Merge tag 'firewire-fixes-6.9-rc1' of... · 88d92fb1
      Linus Torvalds authored
      Merge tag 'firewire-fixes-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire fixes Takashi Sakamoto:
       "The previous pull includes some regressions in some device attributes
        exposed to sysfs. They are fixed now"
      
      * tag 'firewire-fixes-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: core: add memo about the caller of show functions for device attributes
        Revert "firewire: Kill unnecessary buf check in device_attribute.show"
      88d92fb1
    • Linus Torvalds's avatar
      Merge tag 'driver-core-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 241590e5
      Linus Torvalds authored
      Pull driver core updates from Greg KH:
       "Here is the "big" set of driver core and kernfs changes for 6.9-rc1.
      
        Nothing all that crazy here, just some good updates that include:
      
         - automatic attribute group hiding from Dan Williams (he fixed up my
           horrible attempt at doing this.)
      
         - kobject lock contention fixes from Eric Dumazet
      
         - driver core cleanups from Andy
      
         - kernfs rcu work from Tejun
      
         - fw_devlink changes to resolve some reported issues
      
         - other minor changes, all details in the shortlog
      
        All of these have been in linux-next for a long time with no reported
        issues"
      
      * tag 'driver-core-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (28 commits)
        device: core: Log warning for devices pending deferred probe on timeout
        driver: core: Use dev_* instead of pr_* so device metadata is added
        driver: core: Log probe failure as error and with device metadata
        of: property: fw_devlink: Add support for "post-init-providers" property
        driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
        driver core: Adds flags param to fwnode_link_add()
        debugfs: fix wait/cancellation handling during remove
        device property: Don't use "proxy" headers
        device property: Move enum dev_dma_attr to fwnode.h
        driver core: Move fw_devlink stuff to where it belongs
        driver core: Drop unneeded 'extern' keyword in fwnode.h
        firmware_loader: Suppress warning on FW_OPT_NO_WARN flag
        sysfs:Addresses documentation in sysfs_merge_group and sysfs_unmerge_group.
        firmware_loader: introduce __free() cleanup hanler
        platform-msi: Remove usage of the deprecated ida_simple_xx() API
        sysfs: Introduce DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE()
        sysfs: Document new "group visible" helpers
        sysfs: Fix crash on empty group attributes array
        sysfs: Introduce a mechanism to hide static attribute_groups
        sysfs: Introduce a mechanism to hide static attribute_groups
        ...
      241590e5
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · bb41fe35
      Linus Torvalds authored
      Pull char/misc and other driver subsystem updates from Greg KH:
       "Here is the big set of char/misc and a number of other driver
        subsystem updates for 6.9-rc1. Included in here are:
      
         - IIO driver updates, loads of new ones and evolution of existing ones
      
         - coresight driver updates
      
         - const cleanups for many driver subsystems
      
         - speakup driver additions
      
         - platform remove callback void cleanups
      
         - mei driver updates
      
         - mhi driver updates
      
         - cdx driver updates for MSI interrupt handling
      
         - nvmem driver updates
      
         - other smaller driver updates and cleanups, full details in the
          shortlog
      
        All of these have been in linux-next for a long time with no reported
        issue, other than a build warning for the speakup driver"
      
      The build warning hits clang and is a gcc (and C23) extension, and is
      fixed up in the merge.
      
      Link: https://lore.kernel.org/all/20240321134831.GA2762840@dev-arch.thelio-3990X/
      
      * tag 'char-misc-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (279 commits)
        binder: remove redundant variable page_addr
        uio_dmem_genirq: UIO_MEM_DMA_COHERENT conversion
        uio_pruss: UIO_MEM_DMA_COHERENT conversion
        cnic,bnx2,bnx2x: use UIO_MEM_DMA_COHERENT
        uio: introduce UIO_MEM_DMA_COHERENT type
        cdx: add MSI support for CDX bus
        pps: use cflags-y instead of EXTRA_CFLAGS
        speakup: Add /dev/synthu device
        speakup: Fix 8bit characters from direct synth
        parport: sunbpp: Convert to platform remove callback returning void
        parport: amiga: Convert to platform remove callback returning void
        char: xillybus: Convert to platform remove callback returning void
        vmw_balloon: change maintainership
        MAINTAINERS: change the maintainer for hpilo driver
        char: xilinx_hwicap: Fix NULL vs IS_ERR() bug
        hpet: remove hpets::hp_clocksource
        platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH
        char: xilinx_hwicap: drop casting to void in dev_set_drvdata
        greybus: move is_gb_* functions out of greybus.h
        greybus: Remove usage of the deprecated ida_simple_xx() API
        ...
      bb41fe35
    • Linus Torvalds's avatar
      Merge tag 'staging-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 0a59b3f4
      Linus Torvalds authored
      Pull staging driver updates from Greg KH:
       "Here is the big set of Staging driver cleanups for 6.9-rc1. Nothing
        major in here, lots of small coding style cleanups for most drivers,
        and the removal of some obsolete hardare (the emxx_udc and some
        drivers/staging/board/ files).
      
        All of these have been in linux-next for a long time with no reported
        issues"
      
      * tag 'staging-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (122 commits)
        staging: greybus: Replaces directive __attribute__((packed)) by __packed as suggested by checkpatch
        staging: greybus: Replace __attribute__((packed)) by __packed in various instances
        Staging: rtl8192e: Rename function GetHalfNmodeSupportByAPsHandler()
        Staging: rtl8192e: Rename function rtllib_FlushRxTsPendingPkts()
        Staging: rtl8192e: Rename goto OnADDBARsp_Reject
        Staging: rtl8192e: Rename goto OnADDBAReq_Fail
        Staging: rtl8192e: Rename function rtllib_send_ADDBARsp()
        Staging: rtl8192e: Rename function rtllib_send_ADDBAReq()
        Staging: rtl8192e: Rename variable TxRxSelect
        Staging: rtl8192e: Fix 5 chckpatch alignment warnings in rtl819x_BAProc.c
        Staging: rtl8192e: Rename function MgntQuery_MgntFrameTxRate
        Staging: rtl8192e: Rename boolean variable bHalfWirelessN24GMode
        Staging: rtl8192e: Rename reference AllowAllDestAddrHandler
        Staging: rtl8192e: Rename varoable asSta
        Staging: rtl8192e: Rename varoable osCcxVerNum
        Staging: rtl8192e: Rename variable CcxAironetBuf
        Staging: rtl8192e: Rename variable osCcxAironetIE
        Staging: rtl8192e: Rename variable AironetIeOui
        Staging: rtl8192e: Rename variable asRsn
        Staging: rtl8192e: Rename variable CcxVerNumBuf
        ...
      0a59b3f4
    • Linus Torvalds's avatar
      Merge tag 'tty-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 3bcb0bf6
      Linus Torvalds authored
      Pull tty / serial driver updates from Greg KH:
       "Here is the big set of TTY/Serial driver updates and cleanups for
        6.9-rc1. Included in here are:
      
         - more tty cleanups from Jiri
      
         - loads of 8250 driver cleanups from Andy
      
         - max310x driver updates
      
         - samsung serial driver updates
      
         - uart_prepare_sysrq_char() updates for many drivers
      
         - platform driver remove callback void cleanups
      
         - stm32 driver updates
      
         - other small tty/serial driver updates
      
        All of these have been in linux-next for a long time with no reported
        issues"
      
      * tag 'tty-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (199 commits)
        dt-bindings: serial: stm32: add power-domains property
        serial: 8250_dw: Replace ACPI device check by a quirk
        serial: Lock console when calling into driver before registration
        serial: 8250_uniphier: Switch to use uart_read_port_properties()
        serial: 8250_tegra: Switch to use uart_read_port_properties()
        serial: 8250_pxa: Switch to use uart_read_port_properties()
        serial: 8250_omap: Switch to use uart_read_port_properties()
        serial: 8250_of: Switch to use uart_read_port_properties()
        serial: 8250_lpc18xx: Switch to use uart_read_port_properties()
        serial: 8250_ingenic: Switch to use uart_read_port_properties()
        serial: 8250_dw: Switch to use uart_read_port_properties()
        serial: 8250_bcm7271: Switch to use uart_read_port_properties()
        serial: 8250_bcm2835aux: Switch to use uart_read_port_properties()
        serial: 8250_aspeed_vuart: Switch to use uart_read_port_properties()
        serial: port: Introduce a common helper to read properties
        serial: core: Add UPIO_UNKNOWN constant for unknown port type
        serial: core: Move struct uart_port::quirks closer to possible values
        serial: sh-sci: Call sci_serial_{in,out}() directly
        serial: core: only stop transmit when HW fifo is empty
        serial: pch: Use uart_prepare_sysrq_char().
        ...
      3bcb0bf6
    • Linus Torvalds's avatar
      Merge tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · e09bf86f
      Linus Torvalds authored
      Pull USB / Thunderbolt updates from Greg KH:
       "Here is the big set of USB and Thunderbolt changes for 6.9-rc1. Lots
        of tiny changes and forward progress to support new hardware and
        better support for existing devices. Included in here are:
      
         - Thunderbolt (i.e. USB4) updates for newer hardware and uses as more
           people start to use the hardware
      
         - default USB authentication mode Kconfig and documentation update to
           make it more obvious what is going on
      
         - USB typec updates and enhancements
      
         - usual dwc3 driver updates
      
         - usual xhci driver updates
      
         - function USB (i.e. gadget) driver updates and additions
      
         - new device ids for lots of drivers
      
         - loads of other small updates, full details in the shortlog
      
        All of these, including a "last minute regression fix" have been in
        linux-next with no reported issues"
      
      * tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (185 commits)
        usb: usb-acpi: Fix oops due to freeing uninitialized pld pointer
        usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
        usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
        phy: tegra: xusb: Add API to retrieve the port number of phy
        USB: gadget: pxa27x_udc: Remove unused of_gpio.h
        usb: gadget/snps_udc_plat: Remove unused of_gpio.h
        usb: ohci-pxa27x: Remove unused of_gpio.h
        usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined
        usb: Clarify expected behavior of dev_bin_attrs_are_visible()
        xhci: Allow RPM on the USB controller (1022:43f7) by default
        usb: isp1760: remove SLAB_MEM_SPREAD flag usage
        usb: misc: onboard_hub: use pointer consistently in the probe function
        usb: gadget: fsl: Increase size of name buffer for endpoints
        usb: gadget: fsl: Add of device table to enable module autoloading
        usb: typec: tcpm: add support to set tcpc connector orientatition
        usb: typec: tcpci: add generic tcpci fallback compatible
        dt-bindings: usb: typec-tcpci: add tcpci fallback binding
        usb: gadget: fsl-udc: Replace custom log wrappers by dev_{err,warn,dbg,vdbg}
        usb: core: Set connect_type of ports based on DT node
        dt-bindings: usb: Add downstream facing ports to realtek binding
        ...
      e09bf86f
    • Li Zhijian's avatar
      fbdev: panel-tpo-td043mtea1: Convert sprintf() to sysfs_emit() · 763865fe
      Li Zhijian authored
      Per filesystems/sysfs.rst, show() should only use sysfs_emit()
      or sysfs_emit_at() when formatting the value to be returned to user space.
      
      coccinelle complains that there are still a couple of functions that use
      snprintf(). Convert them to sysfs_emit().
      
      CC: Helge Deller <deller@gmx.de>
      CC: linux-omap@vger.kernel.org
      CC: linux-fbdev@vger.kernel.org
      CC: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLi Zhijian <lizhijian@fujitsu.com>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      763865fe
    • Linus Torvalds's avatar
      Merge tag 'hwlock-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 2ac2b166
      Linus Torvalds authored
      Pull hwspinlock updates from Bjorn Andersson:
       "Some code cleanup for the OMAP hwspinlock driver"
      
      * tag 'hwlock-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        hwspinlock: omap: Use index to get hwspinlock pointer
        hwspinlock: omap: Use devm_hwspin_lock_register() helper
        hwspinlock: omap: Use devm_pm_runtime_enable() helper
        hwspinlock: omap: Remove unneeded check for OF node
      2ac2b166
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 91f263dd
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This transitions rpmsg_ctrl and rpmsg_char drivers away from the
        deprecated ida_simple_*() API. It also makes the rpmsg_bus const"
      
      * tag 'rpmsg-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: core: Make rpmsg_bus const
        rpmsg: Remove usage of the deprecated ida_simple_xx() API
      91f263dd
    • Linus Torvalds's avatar
      Merge tag 'rproc-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 0e875ee5
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "Qualcomm SM8650 audio, compute and modem remoteproc are added.
        Qualcomm X1 Elite audio and compute remoteprocs are added, after
        support for shutting down the bootloader-loaded firmware loaded into
        the audio DSP..
      
        A dozen drivers in the subsystem are transitioned to use devres
        helpers for remoteproc and memory allocations - this makes it possible
        to acquire in-kernel handle to individual remoteproc instances in a
        cluster.
      
        The release of DMA memory for remoteproc virtio is corrected to ensure
        that restarting due to a watchdog bite doesn't attempt to allocate the
        memory again without first freeing it.
      
        Last, but not least, a couple of DeviceTree binding cleanups"
      
      * tag 'rproc-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (30 commits)
        remoteproc: qcom_q6v5_pas: Unload lite firmware on ADSP
        remoteproc: qcom_q6v5_pas: Add support for X1E80100 ADSP/CDSP
        dt-bindings: remoteproc: qcom,sm8550-pas: document the X1E80100 aDSP & cDSP
        remoteproc: qcom_wcnss: Use devm_rproc_alloc() helper
        remoteproc: qcom_q6v5_wcss: Use devm_rproc_alloc() helper
        remoteproc: qcom_q6v5_pas: Use devm_rproc_alloc() helper
        remoteproc: qcom_q6v5_mss: Use devm_rproc_alloc() helper
        remoteproc: qcom_q6v5_adsp: Use devm_rproc_alloc() helper
        dt-bindings: remoteproc: do not override firmware-name $ref
        dt-bindings: remoteproc: qcom,glink-rpm-edge: drop redundant type from label
        remoteproc: qcom: pas: correct data indentation
        remoteproc: Make rproc_get_by_phandle() work for clusters
        remoteproc: qcom: pas: Add SM8650 remoteproc support
        remoteproc: qcom: pas: make region assign more generic
        dt-bindings: remoteproc: qcom,sm8550-pas: document the SM8650 PAS
        remoteproc: k3-dsp: Use devm_rproc_add() helper
        remoteproc: k3-dsp: Use devm_ioremap_wc() helper
        remoteproc: k3-dsp: Add devm action to release tsp
        remoteproc: k3-dsp: Use devm_kzalloc() helper
        remoteproc: k3-dsp: Use devm_ti_sci_get_by_phandle() helper
        ...
      0e875ee5
    • Linus Torvalds's avatar
      Merge tag 'cocci-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux · ebc9bee8
      Linus Torvalds authored
      Pull coccinelle update from Julia Lawall:
       "Simplify the device_attr_show semantic patch
      
        Also removes an unused variable warning"
      
      * tag 'cocci-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
        coccinelle: device_attr_show: Remove useless expression STR
      ebc9bee8
    • Linus Torvalds's avatar
      Merge tag 'sh-for-v6.9-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux · 26bbcd63
      Linus Torvalds authored
      Pull sh updates from John Paul Adrian Glaubitz:
       "Two patches by Ricardo B. Marliere make two instances of struct
        bus_type in the interrupt controller driver and the DMA sysfs
        interface const since the driver core in the kernel is now able to
        handle that.
      
        A third patch by Artur Rojek enforces internal linkage for the
        function setup_hd64461() in order to fix the build of hp6xx_defconfig
        with -Werror=missing-prototypes"
      
      * tag 'sh-for-v6.9-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
        sh: hd64461: Make setup_hd64461() static
        sh: intc: Make intc_subsys const
        sh: dma-sysfs: Make dma_subsys const
      26bbcd63
    • Linus Torvalds's avatar
      Merge tag 'hyperv-next-signed-20240320' of... · cfce216e
      Linus Torvalds authored
      Merge tag 'hyperv-next-signed-20240320' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
      
      Pull hyperv updates from Wei Liu:
      
       - Use Hyper-V entropy to seed guest random number generator (Michael
         Kelley)
      
       - Convert to platform remove callback returning void for vmbus (Uwe
         Kleine-König)
      
       - Introduce hv_get_hypervisor_version function (Nuno Das Neves)
      
       - Rename some HV_REGISTER_* defines for consistency (Nuno Das Neves)
      
       - Change prefix of generic HV_REGISTER_* MSRs to HV_MSR_* (Nuno Das
         Neves)
      
       - Cosmetic changes for hv_spinlock.c (Purna Pavan Chandra Aekkaladevi)
      
       - Use per cpu initial stack for vtl context (Saurabh Sengar)
      
      * tag 'hyperv-next-signed-20240320' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
        x86/hyperv: Use Hyper-V entropy to seed guest random number generator
        x86/hyperv: Cosmetic changes for hv_spinlock.c
        hyperv-tlfs: Rename some HV_REGISTER_* defines for consistency
        hv: vmbus: Convert to platform remove callback returning void
        mshyperv: Introduce hv_get_hypervisor_version function
        x86/hyperv: Use per cpu initial stack for vtl context
        hyperv-tlfs: Change prefix of generic HV_REGISTER_* MSRs to HV_MSR_*
      cfce216e
    • Linus Torvalds's avatar
      Merge tag 'for-6.9-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 7b65c810
      Linus Torvalds authored
      Pull btrfs fix from David Sterba:
       "Fix a problem found in 6.7 after adding the temp-fsid feature which
        changed device tracking in memory and broke grub-probe. This is used
        on initrd-less systems. There were several iterations of the fix and
        it took longer than expected"
      
      * tag 'for-6.9-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: do not skip re-registration for the mounted device
      7b65c810
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 1b3e2513
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - Improve dirsync performance by syncing on a dentry-set rather than on
         a per-directory entry
      
      * tag 'exfat-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: remove duplicate update parent dir
        exfat: do not sync parent dir if just update timestamp
        exfat: remove unused functions
        exfat: convert exfat_find_empty_entry() to use dentry cache
        exfat: convert exfat_init_ext_entry() to use dentry cache
        exfat: move free cluster out of exfat_init_ext_entry()
        exfat: convert exfat_remove_entries() to use dentry cache
        exfat: convert exfat_add_entry() to use dentry cache
        exfat: add exfat_get_empty_dentry_set() helper
        exfat: add __exfat_get_dentry_set() helper
      1b3e2513
    • Linus Torvalds's avatar
      Merge tag 'bitmap-for-6.9' of https://github.com/norov/linux · 879e2886
      Linus Torvalds authored
      Pull bitmap updates from Yury Norov:
       "A couple of random cleanups plus a step-down patch from Andy"
      
      * tag 'bitmap-for-6.9' of https://github.com/norov/linux:
        bitmap: Step down as a reviewer
        lib/find: optimize find_*_bit_wrap
        lib/find_bit: Fix the code comments about find_next_bit_wrap
      879e2886
    • Paolo Abeni's avatar
      Merge tag 'nf-24-03-21' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf · f99c5f56
      Paolo Abeni authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter fixes for net
      
      The following patchset contains Netfilter fixes for net. There is a
      larger batch of fixes still pending that will follow up asap, this is
      what I deemed to be more urgent at this time:
      
      1) Use clone view in pipapo set backend to release elements from destroy
         path, otherwise it is possible to destroy elements twice.
      
      2) Incorrect check for internal table flags lead to bogus transaction
         objects.
      
      3) Fix counters memleak in netdev basechain update error path,
         from Quan Tian.
      
      netfilter pull request 24-03-21
      
      * tag 'nf-24-03-21' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
        netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
        netfilter: nf_tables: do not compare internal table flags on updates
        netfilter: nft_set_pipapo: release elements in clone only from destroy path
      ====================
      
      Link: https://lore.kernel.org/r/20240321112117.36737-1-pablo@netfilter.orgSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f99c5f56
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v6.9-merge-window' of... · 9f234784
      Takashi Iwai authored
      Merge tag 'asoc-fix-v6.9-merge-window' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v6.9
      
      A bunch of fixes that came in during the merge window, probably the most
      substantial thing is the DPCM locking fix for compressed audio which has
      been lurking for a while.
      9f234784
    • Takashi Sakamoto's avatar
      firewire: core: add memo about the caller of show functions for device attributes · bfb1ad3c
      Takashi Sakamoto authored
      In the case of firewire core function, the caller of show functions for
      device attributes is not only sysfs user, but also device initialization.
      
      This commit adds memo about it against the typical assumption that the
      functions are just dedicated to sysfs user.
      
      Link: https://lore.kernel.org/lkml/20240318091759.678326-1-o-takashi@sakamocchi.jp/Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      bfb1ad3c
    • Paolo Abeni's avatar
      Merge tag 'linux-can-fixes-for-6.9-20240319' of... · f411e250
      Paolo Abeni authored
      Merge tag 'linux-can-fixes-for-6.9-20240319' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can
      
      Marc Kleine-Budde says:
      
      ====================
      pull-request: can 2024-03-20
      
      this is a pull request of 1 patch for net/master.
      
      Martin Jocić contributes a fix for the kvaser_pciefd driver, so that
      up to 8 channels on the Xilinx-based adapters can be used. This issue
      has been introduced in net-next for v6.9.
      
      linux-can-fixes-for-6.9-20240319
      
      * tag 'linux-can-fixes-for-6.9-20240319' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can:
        can: kvaser_pciefd: Add additional Xilinx interrupts
      ====================
      
      Link: https://lore.kernel.org/r/20240320112144.582741-1-mkl@pengutronix.deSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f411e250
    • Ido Schimmel's avatar
      selftests: forwarding: Fix ping failure due to short timeout · e4137851
      Ido Schimmel authored
      The tests send 100 pings in 0.1 second intervals and force a timeout of
      11 seconds, which is borderline (especially on debug kernels), resulting
      in random failures in netdev CI [1].
      
      Fix by increasing the timeout to 20 seconds. It should not prolong the
      test unless something is wrong, in which case the test will rightfully
      fail.
      
      [1]
       # selftests: net/forwarding: vxlan_bridge_1d_port_8472_ipv6.sh
       # INFO: Running tests with UDP port 8472
       # TEST: ping: local->local                                            [ OK ]
       # TEST: ping: local->remote 1                                         [FAIL]
       # Ping failed
       [...]
      
      Fixes: b07e9957 ("selftests: forwarding: Add VxLAN tests with a VLAN-unaware bridge for IPv6")
      Fixes: 728b3525 ("selftests: forwarding: Add VxLAN tests with a VLAN-aware bridge for IPv6")
      Reported-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Closes: https://lore.kernel.org/netdev/24a7051fdcd1f156c3704bca39e4b3c41dfc7c4b.camel@redhat.com/Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
      Reviewed-by: default avatarHangbin Liu <liuhangbin@gmail.com>
      Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
      Link: https://lore.kernel.org/r/20240320065717.4145325-1-idosch@nvidia.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      e4137851
    • Fei Shao's avatar
      spi: spi-mt65xx: Fix NULL pointer access in interrupt handler · a20ad450
      Fei Shao authored
      The TX buffer in spi_transfer can be a NULL pointer, so the interrupt
      handler may end up writing to the invalid memory and cause crashes.
      
      Add a check to trans->tx_buf before using it.
      
      Fixes: 1ce24864 ("spi: mediatek: Only do dma for 4-byte aligned buffers")
      Signed-off-by: default avatarFei Shao <fshao@chromium.org>
      Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
      Link: https://msgid.link/r/20240321070942.1587146-2-fshao@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a20ad450
    • Florian Westphal's avatar
      MAINTAINERS: step down as netfilter maintainer · b5048d27
      Florian Westphal authored
      I do not feel that I'm up to the task anymore.
      
      I hope this to be a temporary emergeny measure, but for now I'm sure this
      is the best course of action for me.
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Link: https://lore.kernel.org/r/20240319121223.24474-1-fw@strlen.deSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      b5048d27
    • Artur Rojek's avatar
      sh: hd64461: Make setup_hd64461() static · 1e21acb7
      Artur Rojek authored
      Enforce internal linkage for setup_hd64461().
      
      This fixes the following error:
      arch/sh/cchips/hd6446x/hd64461.c:75:12: error: no previous prototype for 'setup_hd64461' [-Werror=missing-prototypes]
      Signed-off-by: default avatarArtur Rojek <contact@artur-rojek.eu>
      Reviewed-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
      Link: https://lore.kernel.org/r/20240211193451.106795-1-contact@artur-rojek.euSigned-off-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
      1e21acb7
    • Quan Tian's avatar
      netfilter: nf_tables: Fix a memory leak in nf_tables_updchain · 7eaf837a
      Quan Tian authored
      If nft_netdev_register_hooks() fails, the memory associated with
      nft_stats is not freed, causing a memory leak.
      
      This patch fixes it by moving nft_stats_alloc() down after
      nft_netdev_register_hooks() succeeds.
      
      Fixes: b9703ed4 ("netfilter: nf_tables: support for adding new devices to an existing netdev chain")
      Signed-off-by: default avatarQuan Tian <tianquan23@gmail.com>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      7eaf837a