1. 08 Nov, 2023 7 commits
    • Linus Torvalds's avatar
      Merge tag 'pm-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 30523014
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These add new hardware support to a cpufreq driver and fix cpupower
        utility documentation:
      
         - Add support for several Qualcomm SoC versions to the Qualcomm
           cpufreq driver (Robert Marko, Varadarajan Narayanan)
      
         - Fix a reference to a removed document in the cpupower utility
           documentation (Vegard Nossum)"
      
      * tag 'pm-6.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: qcom-nvmem: Introduce cpufreq for ipq95xx
        cpufreq: qcom-nvmem: Enable cpufreq for ipq53xx
        cpufreq: qcom-nvmem: add support for IPQ8074
        cpupower: fix reference to nonexistent document
      30523014
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2023-11-07' of git://anongit.freedesktop.org/drm/drm · 25b63770
      Linus Torvalds authored
      Pull more drm updates from Dave Airlie:
       "Geert pointed out I missed the renesas reworks in my main pull, so
        this pull contains the renesas next work for atomic conversion and DT
        support.
      
        It also contains a bunch of amdgpu and some small ssd13xx fixes.
      
        renesas:
         - atomic conversion
         - DT support
      
        ssd13xx:
         - dt binding fix for ssd132x
         - Initialize ssd130x crtc_state to NULL.
      
        amdgpu:
         - Fix RAS support check
         - RAS fixes
         - MES fixes
         - SMU13 fixes
         - Contiguous memory allocation fix
         - BACO fixes
         - GPU reset fixes
         - Min power limit fixes
         - GFX11 fixes
         - USB4/TB hotplug fixes
         - ARM regression fix
         - GFX9.4.3 fixes
         - KASAN/KCSAN stack size check fixes
         - SR-IOV fixes
         - SMU14 fixes
         - PSP13 fixes
         - Display blend fixes
         - Flexible array size fixes
      
        amdkfd:
         - GPUVM fix
      
        radeon:
         - Flexible array size fixes"
      
      * tag 'drm-next-2023-11-07' of git://anongit.freedesktop.org/drm/drm: (83 commits)
        drm/amd/display: Enable fast update on blendTF change
        drm/amd/display: Fix blend LUT programming
        drm/amd/display: Program plane color setting correctly
        drm/amdgpu: Query and report boot status
        drm/amdgpu: Add psp v13 function to query boot status
        drm/amd/swsmu: remove fw version check in sw_init.
        drm/amd/swsmu: update smu v14_0_0 driver if and metrics table
        drm/amdgpu: Add C2PMSG_109/126 reg field shift/masks
        drm/amdgpu: Optimize the asic type fix code
        drm/amdgpu: fix GRBM read timeout when do mes_self_test
        drm/amdgpu: check recovery status of xgmi hive in ras_reset_error_count
        drm/amd/pm: only check sriov vf flag once when creating hwmon sysfs
        drm/amdgpu: Attach eviction fence on alloc
        drm/amdkfd: Improve amdgpu_vm_handle_moved
        drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml2
        drm/amd/display: Avoid NULL dereference of timing generator
        drm/amdkfd: Update cache info for GFX 9.4.3
        drm/amdkfd: Populate cache info for GFX 9.4.3
        drm/amdgpu: don't put MQDs in VRAM on ARM | ARM64
        drm/amdgpu/smu13: drop compute workload workaround
        ...
      25b63770
    • Linus Torvalds's avatar
      Merge tag 'regmap-fix-v6.7-merge-window' of... · eaec7c98
      Linus Torvalds authored
      Merge tag 'regmap-fix-v6.7-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
      
      Pull regmap fix from Mark Brown:
       "One fix here, for an interaction between noinc registers and caches.
      
        If a device uses noinc registers (which is rare) then we could corrupt
        registers after the noinc register in the cache"
      
      * tag 'regmap-fix-v6.7-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap: prevent noinc writes from clobbering cache
      eaec7c98
    • Linus Torvalds's avatar
      Merge tag 'rproc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · b8dd631f
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "Support for controlling the second core in Mediatek's SCP dual-core
        setup is introduced.
      
        Support for audio, compute and modem DSPs on Qualcomm SM6375, and the
        audio DSP in SC7180 are introduced. The peripheral NoC clock is
        dropped from MSM8996 modem DSP, as this is handled through the
        interconnect provider.
      
        In the zynqmp driver the setup for TCM memory, and device address
        translation thereof, when operating in lockstep mode is corrected.
      
        A few bug fixes and cleanups are introduces across the ST and STM32
        remoteproc drivers"
      
      * tag 'rproc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (28 commits)
        remoteproc: st: Fix sometimes uninitialized ret in st_rproc_probe()
        remoteproc: st: Use device_get_match_data()
        remoteproc: zynqmp: Change tcm address translation method
        remoteproc: mediatek: Refactor single core check and fix retrocompatibility
        remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS
        dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock
        dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock
        remoteproc: qcom: pas: Add SM6375 MPSS
        remoteproc: qcom: pas: Add SM6375 ADSP & CDSP
        dt-bindings: remoteproc: qcom,sm6375-pas: Document remoteprocs
        dt-bindings: remoteproc: pru: Add Interrupt property
        remoteproc: qcom: pas: Add sc7180 adsp
        dt-bindings: remoteproc: qcom: sc7180-pas: Add ADSP compatible
        arm64: dts: mediatek: Update the node name of SCP rpmsg subnode
        remoteproc: zynqmp: fix TCM carveouts in lockstep mode
        remoteproc: mediatek: Refine ipi handler error message
        remoteproc: mediatek: Report watchdog crash to all cores
        remoteproc: mediatek: Handle MT8195 SCP core 1 watchdog timeout
        remoteproc: mediatek: Setup MT8195 SCP core 1 SRAM offset
        remoteproc: mediatek: Remove dependency of MT8195 SCP L2TCM power control on dual-core SCP
        ...
      b8dd631f
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · c87271ee
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This replaces a number of strncpy() instances with strscpy() or
        strscpy_pad() through the rpmsg core and virtio implementation"
      
      * tag 'rpmsg-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: virtio: Replace deprecated strncpy with strscpy/_pad
        rpmsg: Replace deprecated strncpy with strscpy_pad
        rpmsg: core: Replace deprecated strncpy with strscpy
      c87271ee
    • Linus Torvalds's avatar
      Merge tag 'pcmcia-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux · d3fbdb8a
      Linus Torvalds authored
      Pull PCMCIA updates from Dominik Brodowski:
       "Cleanups and fixes.
      
        Yang Yingliang has fixed a number of resource leaks and Dongliang Mu
        contributed a spelling fix for the PCMCIA core. Also included is a
        tiny clenaup to the tcic PCMCIA socket driver provided by lizhe"
      
      * tag 'pcmcia-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
        pcmcia: tcic: remove unneeded "&" in call to setup_timer()
        pcmcia: typo fix
        pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
        pcmcia: ds: fix refcount leak in pcmcia_device_add()
        pcmcia: cs: fix possible hung task and memory leak pccardd()
      d3fbdb8a
    • Linus Torvalds's avatar
      Merge tag 'gpio-pinctrl-updates-for-v6.7-rc1' of... · dc143480
      Linus Torvalds authored
      Merge tag 'gpio-pinctrl-updates-for-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
      
      Pull gpio/pinctrl updates from Bartosz Golaszewski:
       "The bulk of it is a rework of the glue layer between pinctrl and GPIO.
        We changed the signature of GPIO helpers for pinctrl to taking the
        gpio_chip/offset pair as arguments instead of using the deprecated
        global GPIO numberspace.
      
        The last little bit is removing the gpiochip_find() function as it now
        has no more users in-tree.
      
        Summary:
      
         - rework the GPIO-to-pinctrl glue code to stop using the deprecated
           global GPIO numberspace
      
         - remove now unused wrappers around pinctrl GPIO helpers from drivers
      
         - remove gpiochip_find() as it has no more users"
      
      * tag 'gpio-pinctrl-updates-for-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (70 commits)
        pinctrl: tegra: drop the wrapper around pinctrl_gpio_request()
        pinctrl: em: drop the wrapper around pinctrl_gpio_request()
        pinctrl: nuvoton: npcm8xx: drop wrappers around pinctrl_gpio_request/free()
        pinctrl: nuvoton: npcm7xx: drop wrappers around pinctrl_gpio_request/free()
        pinctrl: stm32: drop wrappers around pinctrl_gpio_free/input()
        pinctrl: starfive: jh7110: drop wrappers around pinctrl_gpio_request/free()
        pinctrl: starfive: jh7100: drop wrappers around pinctrl_gpio_request/free()
        pinctrl: ocelot: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: cirrus: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: mediatek: common: drop the wrappers around pinctrl_gpio_direction_input()
        pinctrl: mediatek: moore: drop the wrappers around pinctrl_gpio_direction_input()
        pinctrl: rk805: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: axp209: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: vt8500: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: as3722: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: ingenic: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: st: drop the wrapper around pinctrl_gpio_direction_input()
        pinctrl: change the signature of pinctrl_ready_for_gpio_range()
        pinctrl: change the signature of gpio_to_pin()
        pinctrl: change the signature of pinctrl_match_gpio_range()
        ...
      dc143480
  2. 07 Nov, 2023 9 commits
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 13d88ac5
      Linus Torvalds authored
      Pull vfs fanotify fsid updates from Christian Brauner:
       "This work is part of the plan to enable fanotify to serve as a drop-in
        replacement for inotify. While inotify is availabe on all filesystems,
        fanotify currently isn't.
      
        In order to support fanotify on all filesystems two things are needed:
      
         (1) all filesystems need to support AT_HANDLE_FID
      
         (2) all filesystems need to report a non-zero f_fsid
      
        This contains (1) and allows filesystems to encode non-decodable file
        handlers for fanotify without implementing any exportfs operations by
        encoding a file id of type FILEID_INO64_GEN from i_ino and
        i_generation.
      
        Filesystems that want to opt out of encoding non-decodable file ids
        for fanotify that don't support NFS export can do so by providing an
        empty export_operations struct.
      
        This also partially addresses (2) by generating f_fsid for simple
        filesystems as well as freevxfs. Remaining filesystems will be dealt
        with by separate patches.
      
        Finally, this contains the patch from the current exportfs maintainers
        which moves exportfs under vfs with Chuck, Jeff, and Amir as
        maintainers and vfs.git as tree"
      
      * tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        MAINTAINERS: create an entry for exportfs
        fs: fix build error with CONFIG_EXPORTFS=m or not defined
        freevxfs: derive f_fsid from bdev->bd_dev
        fs: report f_fsid from s_dev for "simple" filesystems
        exportfs: support encoding non-decodeable file handles by default
        exportfs: define FILEID_INO64_GEN* file handle types
        exportfs: make ->encode_fh() a mandatory method for NFS export
        exportfs: add helpers to check if filesystem can encode/decode file handles
      13d88ac5
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.7.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 062cca89
      Linus Torvalds authored
      Pull iomap maintainership rotation from Christian Brauner:
       "As discussed on list last week this makes fs/iomap part of vfs.git
        with Darrick as main reviewer"
      
      * tag 'vfs-6.7.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        iomap: rename iomap entry
        iomap: rotate maintainers
      062cca89
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v6.6-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 1a0507d8
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Don't update inode timestamps for direct writes (performance
         regression fix)
      
       - Skip no-op quota records instead of panicing
      
       - Fix a RCU race in gfs2_permission()
      
       - Various other smaller fixes and cleanups all over the place
      
      * tag 'gfs2-v6.6-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (24 commits)
        gfs2: don't withdraw if init_threads() got interrupted
        gfs2: remove dead code in add_to_queue
        gfs2: Fix slab-use-after-free in gfs2_qd_dealloc
        gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
        gfs2: fs: derive f_fsid from s_uuid
        gfs2: No longer use 'extern' in function declarations
        gfs2: Rename gfs2_lookup_{ simple => meta }
        gfs2: Convert gfs2_internal_read to folios
        gfs2: Convert stuffed_readpage to folios
        gfs2: Minor gfs2_write_jdata_batch PAGE_SIZE cleanup
        gfs2: Get rid of gfs2_alloc_blocks generation parameter
        gfs2: Add metapath_dibh helper
        gfs2: Clean up quota.c:print_message
        gfs2: Clean up gfs2_alloc_parms initializers
        gfs2: Two quota=account mode fixes
        gfs2: Stop using GFS2_BASIC_BLOCK and GFS2_BASIC_BLOCK_SHIFT
        gfs2: setattr_chown: Add missing initialization
        gfs2: fix an oops in gfs2_permission
        gfs2: ignore negated quota changes
        gfs2: Don't update inode timestamps for direct writes
        ...
      1a0507d8
    • Linus Torvalds's avatar
      Merge tag 'ovl-update-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs · 7f851936
      Linus Torvalds authored
      Pull overlayfs updates from Amir Goldstein:
      
       - Overlayfs aio cleanups and fixes
      
         Cleanups and minor fixes in preparation for factoring out of
         read/write passthrough code.
      
       - Overlayfs lock ordering changes
      
         Hold mnt_writers only throughout copy up instead of a long lived
         elevated refcount.
      
       - Add support for nesting overlayfs private xattrs
      
         There are cases where you want to use an overlayfs mount as a
         lowerdir for another overlayfs mount. For example, if the system
         rootfs is on overlayfs due to composefs, or to make it volatile (via
         tmpfs), then you cannot currently store a lowerdir on the rootfs,
         because the inner overlayfs will eat all the whiteouts and overlay
         xattrs. This means you can't e.g. store on the rootfs a prepared
         container image for use with overlayfs.
      
         This adds support for nesting of overlayfs mounts by escaping the
         problematic features and unescaping them when exposing to the
         overlayfs user.
      
       - Add new mount options for appending lowerdirs
      
      * tag 'ovl-update-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
        ovl: add support for appending lowerdirs one by one
        ovl: refactor layer parsing helpers
        ovl: store and show the user provided lowerdir mount option
        ovl: remove unused code in lowerdir param parsing
        ovl: Add documentation on nesting of overlayfs mounts
        ovl: Add an alternative type of whiteout
        ovl: Support escaped overlay.* xattrs
        ovl: Add OVL_XATTR_TRUSTED/USER_PREFIX_LEN macros
        ovl: Move xattr support to new xattrs.c file
        ovl: do not encode lower fh with upper sb_writers held
        ovl: do not open/llseek lower file with upper sb_writers held
        ovl: reorder ovl_want_write() after ovl_inode_lock()
        ovl: split ovl_want_write() into two helpers
        ovl: add helper ovl_file_modified()
        ovl: protect copying of realinode attributes to ovl inode
        ovl: punt write aio completion to workqueue
        ovl: propagate IOCB_APPEND flag on writes to realfile
        ovl: use simpler function to convert iocb to rw flags
      7f851936
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-tools' · 36cbb924
      Rafael J. Wysocki authored
      Merge cpupower utility update for 6.7-rc1:
      
       - Fix a reference to a removed document in the cpupower utility
         documentation (Vegard Nossum).
      
      * pm-tools:
        cpupower: fix reference to nonexistent document
      36cbb924
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · d53f7f7a
      Rafael J. Wysocki authored
      Merge branch 'pm-cpufreq'
      
      Merge additional Qualcomm cpufreq driver updates for 6.7-rc1:
      
       - Add support for several Qualcomm SoC versions (Robert Marko,
         Varadarajan Narayanan).
      
      * pm-cpufreq:
        cpufreq: qcom-nvmem: Introduce cpufreq for ipq95xx
        cpufreq: qcom-nvmem: Enable cpufreq for ipq53xx
        cpufreq: qcom-nvmem: add support for IPQ8074
      d53f7f7a
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2023-11-5' of https://evilpiepirate.org/git/bcachefs · c9d01179
      Linus Torvalds authored
      Pull more bcachefs updates from Kent Overstreet:
       "Here's the second big bcachefs pull request. This brings your tree up
        to date with my master branch, which is what existing bcachefs users
        are currently running.
      
        New features:
         - rebalance_work btree (and metadata version 1.3): the rebalance
           thread no longer has to scan to find extents that need processing -
           big scalability improvement.
         - sb_errors superblock section: this adds counters for each fsck
           error type, since filesystem creation, along with the date of the
           most recent error. It'll get us better bug reports (since users do
           not typically report errors that fsck was able to fix), and I might
           add telemetry for this in the future.
      
        Fixes include:
         - multiple snapshot deletion fixes
         - members_v2 fixups
         - deleted_inodes btree fixes
         - copygc thread no longer spins when a device is full but has no
           fragmented buckets (i.e. rebalance needs to move data around
           instead)
         - a fix for a memory reclaim issue with the btree key cache: we're
           now careful not to hold the srcu read lock that blocks key cache
           reclaim for too long
         - an early allocator locking fix, from Brian
         - endianness fixes, from Brian
         - CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y, a big
           performance improvement on multithreaded workloads"
      
      * tag 'bcachefs-2023-11-5' of https://evilpiepirate.org/git/bcachefs: (70 commits)
        bcachefs: Improve stripe checksum error message
        bcachefs: Simplify, fix bch2_backpointer_get_key()
        bcachefs: kill thing_it_points_to arg to backpointer_not_found()
        bcachefs: bch2_ec_read_extent() now takes btree_trans
        bcachefs: bch2_stripe_to_text() now prints ptr gens
        bcachefs: Don't iterate over journal entries just for btree roots
        bcachefs: Break up bch2_journal_write()
        bcachefs: Replace ERANGE with private error codes
        bcachefs: bkey_copy() is no longer a macro
        bcachefs: x-macro-ify inode flags enum
        bcachefs: Convert bch2_fs_open() to darray
        bcachefs: Move __bch2_members_v2_get_mut to sb-members.h
        bcachefs: bch2_prt_datetime()
        bcachefs: CONFIG_BCACHEFS_DEBUG_TRANSACTIONS no longer defaults to y
        bcachefs: Add a comment for BTREE_INSERT_NOJOURNAL usage
        bcachefs: rebalance_work btree is not a snapshots btree
        bcachefs: Add missing printk newlines
        bcachefs: Fix recovery when forced to use JSET_NO_FLUSH journal entry
        bcachefs: .get_parent() should return an error pointer
        bcachefs: Fix bch2_delete_dead_inodes()
        ...
      c9d01179
    • Amir Goldstein's avatar
      MAINTAINERS: create an entry for exportfs · 4ad714df
      Amir Goldstein authored
      Split the exportfs entry from the nfsd entry and add myself as reviewer.
      Suggested-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Acked-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Acked-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Link: https://lore.kernel.org/r/20231026205553.143556-1-amir73il@gmail.comSigned-off-by: default avatarChristian Brauner <brauner@kernel.org>
      4ad714df
    • Christian Brauner's avatar
      iomap: rename iomap entry · 64bc7eee
      Christian Brauner authored
      Since this is now part of the vfs trees rename it accordingly and remove
      the old tree referencing xfs.
      Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
      64bc7eee
  3. 06 Nov, 2023 16 commits
    • Linus Torvalds's avatar
      Merge tag 'media/v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · be3ca57c
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - the old V4L2 core videobuf kAPI was finally removed. All media
         drivers should now be using VB2 kAPI
      
       - new automotive driver: mgb4
      
       - new platform video driver: npcm-video
      
       - new sensor driver: mt9m114
      
       - new TI driver used in conjunction with Cadence CSI2RX IP to bridge
         TI-specific parts
      
       - ir-rx51 was removed and the N900 DT binding was moved to the
         pwm-ir-tx generic driver
      
       - drop atomisp-specific ov5693, using the upstream driver instead
      
       - the camss driver has gained RDI3 support for VFE 17x
      
       - the atomisp driver now detects ISP2400 or ISP2401 at run time. No
         need to set it up at build time anymore
      
       - lots of driver fixes, cleanups and improvements
      
      * tag 'media/v6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (377 commits)
        media: nuvoton: VIDEO_NPCM_VCD_ECE should depend on ARCH_NPCM
        media: venus: Fix firmware path for resources
        media: venus: hfi_cmds: Replace one-element array with flex-array member and use __counted_by
        media: venus: hfi_parser: Add check to keep the number of codecs within range
        media: venus: hfi: add checks to handle capabilities from firmware
        media: venus: hfi: fix the check to handle session buffer requirement
        media: venus: hfi: add checks to perform sanity on queue pointers
        media: platform: cadence: select MIPI_DPHY dependency
        media: MAINTAINERS: Fix path for J721E CSI2RX bindings
        media: cec: meson: always include meson sub-directory in Makefile
        media: videobuf2: Fix IS_ERR checking in vb2_dc_put_userptr()
        media: platform: mtk-mdp3: fix uninitialized variable in mdp_path_config()
        media: mediatek: vcodec: using encoder device to alloc/free encoder memory
        media: imx-jpeg: notify source chagne event when the first picture parsed
        media: cx231xx: Use EP5_BUF_SIZE macro
        media: siano: Drop unnecessary error check for debugfs_create_dir/file()
        media: mediatek: vcodec: Handle invalid encoder vsi
        media: aspeed: Drop unnecessary error check for debugfs_create_file()
        Documentation: media: buffer.rst: fix V4L2_BUF_FLAG_PREPARED
        Documentation: media: gen-errors.rst: fix confusing ENOTTY description
        ...
      be3ca57c
    • Linus Torvalds's avatar
      Merge tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · d2f51b35
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "There is a new driver for the RTC of the Mstar SSD202D SoC. The
        rtc7301 driver gains support for byte addresses to support the
        USRobotics USR8200. Then we have many non user visible changes and
        typo fixes.
      
        Summary:
      
        Subsytem:
         - convert platform drivers to remove_new
         - prevent modpost warnings for unremovable platform drivers
      
        New driver:
         - Mstar SSD202D
      
        Drivers:
         - brcmstb-waketimer: support level alarm_irq
         - ep93xx: add DT support
         - rtc7301: support byte-addressed IO"
      
      * tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (28 commits)
        dt-bindings: rtc: Add Mstar SSD202D RTC
        rtc: Add support for the SSD202D RTC
        rtc: at91rm9200: annotate at91_rtc_remove with __exit again
        dt-bindings: rtc: microcrystal,rv3032: Document wakeup-source property
        dt-bindings: rtc: pcf8523: Convert to YAML
        dt-bindings: rtc: mcp795: move to trivial-rtc
        rtc: ep93xx: add DT support for Cirrus EP93xx
        dt-bindings: rtc: Add Cirrus EP93xx
        dt-bindings: rtc: pcf2123: convert to YAML
        rtc: efi: fixed typo in efi_procfs()
        rtc: omap: Use device_get_match_data()
        rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
        rtc: rtc7301: Support byte-addressed IO
        rtc: rtc7301: Rewrite bindings in schema
        rtc: sh: Convert to platform remove callback returning void
        rtc: pxa: Convert to platform remove callback returning void
        rtc: mv: Convert to platform remove callback returning void
        rtc: imxdi: Convert to platform remove callback returning void
        rtc: at91rm9200: Convert to platform remove callback returning void
        rtc: pcap: Drop no-op remove function
        ...
      d2f51b35
    • Linus Torvalds's avatar
      Merge tag 'mailbox-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox · 7b2c9e41
      Linus Torvalds authored
      Pull mailbox updates from Jassi Brar:
      
       - imx: add support for TX Doorbell v2
      
       - mtk: implement runtime PM
      
       - zynqmp: add destination mailbox compatible
      
       - qcom:
          - add another clock provider for IPQ
          - add SM8650 compatible
      
       - misc: use preferred device_get_match_data()
      
      * tag 'mailbox-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox:
        dt-bindings: mailbox: qcom-ipcc: document the SM8650 Inter-Processor Communication Controller
        mailbox: mtk-cmdq-mailbox: Implement Runtime PM with autosuspend
        mailbox: Use device_get_match_data()
        dt-bindings: zynqmp: add destination mailbox compatible
        dt-bindings: mailbox: qcom: add one more clock provider for IPQ mailbox
        mailbox: imx: support channel type tx doorbell v2
        dt-bindings: mailbox: fsl,mu: add new tx doorbell channel
      7b2c9e41
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.7-2023-11-03' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · 9ccde17d
      Dave Airlie authored
      amd-drm-next-6.7-2023-11-03:
      
      amdgpu:
      - Fix RAS support check
      - RAS fixes
      - MES fixes
      - SMU13 fixes
      - Contiguous memory allocation fix
      - BACO fixes
      - GPU reset fixes
      - Min power limit fixes
      - GFX11 fixes
      - USB4/TB hotplug fixes
      - ARM regression fix
      - GFX9.4.3 fixes
      - KASAN/KCSAN stack size check fixes
      - SR-IOV fixes
      - SMU14 fixes
      - PSP13 fixes
      - Display blend fixes
      - Flexible array size fixes
      
      amdkfd:
      - GPUVM fix
      
      radeon:
      - Flexible array size fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231103173203.4912-1-alexander.deucher@amd.com
      9ccde17d
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2023-11-02' of... · f056cb96
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2023-11-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      drm-misc-next-fixes for v6.7-rc1:
      
      - dt binding fix for ssd132x
      - Initialize ssd130x crtc_state to NULL.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/58f40043-bb8a-4716-bf07-89f6a9f56c4c@linux.intel.com
      f056cb96
    • Andreas Gruenbacher's avatar
      gfs2: don't withdraw if init_threads() got interrupted · 0cdc6f44
      Andreas Gruenbacher authored
      In gfs2_fill_super(), when mounting a gfs2 filesystem is interrupted,
      kthread_create() can return -EINTR.  When that happens, we roll back
      what has already been done and abort the mount.
      
      Since commit 62dd0f98 ("gfs2: Flag a withdraw if init_threads()
      fails), we are calling gfs2_withdraw_delayed() in gfs2_fill_super();
      first via gfs2_make_fs_rw(), then directly.  But gfs2_withdraw_delayed()
      only marks the filesystem as withdrawing and relies on a caller further
      up the stack to do the actual withdraw, which doesn't exist in the
      gfs2_fill_super() case.  Because the filesystem is marked as withdrawing
      / withdrawn, function gfs2_lm_unmount() doesn't release the dlm
      lockspace, so when we try to mount that filesystem again, we get:
      
          gfs2: fsid=gohan:gohan0: Trying to join cluster "lock_dlm", "gohan:gohan0"
          gfs2: fsid=gohan:gohan0: dlm_new_lockspace error -17
      
      Since commit b77b4a48 ("gfs2: Rework freeze / thaw logic"), the
      deadlock this gfs2_withdraw_delayed() call was supposed to work around
      cannot occur anymore because freeze_go_callback() won't take the
      sb->s_umount semaphore unconditionally anymore, so we can get rid of the
      gfs2_withdraw_delayed() in gfs2_fill_super() entirely.
      Reported-by: default avatarAlexander Aring <aahringo@redhat.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      Cc: stable@vger.kernel.org # v6.5+
      0cdc6f44
    • Su Hui's avatar
      gfs2: remove dead code in add_to_queue · bb25b975
      Su Hui authored
      clang static analyzer complains that value stored to 'gh' is never read.
      The code of this line is useless after commit 0b93bac2
      ("gfs2: Remove LM_FLAG_PRIORITY flag"). Remove this code to save space.
      Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      bb25b975
    • Juntong Deng's avatar
      gfs2: Fix slab-use-after-free in gfs2_qd_dealloc · bdcb8aa4
      Juntong Deng authored
      In gfs2_put_super(), whether withdrawn or not, the quota should
      be cleaned up by gfs2_quota_cleanup().
      
      Otherwise, struct gfs2_sbd will be freed before gfs2_qd_dealloc (rcu
      callback) has run for all gfs2_quota_data objects, resulting in
      use-after-free.
      
      Also, gfs2_destroy_threads() and gfs2_quota_cleanup() is already called
      by gfs2_make_fs_ro(), so in gfs2_put_super(), after calling
      gfs2_make_fs_ro(), there is no need to call them again.
      
      Reported-by: syzbot+29c47e9e51895928698c@syzkaller.appspotmail.com
      Closes: https://syzkaller.appspot.com/bug?extid=29c47e9e51895928698cSigned-off-by: default avatarJuntong Deng <juntong.deng@outlook.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      bdcb8aa4
    • Andreas Gruenbacher's avatar
      gfs2: Silence "suspicious RCU usage in gfs2_permission" warning · 074d7306
      Andreas Gruenbacher authored
      Commit 0abd1557 added rcu_dereference() for dereferencing ip->i_gl
      in gfs2_permission.  This now causes lockdep to complain when
      gfs2_permission is called in non-RCU context:
      
          WARNING: suspicious RCU usage in gfs2_permission
      
      Switch to rcu_dereference_check() and check for the MAY_NOT_BLOCK flag
      to shut up lockdep when we know that dereferencing ip->i_gl is safe.
      
      Fixes: 0abd1557 ("gfs2: fix an oops in gfs2_permission")
      Reported-by: syzbot+3e5130844b0c0e2b4948@syzkaller.appspotmail.com
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      074d7306
    • Amir Goldstein's avatar
      gfs2: fs: derive f_fsid from s_uuid · d6fc6c93
      Amir Goldstein authored
      gfs2 already has optional persistent uuid.
      
      Use that uuid to report f_fsid in statfs(2), same as ext2/ext4/zonefs.
      
      This allows gfs2 to be monitored by fanotify filesystem watch.
      for example, with inotify-tools 4.23.8.0, the following command can be
      used to watch changes over entire filesystem:
      
        fsnotifywatch --filesystem /mnt/gfs2
      Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      d6fc6c93
    • Andreas Gruenbacher's avatar
      gfs2: No longer use 'extern' in function declarations · 0b2355fe
      Andreas Gruenbacher authored
      For non-static function declarations, external linkage is implied and
      the 'extern' keyword isn't needed.  Some static checkers complain about
      the overuse of 'extern', so clean up all the function declarations.
      
      In addition, remove 'extern' from the definition of
      free_local_statfs_inodes(); it isn't needed there, either.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      0b2355fe
    • Andreas Gruenbacher's avatar
      gfs2: Rename gfs2_lookup_{ simple => meta } · 062fb903
      Andreas Gruenbacher authored
      Function gfs2_lookup_simple() is used for looking up inodes in the
      metadata directory tree, so rename it to gfs2_lookup_meta() to closer
      match its purpose.  Clean the function up a little on the way.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      062fb903
    • Andreas Gruenbacher's avatar
      gfs2: Convert gfs2_internal_read to folios · be7f6a6b
      Andreas Gruenbacher authored
      Change gfs2_internal_read() to use folios.  Convert sizes to size_t.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      be7f6a6b
    • Andreas Gruenbacher's avatar
      gfs2: Convert stuffed_readpage to folios · 7fa4964b
      Andreas Gruenbacher authored
      Change stuffed_readpage() to take a folio instead of a page.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      7fa4964b
    • Andreas Gruenbacher's avatar
      gfs2: Minor gfs2_write_jdata_batch PAGE_SIZE cleanup · d6d64dac
      Andreas Gruenbacher authored
      In gfs2_write_jdata_batch(), to compute the number of blocks, compute
      the total size of the folio batch instead of the number of pages it
      contains.  Not a functional change.
      
      Note that we don't currently allow mounting filesystems with a block
      size bigger than the page size.  We could change that after converting
      the page cache to folios.  The page cache would then only contain
      block-size or bigger folios, so rounding wouldn't become an issue here.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      d6d64dac
    • Andreas Gruenbacher's avatar
      gfs2: Get rid of gfs2_alloc_blocks generation parameter · 4c7b3f7f
      Andreas Gruenbacher authored
      Get rid of the generation parameter of gfs2_alloc_blocks(): we only ever
      set the generation of the current inode while creating it, so do so
      directly.
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      4c7b3f7f
  4. 05 Nov, 2023 8 commits
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 77fa2fbe
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "vhost,virtio,vdpa: features, fixes, cleanups.
      
        vdpa/mlx5:
         - VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK
         - new maintainer
      
        vdpa:
         - support for vq descriptor mappings
         - decouple reset of iotlb mapping from device reset
      
        and fixes, cleanups all over the place"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (34 commits)
        vdpa_sim: implement .reset_map support
        vdpa/mlx5: implement .reset_map driver op
        vhost-vdpa: clean iotlb map during reset for older userspace
        vdpa: introduce .compat_reset operation callback
        vhost-vdpa: introduce IOTLB_PERSIST backend feature bit
        vhost-vdpa: reset vendor specific mapping to initial state in .release
        vdpa: introduce .reset_map operation callback
        virtio_pci: add check for common cfg size
        virtio-blk: fix implicit overflow on virtio_max_dma_size
        virtio_pci: add build offset check for the new common cfg items
        virtio: add definition of VIRTIO_F_NOTIF_CONFIG_DATA feature bit
        vduse: make vduse_class constant
        vhost-scsi: Spelling s/preceeding/preceding/g
        virtio: kdoc for struct virtio_pci_modern_device
        vdpa: Update sysfs ABI documentation
        MAINTAINERS: Add myself as mlx5_vdpa driver
        virtio-balloon: correct the comment of virtballoon_migratepage()
        mlx5_vdpa: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK
        vdpa/mlx5: Update cvq iotlb mapping on ASID change
        vdpa/mlx5: Make iotlb helper functions more generic
        ...
      77fa2fbe
    • Linus Torvalds's avatar
      Merge tag 'firewire-updates-6.7' of... · 1cfb7511
      Linus Torvalds authored
      Merge tag 'firewire-updates-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
      
      Pull firewire update from Takashi Sakamoto:
       "A slight change for flexible length of array in core function.
      
        Kees Cook provides a patch to annotate the array embedded in fw_node
        structure referring to structure member for the length of array. The
        annotation would be defined by future extension of C compilers, and
        used for access bound-check at run-time enabled by UBSAN and
        FORTIFY_SOURCE"
      
      * tag 'firewire-updates-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: Annotate struct fw_node with __counted_by
      1cfb7511
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 3d05e493
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "I2C has largely driver updates for 6.7, i.e. feature additions (like
        adding transfers while in atomic mode), using new helpers (like
        devm_clk_get_enabled), new IDs, documentation fixes and additions...
        you name it.
      
        The core got a memleak fix and better support for nested muxes"
      
      * tag 'i2c-for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (53 commits)
        i2c: s3c2410: make i2c_s3c_irq_nextbyte() void
        i2c: qcom-geni: add ACPI device id for sc8180x
        Documentation: i2c: add fault code for not supporting 10 bit addresses
        i2c: sun6i-p2wi: Prevent potential division by zero
        i2c: mux: demux-pinctrl: Convert to use sysfs_emit_at() API
        i2c: i801: Use new helper acpi_use_parent_companion
        ACPI: Add helper acpi_use_parent_companion
        MAINTAINERS: add YAML file for i2c-demux-pinctrl
        i2c: core: fix lockdep warning for sparsely nested adapter chain
        i2c: axxia: eliminate kernel-doc warnings
        dt-bindings: i2c: i2c-demux-pinctrl: Convert to json-schema
        i2c: stm32f7: Use devm_clk_get_enabled()
        i2c: stm32f4: Use devm_clk_get_enabled()
        i2c: stm32f7: add description of atomic in struct stm32f7_i2c_dev
        i2c: fix memleak in i2c_new_client_device()
        i2c: exynos5: Calculate t_scl_l, t_scl_h according to i2c spec
        i2c: i801: Simplify class-based client device instantiation
        i2c: exynos5: add support for atomic transfers
        i2c: at91-core: Use devm_clk_get_enabled()
        eeprom: at24: add ST M24C64-D Additional Write lockable page support
        ...
      3d05e493
    • Linus Torvalds's avatar
      Merge tag 'ubifs-for-linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · 2153fc3d
      Linus Torvalds authored
      Pull UBI and UBIFS updates from Richard Weinberger:
      
       - UBI Fastmap improvements
      
       - Minor issues found by static analysis bots in both UBI and UBIFS
      
       - Fix for wrong dentry length UBIFS in fscrypt mode
      
      * tag 'ubifs-for-linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubifs: ubifs_link: Fix wrong name len calculating when UBIFS is encrypted
        ubi: block: Fix use-after-free in ubiblock_cleanup
        ubifs: fix possible dereference after free
        ubi: fastmap: Add control in 'UBI_IOCATT' ioctl to reserve PEBs for filling pools
        ubi: fastmap: Add module parameter to control reserving filling pool PEBs
        ubi: fastmap: Fix lapsed wear leveling for first 64 PEBs
        ubi: fastmap: Get wl PEB even ec beyonds the 'max' if free PEBs are run out
        ubi: fastmap: may_reserve_for_fm: Don't reserve PEB if fm_anchor exists
        ubi: fastmap: Remove unneeded break condition while filling pools
        ubi: fastmap: Wait until there are enough free PEBs before filling pools
        ubi: fastmap: Use free pebs reserved for bad block handling
        ubi: Replace erase_block() with sync_erase()
        ubi: fastmap: Allocate memory with GFP_NOFS in ubi_update_fastmap
        ubi: fastmap: erase_block: Get erase counter from wl_entry rather than flash
        ubi: fastmap: Fix missed ec updating after erasing old fastmap data block
        ubifs: Fix missing error code err
        ubifs: Fix memory leak of bud->log_hash
        ubifs: Fix some kernel-doc comments
      2153fc3d
    • Kent Overstreet's avatar
      bcachefs: Improve stripe checksum error message · c7046ed0
      Kent Overstreet authored
      We now include the name of the device in the error message - and also
      increment the number of checksum errors on that device.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      c7046ed0
    • Kent Overstreet's avatar
      bcachefs: Simplify, fix bch2_backpointer_get_key() · 853960d0
      Kent Overstreet authored
       - backpointer_not_found() checks backpointers_no_use_write_buffer, no
         need to do it inbackpointer_get_key().
      
       - always use backpointer_get_node() for pointers to nodes:
         backpointer_get_key() was sometimes returning the key from the root
         node unlocked.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      853960d0
    • Kent Overstreet's avatar
      bcachefs: kill thing_it_points_to arg to backpointer_not_found() · daba90f2
      Kent Overstreet authored
      This can be calculated locally.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      daba90f2
    • Kent Overstreet's avatar
      bcachefs: bch2_ec_read_extent() now takes btree_trans · aa982665
      Kent Overstreet authored
      We're not supposed to have more than one btree_trans at a time in a
      given thread - that causes recursive locking deadlocks.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      aa982665