1. 09 Oct, 2024 1 commit
  2. 08 Oct, 2024 3 commits
  3. 04 Oct, 2024 1 commit
  4. 27 Sep, 2024 1 commit
    • Benjamin Tissoires's avatar
      HID: bpf: fix cfi stubs for hid_bpf_ops · acd5f76f
      Benjamin Tissoires authored
      With the introduction of commit e42ac141 ("bpf: Check unsupported ops
      from the bpf_struct_ops's cfi_stubs"), a HID-BPF struct_ops containing
      a .hid_hw_request() or a .hid_hw_output_report() was failing to load
      as the cfi stubs were not defined.
      
      Fix that by defining those simple static functions and restore HID-BPF
      functionality.
      
      This was detected with the HID selftests suddenly failing on Linus' tree.
      
      Cc: stable@vger.kernel.org # v6.11+
      Fixes: 9286675a ("HID: bpf: add HID-BPF hooks for hid_hw_output_report")
      Fixes: 8bd0488b ("HID: bpf: add HID-BPF hooks for hid_hw_raw_requests")
      Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
      acd5f76f
  5. 25 Sep, 2024 2 commits
  6. 19 Sep, 2024 15 commits
    • Linus Torvalds's avatar
      Merge tag 'hid-for-linus-2024091602' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · a65b3c3e
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - New HID over SPI driver for Goodix devices that don't follow
         Microsoft's HID-over-SPI specification, so a separate driver is
         needed. Currently supported device is GT7986U touchscreen (Charles
         Wang)
      
       - support for new hardware features in Wacom driver (high-res wheel
         scrolling, touchstrings with relative motions, support for two
         touchrings) (Jason Gerecke)
      
       - support for customized vendor firmware loading in intel-ish driver
         (Zhang Lixu)
      
       - fix for theoretical race condition in i2c-hid (Dmitry Torokhov)
      
       - support for HIDIOCREVOKE -- evdev's EVIOCREVOKE equivalent in hidraw
         (Peter Hutterer)
      
       - initial hidraw selftest implementation (Benjamin Tissoires)
      
       - constification of device-specific report descriptors (Thomas
         Weißschuh)
      
       - other small assorted fixes and device ID / quirk additions
      
      * tag 'hid-for-linus-2024091602' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (54 commits)
        hid: cp2112: Use irq_get_trigger_type() helper
        HID: i2c-hid: ensure various commands do not interfere with each other
        HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
        HID: wacom: Do not warn about dropped packets for first packet
        HID: wacom: Support sequence numbers smaller than 16-bit
        HID: lg: constify fixed up report descriptor
        HID: uclogic: constify fixed up report descriptor
        HID: waltop: constify fixed up report descriptor
        HID: sony: constify fixed up report descriptor
        HID: pxrc: constify fixed up report descriptor
        HID: steelseries: constify fixed up report descriptor
        HID: viewsonic: constify fixed up report descriptor
        HID: vrc2: constify fixed up report descriptor
        HID: xiaomi: constify fixed up report descriptor
        HID: maltron: constify fixed up report descriptor
        HID: keytouch: constify fixed up report descriptor
        HID: holtek-kbd: constify fixed up report descriptor
        HID: dr: constify fixed up report descriptor
        HID: bigbenff: constify fixed up report descriptor
        HID: picoLCD: Use backlight power constants
        ...
      a65b3c3e
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd · d5e65d1f
      Linus Torvalds authored
      Pull tpm updates from Jarkko Sakkinen:
       "Just updates and fixes, no major changes"
      
      * tag 'tpmdd-next-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        tpm: export tpm2_sessions_init() to fix ibmvtpm building
        tpm: Drop explicit initialization of struct i2c_device_id::driver_data to 0
        selftests: tpm2: test_smoke: Run only when TPM2 is avaialable.
        MAINTAINERS: Add selftest files to TPM section
        tpm: Clean up TPM space after command failure
      d5e65d1f
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.12-1' of https://github.com/cminyard/linux-ipmi · 18aa0ddd
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "Some minor fixes and cleanups for IPMI. Nothing big.
      
        Handle a bogus BMC a little better, fix autoload on some systems,
        remove some deprecated interfaces from the docs"
      
      * tag 'for-linus-6.12-1' of https://github.com/cminyard/linux-ipmi:
        ipmi: docs: don't advertise deprecated sysfs entries
        ipmi:ssif: Improve detecting during probing
        ipmi: ipmi_ssif: fix module autoloading
      18aa0ddd
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.12-1' of... · 84bbfe6b
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform drivers updates from Hans de Goede:
      
       - asus-wmi: Add support for vivobook fan profiles
      
       - dell-laptop: Add knobs to change battery charge settings
      
       - lg-laptop: Add operation region support
      
       - intel-uncore-freq: Add support for efficiency latency control
      
       - intel/ifs: Add SBAF test support
      
       - intel/pmc: Ignore all LTRs during suspend
      
       - platform/surface: Support for arm64 based Surface devices
      
       - wmi: Pass event data directly to legacy notify handlers
      
       - x86/platform/geode: switch GPIO buttons and LEDs to software
         properties
      
       - bunch of small cleanups, fixes, hw-id additions, etc.
      
      * tag 'platform-drivers-x86-v6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (65 commits)
        MAINTAINERS: adjust file entry in INTEL MID PLATFORM
        platform/x86: x86-android-tablets: Adjust Xiaomi Pad 2 bottom bezel touch buttons LED
        platform/mellanox: mlxbf-pmc: fix lockdep warning
        platform/x86/amd: pmf: Add quirk for TUF Gaming A14
        platform/x86: touchscreen_dmi: add nanote-next quirk
        platform/x86: asus-wmi: don't fail if platform_profile already registered
        platform/x86: asus-wmi: add debug print in more key places
        platform/x86: intel_scu_wdt: Move intel_scu_wdt.h to x86 subfolder
        platform/x86: intel_scu_ipc: Move intel_scu_ipc.h out of arch/x86/include/asm
        MAINTAINERS: Add Intel MID section
        platform/x86: panasonic-laptop: Add support for programmable buttons
        platform/olpc: Remove redundant null pointer checks in olpc_ec_setup_debugfs()
        platform/x86: intel/pmc: Ignore all LTRs during suspend
        platform/x86: wmi: Call both legacy and WMI driver notify handlers
        platform/x86: wmi: Merge get_event_data() with wmi_get_notify_data()
        platform/x86: wmi: Remove wmi_get_event_data()
        platform/x86: wmi: Pass event data directly to legacy notify handlers
        platform/x86: thinkpad_acpi: Fix uninitialized symbol 's' warning
        platform/x86: x86-android-tablets: Fix spelling in the comments
        platform/x86: ideapad-laptop: Make the scope_guard() clear of its scope
        ...
      84bbfe6b
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 2a17bb8c
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
       "DT Bindings:
      
         - Drop duplicate devices in trivial-devices.yaml
      
         - Add a common serial peripheral device schema and reference it in
           serial device schemas.
      
         - Convert nxp,lpc1850-wdt, zii,rave-wdt, ti,davinci-wdt,
           snps,archs-pct, fsl,bcsr, fsl,fpga-qixis-i2c, fsl,fpga-qixis,
           fsl,cpm-enet, fsl,cpm-mdio, fsl,ucc-hdlc, maxim,ds26522,
           aspeed,ast2400-cvic, aspeed,ast2400-vic, fsl,ftm-timer,
           ti,davinci-timer, fsl,rcpm, and qcom,ebi2 to DT schema
      
         - Add support for rockchip,rk3576-wdt, qcom,apss-wdt-sa8255p,
           fsl,imx8qm-irqsteer, qcom,pm6150-vib, qcom,sa8255p-pdc,
           isil,isl69260, ti,tps546d24, and lpc32xx DMA mux
      
         - Drop duplicate nvidia,tegra186-ccplex-cluster.yaml and
           mediatek,mt6795-sys-clock.yaml
      
         - Add arm,gic ESPI and EPPI interrupt type specifiers
      
         - Add another batch of legacy compatible strings which we have no
           intention of documenting
      
         - Add dmas/dma-names properties to FSL lcdif
      
         - Fix wakeup-source reference to m8921-keypad.yaml
      
         - Treewide fixes of typos in bindings
      
        DT Core:
      
         - Update dtc/libfdt to upstream version v1.7.0-95-gbcd02b523429
      
         - More conversions to scoped iterators and __free() initializer
      
         - Handle overflows in address resources on 32-bit systems
      
         - Extend extracting compatible strings in sources from function
           parameters
      
         - Use of_property_present() in DT unittest
      
         - Clean-up of_irq_to_resource() to use helpers
      
         - Support #msi-cells=<0> in of_msi_get_domain()
      
         - Improve the kerneldoc for of_property_match_string()
      
         - kselftest: Ignore nodes that have ancestors disabled"
      
      * tag 'devicetree-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (59 commits)
        dt-bindings: watchdog: Add rockchip,rk3576-wdt compatible
        dt-bindings: cpu: Drop duplicate nvidia,tegra186-ccplex-cluster.yaml
        dt-bindings: clock: mediatek: Drop duplicate mediatek,mt6795-sys-clock.yaml
        of/irq: Use helper to define resources
        of/irq: Make use of irq_get_trigger_type()
        dt-bindings: clk: vc5: Make SD/OE pin configuration properties not required
        drivers/of: Improve documentation for match_string
        of: property: Do some clean up with use of __free()
        dt-bindings: watchdog: qcom-wdt: document support on SA8255p
        dt-bindings: interrupt-controller: fsl,irqsteer: Document fsl,imx8qm-irqsteer
        dt-bindings: interrupt-controller: arm,gic: add ESPI and EPPI specifiers
        dt-bindings: dma: Add lpc32xx DMA mux binding
        dt-bindings: trivial-devices: Drop duplicate "maxim,max1237"
        dt-bindings: trivial-devices: Drop duplicate LM75 compatible devices
        dt-bindings: trivial-devices: Deprecate "ad,ad7414"
        dt-bindings: trivial-devices: Drop incorrect and duplicate at24 compatibles
        dt-bindings: wakeup-source: update reference to m8921-keypad.yaml
        dt-bindings: interrupt-controller: qcom-pdc: document support for SA8255p
        dt-bindings: Fix various typos
        of: address: Unify resource bounds overflow checking
        ...
      2a17bb8c
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 19a519ca
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - fix a boot problem as a Xen dom0 on some AMD systems
      
       - fix Xen PVH boot problems with KASAN enabled
      
       - fix for a build warning
      
       - fixes to swiotlb-xen
      
      * tag 'for-linus-6.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/swiotlb: fix allocated size
        xen/swiotlb: add alignment check for dma buffers
        xen/pci: Avoid -Wflex-array-member-not-at-end warning
        xen/xenbus: Convert to use ERR_CAST()
        xen, pvh: fix unbootable VMs by inlining memset() in xen_prepare_pvh()
        x86/cpu: fix unbootable VMs by inlining memcmp() in hypervisor_cpuid_base()
        xen, pvh: fix unbootable VMs (PVH + KASAN - AMD_MEM_ENCRYPT)
        xen: tolerate ACPI NVS memory overlapping with Xen allocated memory
        xen: allow mapping ACPI data using a different physical address
        xen: add capability to remap non-RAM pages to different PFNs
        xen: move max_pfn in xen_memory_setup() out of function scope
        xen: move checks for e820 conflicts further up
        xen: introduce generic helper checking for memory map conflicts
        xen: use correct end address of kernel for conflict checking
      19a519ca
    • Linus Torvalds's avatar
      Merge tag 'hyperv-next-signed-20240916' of... · 1d7bb2bf
      Linus Torvalds authored
      Merge tag 'hyperv-next-signed-20240916' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
      
      Pull Hyper-V updates from Wei Liu:
      
       - Optimize boot time by concurrent execution of hv_synic_init()
         (Saurabh Sengar)
      
       - Use helpers to read control registers in hv_snp_boot_ap() (Yosry
         Ahmed)
      
       - Add memory allocation check in hv_fcopy_start (Zhu Jun)
      
      * tag 'hyperv-next-signed-20240916' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
        tools/hv: Add memory allocation check in hv_fcopy_start
        x86/hyperv: use helpers to read control registers in hv_snp_boot_ap()
        Drivers: hv: vmbus: Optimize boot time by concurrent execution of hv_synic_init()
      1d7bb2bf
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 3a7101e9
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
      
       - Reduce alignment constraints on STRICT_KERNEL_RWX and speed-up TLB
         misses on 8xx and 603
      
       - Replace kretprobe code with rethook and enable fprobe
      
       - Remove the "fast endian switch" syscall
      
       - Handle DLPAR device tree updates in kernel, allowing the deprecation
         of the binary /proc/powerpc/ofdt interface
      
      Thanks to Abhishek Dubey, Alex Shi, Benjamin Gray, Christophe Leroy,
      Gaosheng Cui, Gautam Menghani, Geert Uytterhoeven, Haren Myneni, Hari
      Bathini, Huang Xiaojia, Jinjie Ruan, Madhavan Srinivasan, Miguel Ojeda,
      Mina Almasry, Narayana Murty N, Naveen Rao, Rob Herring (Arm), Scott
      Cheloha, Segher Boessenkool, Stephen Rothwell, Thomas Zimmermann, Uwe
      Kleine-König, Vaibhav Jain, and Zhang Zekun.
      
      * tag 'powerpc-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (59 commits)
        powerpc/atomic: Use YZ constraints for DS-form instructions
        MAINTAINERS: powerpc: Add Maddy
        powerpc: Switch back to struct platform_driver::remove()
        powerpc/pseries/eeh: Fix pseries_eeh_err_inject
        selftests/powerpc: Allow building without static libc
        macintosh/via-pmu: register_pmu_pm_ops() can be __init
        powerpc: Stop using no_llseek
        powerpc/64s: Remove the "fast endian switch" syscall
        powerpc/mm/64s: Restrict THP to Radix or HPT w/64K pages
        powerpc/mm/64s: Move THP reqs into a separate symbol
        powerpc/64s: Make mmu_hash_ops __ro_after_init
        powerpc: Replace kretprobe code with rethook on powerpc
        powerpc: pseries: Constify struct kobj_type
        powerpc: powernv: Constify struct kobj_type
        powerpc: Constify struct kobj_type
        powerpc/pseries/dlpar: Add device tree nodes for DLPAR IO add
        powerpc/pseries/dlpar: Remove device tree node for DLPAR IO remove
        powerpc/pseries: Use correct data types from pseries_hp_errorlog struct
        powerpc/vdso: Inconditionally use CFUNC macro
        powerpc/32: Implement validation of emergency stack
        ...
      3a7101e9
    • Linus Torvalds's avatar
      Merge tag 'parisc-for-6.12-rc1' of... · 54450af6
      Linus Torvalds authored
      Merge tag 'parisc-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
      
      Pull parisc architecture updates from Helge Deller:
      
       - On parisc we now use the generic clockevent framework for timekeeping
      
       - Although there is no 64-bit glibc/userspace for parisc yet, for
         testing purposes one can run statically linked 64-bit binaries. This
         patchset contains two patches which fix 64-bit userspace which has
         been broken since kernel 4.19
      
       - Fix the userspace stack position and size when the ADDR_NO_RANDOMIZE
         personality is enabled
      
       - On other architectures mmap(MAP_GROWSDOWN | MAP_STACK) creates a
         downward-growing stack. On parisc mmap(MAP_STACK) is now sufficient
         to create an upward-growing stack
      
      * tag 'parisc-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Allow mmap(MAP_STACK) memory to automatically expand upwards
        parisc: Use PRIV_USER instead of hardcoded value
        parisc: Fix itlb miss handler for 64-bit programs
        parisc: Fix 64-bit userspace syscall path
        parisc: Fix stack start for ADDR_NO_RANDOMIZE personality
        parisc: Convert to generic clockevents
        parisc: pdc_stable: Constify struct kobj_type
      54450af6
    • Linus Torvalds's avatar
      Merge tag 'dlm-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · 932d2d1f
      Linus Torvalds authored
      Pull dlm updates from David Teigland:
      
       - Remove some unnecesary hold/unhold rsb refcounting in cases where an
         existing refcount is known to exist
      
       - Remove some unnecessary checking for zero nodeids, which should never
         exist, and add some warning if they do
      
       - Make the slow freeing of structs in release_lockspace() async, run
         from a workqueue
      
       - Prior rcu freeing allows some further struct lookups to run without a
         lock
      
       - Use blocking kernel_connect on sockets to avoid EINPROGRESS
      
      * tag 'dlm-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        dlm: add missing -ENOMEM if alloc_workqueue() fails
        dlm: do synchronized socket connect call
        dlm: move lkb xarray lookup out of lock
        dlm: move dlm_search_rsb_tree() out of lock
        dlm: use RSB_HASHED to avoid lookup twice
        dlm: async freeing of lockspace resources
        dlm: drop kobject release callback handling
        dlm: warn about invalid nodeid comparsions
        dlm: never return invalid nodeid by dlm_our_nodeid()
        dlm: remove unnecessary refcounts
        dlm: cleanup memory allocation helpers
      932d2d1f
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.12-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 8751b21a
      Linus Torvalds authored
      Pull xfs updates from Chandan Babu:
       "New code:
      
         - Introduce new ioctls to exchange contents of two files.
      
           The first ioctl does the preparation work to exchange the contents
           of two files while the second ioctl performs the actual exchange if
           the target file has not been changed since a given sampling point.
      
        Fixes:
      
         - Fix bugs associated with calculating the maximum range of realtime
           extents to scan for free space.
      
         - Copy keys instead of records when resizing the incore BMBT root
           block.
      
         - Do not report FITRIMming more bytes than possibly exist in the
           filesystem.
      
         - Modify xfs_fs.h to prevent C++ compilation errors.
      
         - Do not over eagerly free post-EOF speculative preallocation.
      
         - Ensure st_blocks never goes to zero during COW writes
      
        Cleanups/refactors:
      
         - Use Xarray to hold per-AG data instead of a Radix tree.
      
         - Cleanups to:
            - realtime bitmap
            - inode allocator
            - quota
            - inode rooted btree code"
      
      * tag 'xfs-6.12-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (61 commits)
        xfs: ensure st_blocks never goes to zero during COW writes
        xfs: use xas_for_each_marked in xfs_reclaim_inodes_count
        xfs: convert perag lookup to xarray
        xfs: simplify tagged perag iteration
        xfs: move the tagged perag lookup helpers to xfs_icache.c
        xfs: use kfree_rcu_mightsleep to free the perag structures
        xfs: use LIST_HEAD() to simplify code
        xfs: Remove duplicate xfs_trans_priv.h header
        xfs: remove unnecessary check
        xfs: Use xfs set and clear mp state helpers
        xfs: reclaim speculative preallocations for append only files
        xfs: simplify extent lookup in xfs_can_free_eofblocks
        xfs: check XFS_EOFBLOCKS_RELEASED earlier in xfs_release_eofblocks
        xfs: only free posteof blocks on first close
        xfs: don't free post-EOF blocks on read close
        xfs: skip all of xfs_file_release when shut down
        xfs: don't bother returning errors from xfs_file_release
        xfs: refactor f_op->release handling
        xfs: remove the i_mode check in xfs_release
        xfs: standardize the btree maxrecs function parameters
        ...
      8751b21a
    • Linus Torvalds's avatar
      Merge tag 'v6.12-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6 · 4e0373f1
      Linus Torvalds authored
      Pull smb client updates from Steve French:
      
       - cleanups (moving duplicated code, removing unused code etc)
      
       - fixes relating to "sfu" mount options (for better handling special
         file types)
      
       - SMB3.1.1 compression fixes/improvements
      
      * tag 'v6.12-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cifs-2.6: (24 commits)
        smb: client: fix compression heuristic functions
        cifs: Update SFU comments about fifos and sockets
        cifs: Add support for creating SFU symlinks
        smb: use LIST_HEAD() to simplify code
        cifs: Recognize SFU socket type
        cifs: Show debug message when SFU Fifo type was detected
        cifs: Put explicit zero byte into SFU block/char types
        cifs: Add support for reading SFU symlink location
        cifs: Fix recognizing SFU symlinks
        smb: client: compress: fix an "illegal accesses" issue
        smb: client: compress: fix a potential issue of freeing an invalid pointer
        smb: client: compress: LZ77 code improvements cleanup
        smb: client: insert compression check/call on write requests
        smb3: mark compression as CONFIG_EXPERIMENTAL and fix missing compression operation
        cifs: Remove obsoleted declaration for cifs_dir_open
        smb: client: Use min() macro
        cifs: convert to use ERR_CAST()
        smb: add comment to STATUS_MCA_OCCURED
        smb: move SMB2 Status code to common header file
        smb: move some duplicate definitions to common/smbacl.h
        ...
      4e0373f1
    • Linus Torvalds's avatar
      Merge tag '6.12-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd · 39898f09
      Linus Torvalds authored
      Pull smb server updates from Steve French:
       "Four ksmbd server fixes, three for stable:
      
         - Fix an issue where the directory can't be deleted if the share is
           on a file system that does not provide dot and dotdot entries
      
         - Fix file creation failure if the parent name of pathname is case
           sensitive
      
         - Fix write failure with FILE_APPEND_DATA flags
      
         - Add reference count to connection struct to protect UAF of oplocks
           on multichannel"
      
      * tag '6.12-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd:
        ksmbd: handle caseless file creation
        ksmbd: make __dir_empty() compatible with POSIX
        ksmbd: add refcnt to ksmbd_conn struct
        ksmbd: allow write with FILE_APPEND_DATA
      39898f09
    • Linus Torvalds's avatar
      Merge tag 'jfs-6.12' of github.com:kleikamp/linux-shaggy · cc380444
      Linus Torvalds authored
      Pull jfs updates from David Kleikamp:
       "A few fixes for jfs"
      
      * tag 'jfs-6.12' of github.com:kleikamp/linux-shaggy:
        jfs: Fix uninit-value access of new_ea in ea_buffer
        jfs: check if leafidx greater than num leaves per dmap tree
        jfs: Fix uaf in dbFreeBits
        jfs: fix out-of-bounds in dbNextAG() and diAlloc()
        jfs: UBSAN: shift-out-of-bounds in dbFindBits
      cc380444
    • Linus Torvalds's avatar
      Merge tag 'ovl-update-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs · 45d986d1
      Linus Torvalds authored
      Pull overlayfs updates from Amir Goldstein:
      
       - Increase robustness of overlayfs to crashes in the case of underlying
         filesystems that to not guarantee metadata ordering to persistent
         storage (problem was reported with ubifs).
      
       - Deny mount inside container with features that require root
         privileges to work properly, instead of failing operations later.
      
       - Some clarifications to overlayfs documentation.
      
      * tag 'ovl-update-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
        ovl: fail if trusted xattrs are needed but caller lacks permission
        overlayfs.rst: update metacopy section in overlayfs documentation
        ovl: fsync after metadata copy-up
        ovl: don't set the superblock's errseq_t manually
      45d986d1
  7. 18 Sep, 2024 17 commits
    • Detlev Casanova's avatar
    • Linus Torvalds's avatar
      Merge tag 'random-6.12-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random · 4a39ac5b
      Linus Torvalds authored
      Pull random number generator updates from Jason Donenfeld:
       "Originally I'd planned on sending each of the vDSO getrandom()
        architecture ports to their respective arch trees. But as we started
        to work on this, we found lots of interesting issues in the shared
        code and infrastructure, the fixes for which the various archs needed
        to base their work.
      
        So in the end, this turned into a nice collaborative effort fixing up
        issues and porting to 5 new architectures -- arm64, powerpc64,
        powerpc32, s390x, and loongarch64 -- with everybody pitching in and
        commenting on each other's code. It was a fun development cycle.
      
        This contains:
      
         - Numerous fixups to the vDSO selftest infrastructure, getting it
           running successfully on more platforms, and fixing bugs in it.
      
         - Additions to the vDSO getrandom & chacha selftests. Basically every
           time manual review unearthed a bug in a revision of an arch patch,
           or an ambiguity, the tests were augmented.
      
           By the time the last arch was submitted for review, s390x, v1 of
           the series was essentially fine right out of the gate.
      
         - Fixes to the the generic C implementation of vDSO getrandom, to
           build and run successfully on all archs, decoupling it from
           assumptions we had (unintentionally) made on x86_64 that didn't
           carry through to the other architectures.
      
         - Port of vDSO getrandom to LoongArch64, from Xi Ruoyao and acked by
           Huacai Chen.
      
         - Port of vDSO getrandom to ARM64, from Adhemerval Zanella and acked
           by Will Deacon.
      
         - Port of vDSO getrandom to PowerPC, in both 32-bit and 64-bit
           varieties, from Christophe Leroy and acked by Michael Ellerman.
      
         - Port of vDSO getrandom to S390X from Heiko Carstens, the arch
           maintainer.
      
        While it'd be natural for there to be things to fix up over the course
        of the development cycle, these patches got a decent amount of review
        from a fairly diverse crew of folks on the mailing lists, and, for the
        most part, they've been cooking in linux-next, which has been helpful
        for ironing out build issues.
      
        In terms of architectures, I think that mostly takes care of the
        important 64-bit archs with hardware still being produced and running
        production loads in settings where vDSO getrandom is likely to help.
      
        Arguably there's still RISC-V left, and we'll see for 6.13 whether
        they find it useful and submit a port"
      
      * tag 'random-6.12-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random: (47 commits)
        selftests: vDSO: check cpu caps before running chacha test
        s390/vdso: Wire up getrandom() vdso implementation
        s390/vdso: Move vdso symbol handling to separate header file
        s390/vdso: Allow alternatives in vdso code
        s390/module: Provide find_section() helper
        s390/facility: Let test_facility() generate static branch if possible
        s390/alternatives: Remove ALT_FACILITY_EARLY
        s390/facility: Disable compile time optimization for decompressor code
        selftests: vDSO: fix vdso_config for s390
        selftests: vDSO: fix ELF hash table entry size for s390x
        powerpc/vdso: Wire up getrandom() vDSO implementation on VDSO64
        powerpc/vdso: Wire up getrandom() vDSO implementation on VDSO32
        powerpc/vdso: Refactor CFLAGS for CVDSO build
        powerpc/vdso32: Add crtsavres
        mm: Define VM_DROPPABLE for powerpc/32
        powerpc/vdso: Fix VDSO data access when running in a non-root time namespace
        selftests: vDSO: don't include generated headers for chacha test
        arm64: vDSO: Wire up getrandom() vDSO implementation
        arm64: alternative: make alternative_has_cap_likely() VDSO compatible
        selftests: vDSO: also test counter in vdso_test_chacha
        ...
      4a39ac5b
    • Linus Torvalds's avatar
      Merge tag 'livepatching-for-6.12' of... · c8d8a35d
      Linus Torvalds authored
      Merge tag 'livepatching-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
      
      Pull livepatching update from Petr Mladek:
      
       - Small documentation improvement
      
      * tag 'livepatching-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
        Documentation: livepatch: Correct release locks antonym
      c8d8a35d
    • Linus Torvalds's avatar
      Merge tag 'perf-core-2024-09-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9f0c253d
      Linus Torvalds authored
      Pull perf events updates from Ingo Molnar:
      
       - Implement per-PMU context rescheduling to significantly improve
         single-PMU performance, and related cleanups/fixes (Peter Zijlstra
         and Namhyung Kim)
      
       - Fix ancient bug resulting in a lot of events being dropped
         erroneously at higher sampling frequencies (Luo Gengkun)
      
       - uprobes enhancements:
      
           - Implement RCU-protected hot path optimizations for better
             performance:
      
               "For baseline vs SRCU, peak througput increased from 3.7 M/s
                (million uprobe triggerings per second) up to about 8 M/s. For
                uretprobes it's a bit more modest with bump from 2.4 M/s to
                5 M/s.
      
                For SRCU vs RCU Tasks Trace, peak throughput for uprobes
                increases further from 8 M/s to 10.3 M/s (+28%!), and for
                uretprobes from 5.3 M/s to 5.8 M/s (+11%), as we have more
                work to do on uretprobes side.
      
                Even single-thread (no contention) performance is slightly
                better: 3.276 M/s to 3.396 M/s (+3.5%) for uprobes, and 2.055
                M/s to 2.174 M/s (+5.8%) for uretprobes."
      
                (Andrii Nakryiko et al)
      
           - Document mmap_lock, don't abuse get_user_pages_remote() (Oleg
             Nesterov)
      
           - Cleanups & fixes to prepare for future work:
              - Remove uprobe_register_refctr()
      	- Simplify error handling for alloc_uprobe()
              - Make uprobe_register() return struct uprobe *
              - Fold __uprobe_unregister() into uprobe_unregister()
              - Shift put_uprobe() from delete_uprobe() to uprobe_unregister()
              - BPF: Fix use-after-free in bpf_uprobe_multi_link_attach()
                (Oleg Nesterov)
      
       - New feature & ABI extension: allow events to use PERF_SAMPLE READ
         with inheritance, enabling sample based profiling of a group of
         counters over a hierarchy of processes or threads (Ben Gainey)
      
       - Intel uncore & power events updates:
      
            - Add Arrow Lake and Lunar Lake support
            - Add PERF_EV_CAP_READ_SCOPE
            - Clean up and enhance cpumask and hotplug support
              (Kan Liang)
      
            - Add LNL uncore iMC freerunning support
            - Use D0:F0 as a default device
              (Zhenyu Wang)
      
       - Intel PT: fix AUX snapshot handling race (Adrian Hunter)
      
       - Misc fixes and cleanups (James Clark, Jiri Olsa, Oleg Nesterov and
         Peter Zijlstra)
      
      * tag 'perf-core-2024-09-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (40 commits)
        dmaengine: idxd: Clean up cpumask and hotplug for perfmon
        iommu/vt-d: Clean up cpumask and hotplug for perfmon
        perf/x86/intel/cstate: Clean up cpumask and hotplug
        perf: Add PERF_EV_CAP_READ_SCOPE
        perf: Generic hotplug support for a PMU with a scope
        uprobes: perform lockless SRCU-protected uprobes_tree lookup
        rbtree: provide rb_find_rcu() / rb_find_add_rcu()
        perf/uprobe: split uprobe_unregister()
        uprobes: travers uprobe's consumer list locklessly under SRCU protection
        uprobes: get rid of enum uprobe_filter_ctx in uprobe filter callbacks
        uprobes: protected uprobe lifetime with SRCU
        uprobes: revamp uprobe refcounting and lifetime management
        bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
        perf/core: Fix small negative period being ignored
        perf: Really fix event_function_call() locking
        perf: Optimize __pmu_ctx_sched_out()
        perf: Add context time freeze
        perf: Fix event_function_call() locking
        perf: Extract a few helpers
        perf: Optimize context reschedule for single PMU cases
        ...
      9f0c253d
    • Linus Torvalds's avatar
      Merge tag 'perf-urgent-2024-09-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 941c122d
      Linus Torvalds authored
      Pull perf event fixes from Ingo Molnar:
       "Left over from the v6.11 cycle:
      
         - Fix energy-pkg event enumeration on certain AMD CPUs
      
         - Set up the LBR branch stack for BPF counting events too"
      
      * tag 'perf-urgent-2024-09-18' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/intel: Allow to setup LBR for counting event for BPF
        perf/x86/rapl: Fix the energy-pkg event for AMD CPUs
      941c122d
    • Linus Torvalds's avatar
      Merge tag 'chrome-platform-for-6.12' of... · 9f397579
      Linus Torvalds authored
      Merge tag 'chrome-platform-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform updates from Tzung-Bi Shih:
      
       - Adjust DMI match table for Framework Laptop for improving
         maintainabilities for both legacy and new models
      
       - Add .remove driver callback for cros_ec_typec in order to allow the
         driver to be rebound
      
       - Use kmemdup_array() for taking care possible overflows
      
      * tag 'chrome-platform-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: chromeos_laptop: Use kmemdup_array
        platform/chrome: cros_ec_typec: add remove driver hook
        platform/chrome: cros_ec_lpc: switch primary DMI data for Framework Laptop
      9f397579
    • Linus Torvalds's avatar
      Merge tag 'fbdev-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev · f4960b00
      Linus Torvalds authored
      Pull fbdev updates from Helge Deller:
       - video: Reduce code when CONFIG_HAS_IOPORT=n
       - xenfb: Fix crash by assigning fb_info->device
       - pxafb: Fix possible use after free in pxafb_task()
       - efifb: Introduce and use new devm_register_framebuffer() function
       - mmpfb: Utilize devm_clk_get_enabled() helpers
       - various typo fixes and code cleanups
      
      * tag 'fbdev-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
        fbdev: omapfb: Fix typo in comment
        fbdev: pxafb: Fix possible use after free in pxafb_task()
        fbdev: xen-fbfront: Assign fb_info->device
        fbdev: hyperv_fb: Convert comma to semicolon
        fbdev: imsttfb: convert comma to semicolon
        fbdev: pxa3xx-gcu: Convert comma to semicolon
        fbdev: efifb: Use driver-private screen_info for sysfs
        fbdev: efifb: Use devm_register_framebuffer()
        fbdev: efifb: Register sysfs groups through driver core
        fbdev: Introduce devm_register_framebuffer()
        fbdev: omapfb: Use sysfs_emit_at() to simplify code
        fbdev: omapfb: panel-sony-acx565akm: Simplify show_cabc_available_modes()
        fbdev: mmp: Use devm_clk_get_enabled() helpers
        fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()
        video: Handle HAS_IOPORT dependencies
      f4960b00
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux · eec91e22
      Linus Torvalds authored
      Pull iommu updates from Joerg Roedel:
       "Core changes:
         - Allow ATS on VF when parent device is identity mapped
         - Optimize unmap path on ARM io-pagetable implementation
         - Use of_property_present()
      
        ARM-SMMU changes:
         - SMMUv2:
             - Devicetree binding updates for Qualcomm MMU-500 implementations
             - Extend workarounds for broken Qualcomm hypervisor to avoid
               touching features that are not available (e.g. 16KiB page
               support, reserved context banks)
         - SMMUv3:
             - Support for NVIDIA's custom virtual command queue hardware
             - Fix Stage-2 stall configuration and extend tests to cover this
               area
             - A bunch of driver cleanups, including simplification of the
               master rbtree code
         - Minor cleanups and fixes across both drivers
      
        Intel VT-d changes:
         - Retire si_domain and convert to use static identity domain
         - Batched IOTLB/dev-IOTLB invalidation
         - Small code refactoring and cleanups
      
        AMD-Vi changes:
         - Cleanup and refactoring of io-pagetable code
         - Add parameter to limit the used io-pagesizes
         - Other cleanups and fixes"
      
      * tag 'iommu-updates-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux: (77 commits)
        dt-bindings: arm-smmu: Add compatible for QCS8300 SoC
        iommu/amd: Test for PAGING domains before freeing a domain
        iommu/amd: Fix argument order in amd_iommu_dev_flush_pasid_all()
        iommu/amd: Add kernel parameters to limit V1 page-sizes
        iommu/arm-smmu-v3: Reorganize struct arm_smmu_ctx_desc_cfg
        iommu/arm-smmu-v3: Add types for each level of the CD table
        iommu/arm-smmu-v3: Shrink the cdtab l1_desc array
        iommu/arm-smmu-v3: Do not use devm for the cd table allocations
        iommu/arm-smmu-v3: Remove strtab_base/cfg
        iommu/arm-smmu-v3: Reorganize struct arm_smmu_strtab_cfg
        iommu/arm-smmu-v3: Add types for each level of the 2 level stream table
        iommu/arm-smmu-v3: Add arm_smmu_strtab_l1/2_idx()
        iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660
        iommu/arm-smmu-v3: Use the new rb tree helpers
        dt-bindings: arm-smmu: document the support on SA8255p
        iommu/tegra241-cmdqv: Do not allocate vcmdq until dma_set_mask_and_coherent
        iommu/tegra241-cmdqv: Drop static at local variable
        iommu/tegra241-cmdqv: Fix ioremap() error handling in probe()
        iommu/amd: Do not set the D bit on AMD v2 table entries
        iommu/amd: Correct the reported page sizes from the V1 table
        ...
      eec91e22
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · c27ea952
      Linus Torvalds authored
      Pull hwmon updates from Guenter Roeck:
       "New drivers:
         - driver for Sophgo SG2042 external hardware monitor
         - thermal sensor driver for Surface Aggregator Module
      
        Added support to existing drivers:
         - oxp-sensors: Support for multiple new devices.
         - nct6775: Added G15CF to ASUS WMI monitoring list
      
        Modernizations:
         - driver cleanup and update to use with_info API: ina2xx, lm92,
           lm95234, max1619, max1668, and max6697.
      
        API updates:
         - removed unused devm_hwmon_device_unregister() API function
      
        Other notable changes
         - implement and use generic bus access delay for pmbus drivers
         - use with scoped for each OF child loop in several drivers
         - module unloading fixes for gsc-hwmon and ntc_thermistor drivers
         - converted various drivers to use multi-byte regmap operations
         - adt7475: Improved devicetree based configuration
         - ltc2947: Move to firmware agnostic API
         - ltc2978: Converted devicetree description to yaml
         - max16065: Addressed overflows when writing limit attributes
      
        Various other minor cleanups, fixes and improvements"
      
      * tag 'hwmon-for-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (96 commits)
        hwmon: Remove devm_hwmon_device_unregister() API function
        hwmon: (sch5636) Print unknown ID in error string via %*pE
        hwmon: (sht21) Use %*ph to print small buffer
        hwmon: (pmbus/mpq7932) Constify struct regulator_desc
        hwmon: pmbus: pli12096bc: Add write delay
        hwmon: pmbus: zl6100: Use generic code
        hwmon: pmbus: ucd9000: Use generic code
        hwmon: pmbus: max15301: Use generic code
        hwmon: pmbus: Implement generic bus access delay
        hwmon: (ina2xx) Use shunt voltage to calculate current
        hwmon: (ina2xx) Add support for current limits
        hwmon: (ina2xx) Pass register to alert limit write functions
        hwmon: (ina2xx) Convert to use with_info hwmon API
        hwmon: (ina2xx) Move ina2xx_get_value()
        hwmon: (ina2xx) Set alert latch
        hwmon: (ina2xx) Consolidate chip initialization code
        hwmon: (ina2xx) Fix various overflow issues
        hwmon: (ina2xx) Re-initialize chip using regmap functions
        hwmon: (ina2xx) Use local regmap pointer if used more than once
        hwmon: (ina2xx) Mark regmap_config as const
        ...
      c27ea952
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 39b3f4e0
      Linus Torvalds authored
      Pull hardening updates from Kees Cook:
      
       - lib/string_choices:
          - Add str_up_down() helper (Michal Wajdeczko)
          - Add str_true_false()/str_false_true() helper  (Hongbo Li)
          - Introduce several opposite string choice helpers  (Hongbo Li)
      
       - lib/string_helpers:
          - rework overflow-dependent code (Justin Stitt)
      
       - fortify: refactor test_fortify Makefile to fix some build problems
         (Masahiro Yamada)
      
       - string: Check for "nonstring" attribute on strscpy() arguments
      
       - virt: vbox: Replace 1-element arrays with flexible arrays
      
       - media: venus: hfi_cmds: Replace 1-element arrays with flexible arrays
      
      * tag 'hardening-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        lib/string_choices: Add some comments to make more clear for string choices helpers.
        lib/string_choices: Introduce several opposite string choice helpers
        lib/string_choices: Add str_true_false()/str_false_true() helper
        string: Check for "nonstring" attribute on strscpy() arguments
        media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add __counted_by annotation
        media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-element array with flexible array
        virt: vbox: struct vmmdev_hgcm_pagelist: Replace 1-element array with flexible array
        lib/string_helpers: rework overflow-dependent code
        coccinelle: Add rules to find str_down_up() replacements
        string_choices: Add wrapper for str_down_up()
        coccinelle: Add rules to find str_up_down() replacements
        lib/string_choices: Add str_up_down() helper
        fortify: use if_changed_dep to record header dependency in *.cmd files
        fortify: move test_fortify.sh to lib/test_fortify/
        fortify: refactor test_fortify Makefile to fix some build problems
      39b3f4e0
    • Linus Torvalds's avatar
      Merge tag 'execve-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 667495de
      Linus Torvalds authored
      Pull execve updates from Kees Cook:
      
       - binfmt_elf: Dump smaller VMAs first in ELF cores (Brian Mak)
      
       - binfmt_elf: mseal address zero (Jeff Xu)
      
       - binfmt_elf, coredump: Log the reason of the failed core dumps (Roman
         Kisel)
      
      * tag 'execve-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        binfmt_elf: mseal address zero
        binfmt_elf: Dump smaller VMAs first in ELF cores
        binfmt_elf, coredump: Log the reason of the failed core dumps
        coredump: Standartize and fix logging
      667495de
    • Linus Torvalds's avatar
      Merge tag 'pstore-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 7c9026b2
      Linus Torvalds authored
      Pull pstore updates from Kees Cook:
      
       - ramoops: Fix .rst typo (Steven Rostedt)
      
       - pstore: replace spinlock_t by raw_spinlock_t (Wen Yang)
      
      * tag 'pstore-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        pstore: replace spinlock_t by raw_spinlock_t
        pstore/ramoops: Fix typo as there is no "reserver"
      7c9026b2
    • Linus Torvalds's avatar
      Merge tag 'pmdomain-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · 200289db
      Linus Torvalds authored
      Pull pmdomain updates from Ulf Hansson:
       "pmdomain core:
         - Add support for s2idle for CPU PM domains on PREEMPT_RT
         - Add device managed version of dev_pm_domain_attach|detach_list()
         - Improve layout of the debugfs summary table
      
        pmdomain providers:
         - amlogic: Remove obsolete vpu domain driver
         - bcm: raspberrypi: Add support for devices used as wakeup-sources
         - imx: Fixup clock handling for imx93 at driver remove
         - rockchip: Add gating support for RK3576
         - rockchip: Add support for RK3576 SoC
         - Some OF parsing simplifications
         - Some simplifications by using dev_err_probe() and guard()
      
        pmdomain consumers:
         - qcom/media/venus: Convert to the device managed APIs for PM domains
      
        cpuidle-psci:
         - Add support for s2idle/s2ram for the hierarchical topology on
           PREEMPT_RT
         - Some OF parsing simplifications"
      
      * tag 'pmdomain-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm: (39 commits)
        pmdomain: core: Reduce debug summary table width
        pmdomain: core: Move mode_status_str()
        pmdomain: core: Fix "managed by" alignment in debug summary
        pmdomain: core: Harden inter-column space in debug summary
        pmdomain: rockchip: Add gating masks for rk3576
        pmdomain: rockchip: Add gating support
        pmdomain: rockchip: Simplify dropping OF node reference
        pmdomain: mediatek: make use of dev_err_cast_probe()
        pmdomain: imx93-pd: drop the context variable "init_off"
        pmdomain: imx93-pd: don't unprepare clocks on driver remove
        pmdomain: imx93-pd: replace dev_err() with dev_err_probe()
        pmdomain: qcom: rpmpd: Simplify locking with guard()
        pmdomain: qcom: rpmhpd: Simplify locking with guard()
        pmdomain: qcom: cpr: Simplify locking with guard()
        pmdomain: qcom: cpr: Simplify with dev_err_probe()
        pmdomain: imx: gpcv2: Simplify with scoped for each OF child loop
        pmdomain: imx: gpc: Simplify with scoped for each OF child loop
        pmdomain: rockchip: SimplUlf Hanssonify locking with guard()
        pmdomain: rockchip: Simplify with scoped for each OF child loop
        pmdomain: qcom-cpr: Use scope based of_node_put() to simplify code.
        ...
      200289db
    • Linus Torvalds's avatar
      Merge tag 'pwrseq-updates-for-v6.12-rc1' of... · 2fe3c78a
      Linus Torvalds authored
      Merge tag 'pwrseq-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
      
      Pull power sequencing updates from Bartosz Golaszewski:
       "There's one change adding support for a new PMU model and another
        adding documentation for the subsystem which probably should have been
        part of the initial commit but better late than never:
      
         - add support for the new PMU variant inside the WCN6855 chipset
      
         - add documentation for the subsystem"
      
      * tag 'pwrseq-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        Documentation: add a driver API doc for the power sequencing subsystem
        power: sequencing: qcom-wcn: add support for the WCN6855 PMU
      2fe3c78a
    • Linus Torvalds's avatar
      Merge tag 'gpio-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 9b08f832
      Linus Torvalds authored
      Pull gpio updates from Bartosz Golaszewski:
       "Core GPIOLIB:
         - provide and add users for a macro allowing to iterate over accepted
           GPIO property names of consumer device nodes
         - remove legacy definitions that are no longer used
         - put legacy GPIO devres helpers together with the rest of the
           deprecated code
         - implement and use swnode_gpio_get_reference(): a wrapper
           simplifying the underlying calls to
           fwnode_property_get_reference_args()
         - use IS_ERR_OR_NULL() where it makes sense
         - replace of_find_property() with of_property_present()
         - simplify code with the scoped variant of OF-node children iterator
      
        Documentation:
         - update GPIO kerneldocs with Return sections
         - fix "Excess struct member description" warnings now being triggered
           with W=1
      
        New drivers:
         - add support for Analog Devices ADP5585
      
        Driver improvements:
         - add support for wake-on-GPIO to gpio-mpc8xxx
         - use GPIO_LOOKUP_IDX() in gpio-virtuser
         - use devm_clk_get_[optional_]enabled() where applicable in several
           drivers
         - replace OF-specific functions with provider-agnostic alternatives
           where possible
         - drop support for legacy platform data from gpio-ath79 and
           gpio-davinci
         - refactor gpio-stmpe
         - improve error reporting in gpio-pca953x
         - add support for reading the direction of pins for some models to
           gpio-vf610
      
        DT bindings:
         - convert the bindings for nxp,lpc3220 to YAML
         - add gpio-reserved-ranges to gpio-davinci
         - simplify the GPIO hog schema
         - fix a GPIO hog issue in bindings for fcs,fxl6408
      
        Other:
         - fix format specifiers in user-space tools
         - remove leftover files on make clean in tools/gpio/"
      
      * tag 'gpio-updates-for-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (54 commits)
        gpio: mpc8xxx: switch to using DEFINE_RUNTIME_DEV_PM_OPS()
        gpio: xilinx: Use helper function devm_clk_get_optional_enabled()
        gpio: mb86s7x: Use helper function devm_clk_get_optional_enabled()
        gpio: lpc18xx: Use helper function devm_clk_get_enabled()
        gpio: cadence: Use helper function devm_clk_get_enabled()
        gpio: sama5d2-piobu: convert comma to semicolon
        gpio: mpc8xxx: order headers alphabetically
        gpio: davinci: use devm_clk_get_enabled()
        gpio: davinci: drop platform data support
        gpio: stmpe: Sort headers
        gpio: stmpe: Make use of device properties
        gpio: stmpe: Utilise temporary variable for struct device
        gpio: stmpe: Remove unused 'dev' member of struct stmpe_gpio
        gpio: stmpe: Fix IRQ related error messages
        gpio: pch: kerneldoc fixes for excess members
        gpio: zynq: Simplify using devm_clk_get_enabled()
        gpio: mpc8xxx: Add wake on GPIO support
        gpio: syscon: fix excess struct member build warning
        gpio: stp-xway: Simplify using devm_clk_get_enabled()
        gpiolib: legacy: Consolidate devm_gpio_*() with other legacy APIs
        ...
      9b08f832
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux · cc52dc2f
      Linus Torvalds authored
      Pull pwm updates from Uwe Kleine-König:
       "This contains some cleanups to the core and some mostly minor updates
        to a bunch of drivers and device tree bindings. One thing worth
        pointing out is that it contains an immutable branch containing
        support for a new mfd chip (Analog Devices ADP5585) with several sub
        drivers.
      
        Thanks go to Andrew Kreimer, Clark Wang, Conor Dooley, David Lechner,
        Dmitry Rokosov, Frank Li, Geert Uytterhoeven, George Stark, Jiapeng
        Chong, Krzysztof Kozlowski, Laurent Pinchart, Liao Chen, Liu Ying, Rob
        Herring and Wolfram Sang for code contributions and reviews and to Lee
        Jones for preparing the above mentioned immutable branch"
      
      * tag 'pwm/for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: (21 commits)
        pwm: stm32: Fix a typo
        dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM
        dt-bindings: pwm: amlogic: Add optional power-domains
        pwm: Switch back to struct platform_driver::remove()
        dt-bindings: pwm: allwinner,sun4i-a10-pwm: add top-level constraints
        pwm: axi-pwmgen: use shared macro for version reg
        pwm: atmel-hlcdc: Drop trailing comma
        pwm: atmel-hlcdc: Enable module autoloading
        pwm: omap-dmtimer: Use of_property_read_bool()
        pwm: adp5585: Set OSC_EN bit to 1 when PWM state is enabled
        pwm: lp3943: Fix an incorrect type in lp3943_pwm_parse_dt()
        pwm: Simplify pwm_capture()
        pwm: lp3943: Use of_property_count_u32_elems() to get property length
        pwm: Don't export pwm_capture()
        pwm: Make info in traces about affected pwm more useful
        dt-bindings: pwm: renesas,tpu: Add r8a779h0 support
        dt-bindings: pwm: renesas,pwm-rcar: Add r8a779h0 support
        pwm: adp5585: Add Analog Devices ADP5585 support
        gpio: adp5585: Add Analog Devices ADP5585 support
        mfd: adp5585: Add Analog Devices ADP5585 core support
        ...
      cc52dc2f
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 7fced2a7
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Add documentation for the mmc-test driver
         - Register the eMMC RPMB partition with the RPMB subsystem
         - Some various cleanups
      
        MMC host:
         - dw_mmc-rockchip: Add support for the RK3576 variant
         - renesas_sdhi: Add support for the RZ/V2H(P) variant
         - sdhci_am654: Add a retry mechanism for tuning
         - sdhci-atmel: Convert DT bindings to json schema
         - sdhci-of-dwcmshc:
             - Add eMMC HW reset support for BlueField-3 SoC
             - Add support for the RK3576 variant
             - Add support for the Sophgo SG2042 variant
         - sdhci-of-ma35d1: Add new driver for the Nuvoton MA35D1 SDHCI
      
        Misc/Tee:
         - Add Replay Protected Memory Block (RPMB) subsystem
         - Let optee probe RPMB device using RPMB subsystem"
      
      * tag 'mmc-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (41 commits)
        mmc: core: Use dev_err_probe for deferred regulators
        optee: Fix a NULL vs IS_ERR() check
        mmc: sdhci_am654: Add prints to tuning algorithm
        mmc: sdhci_am654: Add retry tuning
        dt-bindings: mmc: Add support for rk3576 eMMC
        Documentation: mmc: Add mmc-test doc
        rpmb: fix error path in rpmb_dev_register()
        optee: add RPMB dependency
        mmc: block: add RPMB dependency
        mmc: core Convert UNSTUFF_BITS macro to inline function
        dt-bindings: mmc: sdhci-atmel: Convert to json schema
        mmc: core: Convert simple_stroul to kstroul
        mmc: core: Calculate size from pointer
        mmc: cqhci: Make use of cqhci_halted() routine
        mmc: core: Replace the argument of mmc_sd_switch() with defines
        mmc: dw_mmc-rockchip: Add support for rk3576 SoCs
        mmc: dw_mmc-rockchip: Add internal phase support
        dt-bindings: mmc: Add support for rk3576 dw-mshc
        mmc: sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC
        mmc: core: remove left-over data structure declarations
        ...
      7fced2a7