Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Jul 18, 2024
  2. Jul 17, 2024
    • Linus Torvalds's avatar
      Merge tag 'media/v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · b1bc554e
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - New sensor drivers: gc05a2, gc08a3 and imx283
      
       - New serializer/deserializer drivers: max96714 and max96717
      
       - New JPEG encoder driver: e5010
      
       - Support for Raspberry Pi PiSP Backend (BE) ISP driver
      
       - Old documentation for av7110 driver removed, as a new version was
         added as Documentation/userspace-api/media/dvb/legacy*.rst
      
       - atompisp: Linux firmwares are now available, so drop firmware-related
         task from TODO and update firmware logic
      
       - The imx258 driver has gained several improvements
      
       - wave5 driver has gained support for HEVC decoding
      
       - em28xx gained support for MyGica UTV3
      
       - av7110 budget-patch driver removed
      
       - Lots of other cleanups, improvements and fixes
      
      * tag 'media/v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (301 commits)
        media: raspberrypi: Switch to remove_new
        media: uapi: pisp_be_config: A...
      b1bc554e
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 0ffb8a4c
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
       "DT Bindings:
      
         - Convert and add a bunch of IBM FSI related bindings
      
         - Add a new schema listing legacy compatibles which will (probably)
           never be documented. This will silence various checks warning about
           them.
      
         - Add bindings for Sierra Wireless mangOH Green SPI IoT interface,
           new Arm 2024 Cortex and Neoverse CPUs, QCom sc8180x PDC, QCom SDX75
           GPI DMA, imx8mp/imx8qxp fsl,irqsteer, and Renesas RZ/G2UL CRU and
           CSI-2 blocks
      
         - Convert Spreadtrum sprd-timer, FSL cpm_qe, FSL fsl,ls-scfg-msi, FSL
           q(b)man-*, FSL qoriq-mc, and img,pdc-wdt bindings to DT schema
      
         - Drop obsolete stericsson,abx500.txt
      
        DT core:
      
         - Update dtc to upstream version v1.7.0-93-g1df7b047fe43
      
         - Add support to run DT validation on DTs with applied overlays
      
         - Add helper for creating boolean properties in dynamic nodes and use
           that for dynamic PCI...
      0ffb8a4c
    • Linus Torvalds's avatar
      Merge tag 'for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux · 5b9ac6c2
      Linus Torvalds authored
      Pull hardware timestamp update from Dipen Patel:
      
       - Add module description in hte test to silence modpost warnings
      
      * tag 'for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux:
        hte: tegra-194: add missing MODULE_DESCRIPTION() macro
      5b9ac6c2
    • Linus Torvalds's avatar
      Merge tag 'leds-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · fea17683
      Linus Torvalds authored
      Pull LED updates from Lee Jones:
       "Core Frameworks:
         - New trigger for Input Events
         - New led_mc_set_brightness() call to adapt colour/brightness for
           mutli-colour LEDs
         - New lled_mc_trigger_event() call to call the above based on given
           trigger conditions
         - New led_get_color_name() call, a wrapper around the existing
           led_colors[] array
         - A new flag to avoid automatic renaming of LED devices
      
        New Drivers:
         - Silergy SY7802 Flash LED Controller
         - Texas Instruments LP5569 LED Controller
         - ChromeOS EC LED Controller
      
        New Device Support:
         - KTD202{6,7} support for Kinetic KTD2026/7 LEDs
      
        Fix-ups:
         - Replace ACPI/DT firmware helpers with agnostic variants
         - Make use of resource managed devm_* API calls
         - Device Tree binding adaptions/conversions/creation
         - Constify/staticise applicable data structures
         - Trivial; spelling, whitespace, coding-style adaptions
         - Drop i2c_device_id::driver_data where the value is unused
         - Utilise centrally provided helpers and macros to aid simplicity and
           avoid duplication
         - Use generic platform device properties instead of OF/ACPI specific
           ones
         - Consolidate/de-duplicate various functionality
         - Remove superfluous/duplicated/unused sections
         - Make use of the new *_scoped() guard APIs
         - Improve/simplify error handling
      
        Bug Fixes:
         - Flush pending brightness changes before activating the trigger
         - Repair incorrect device naming preventing matches
         - Prevent memory leaks by correctly free resources during error
           handling routines
         - Repair locking issue causing circular dependency splats and
           lock-ups
         - Unregister sysfs entries before deactivating triggers to prevent
           use-after issues
         - Supply a bunch of MODULE_DESCRIPTIONs to silence modpost warnings
         - Use correct return codes expected by the callers
         - Omit set_brightness() error message for a LEDs that support only HW
           triggers"
      
      * tag 'leds-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (65 commits)
        leds: leds-lp5569: Enable chip after chip configuration
        leds: leds-lp5569: Better handle enabling clock internal setting
        leds: leds-lp5569: Fix typo in driver name
        leds: flash: leds-qcom-flash: Test the correct variable in init
        leds: leds-lp55xx: Convert mutex lock/unlock to guard API
        leds: leds-lp5523: Convert to sysfs_emit API
        leds: leds-lp5569: Convert to sysfs_emit API
        Revert "leds: led-core: Fix refcount leak in of_led_get()"
        leds: leds-lp5569: Add support for Texas Instruments LP5569
        leds: leds-lp55xx: Drop deprecated defines
        leds: leds-lp55xx: Support ENGINE program up to 128 bytes
        leds: leds-lp55xx: Generalize sysfs master_fader
        leds: leds-lp55xx: Generalize sysfs engine_leds
        leds: leds-lp55xx: Generalize sysfs engine_load and engine_mode
        leds: leds-lp55xx: Generalize stop_engine function
        leds: leds-lp55xx: Generalize turn_off_channels function
        leds: leds-lp55xx: Generalize set_led_current function
        leds: leds-lp55xx: Generalize multicolor_brightness function
        leds: leds-lp55xx: Generalize led_brightness function
        leds: leds-lp55xx: Generalize firmware_loaded function
        ...
      fea17683
    • Linus Torvalds's avatar
      Merge tag 'backlight-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight · e0d97b04
      Linus Torvalds authored
      Pull backlight updates from Lee Jones:
       "New Drivers:
         - Texas Instruments LM3509 Backlight Driver
      
        Fix-ups:
         - Device Tree binding adaptions/conversions/creation
         - Drop i2c_device_id::driver_data where the value is unused
         - Make use of the new *_scoped() guard APIs
         - Decouple from fbdev by providing Backlight with its own
           BACKLIGHT_POWER_* constrains
      
        Bug Fixes:
         - Correctly assess return values (NULL vs IS_ERR())
         - Supply a bunch of MODULE_DESCRIPTIONs to silence modpost warnings"
      
      * tag 'backlight-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight: (23 commits)
        backlight: sky81452-backlight: Use backlight power constants
        backlight: rave-sp-backlight: Use backlight power constants
        backlight: pwm-backlight: Use backlight power constants
        backlight: pcf50633-backlight: Use backlight power constants
        backlight: pandora-backlight: Use backlight power constants
        backlight: mp3309c: Use backlight power constants
        backlight: lm3533-backlight: Use backlight power constants
        backlight: led-backlight: Use backlight power constants
        backlight: ktd253-backlight: Use backlight power constants
        backlight: kb3886-bl: Use backlight power constants
        backlight: journada_bl: Use backlight power constants
        backlight: ipaq-micro-backlight: Use backlight power constants
        backlight: gpio-backlight: Use backlight power constants
        backlight: corgi-lcd: Use backlight power constants
        backlight: ams369fb06: Use backlight power constants
        backlight: aat2870-backlight: Use blacklight power constants
        backlight: Add BACKLIGHT_POWER_ constants for power states
        backlight: lm3509_bl: Fix early returns in for_each_child_of_node()
        backlight: Drop explicit initialization of struct i2c_device_id::driver_data to 0
        backlight: Add missing MODULE_DESCRIPTION() macros
        ...
      e0d97b04
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 1200af3a
      Linus Torvalds authored
      Pull MFD updates from Lee Jones:
       "New Drivers:
         - ROHM BD96801 Power Management IC
         - Cirrus Logic CS40L50 Haptic Driver with Waveform Memory
         - Marvell 88PM886 Power Management IC
      
        New Device Support:
         - Keyboard Backlight to ChromeOS Embedded Controller
         - LEDs to ChromeOS Embedded Controller
         - Charge Control to ChromeOS Embedded Controller
         - HW Monitoring Service to ChromeOS Embedded Controller
         - AUXADCs to MediaTek MT635{7,8,9} Power Management ICs
      
        New Functionality:
         - Allow Syscon consumers to supply their own Regmaps on registration
      
        Fix-ups:
         - Constify/staticise applicable data structures
         - Remove superfluous/duplicated/unused sections
         - Device Tree binding adaptions/conversions/creation
         - Trivial; spelling, whitespace, coding-style adaptions
         - Utilise centrally provided helpers and macros to aid
           simplicity/duplication
         - Drop i2c_device_id::driver_data where the value is unused
         - Replace ACPI/DT firmware helpers with agnostic variants
         - Move over to GPIOD (descriptor-based) APIs
         - Annotate a bunch of __counted_by() cases
         - Straighten out some includes
      
        Bug Fixes:
         - Ensure potentially asserted recent lines are deasserted during
           initialisation
         - Avoid "<module>.ko is added to multiple modules" warnings
         - Supply a bunch of MODULE_DESCRIPTIONs to silence modpost warnings
         - Fix Wvoid-pointer-to-enum-cast warnings"
      
      * tag 'mfd-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (87 commits)
        mfd: timberdale: Attach device properties to TSC2007 board info
        mfd: tmio: Move header to platform_data
        mfd: tmio: Sanitize comments
        mfd: tmio: Update include files
        mmc: tmio/sdhi: Fix includes
        mfd: tmio: Remove obsolete io accessors
        mfd: tmio: Remove obsolete platform_data
        watchdog: bd96801_wdt: Add missing include for FIELD_*()
        dt-bindings: mfd: syscon: Add APM poweroff mailbox
        dt-bindings: mfd: syscon: Split and enforce documenting MFD children
        dt-bindings: mfd: rk817: Merge support for RK809
        dt-bindings: mfd: rk817: Fixup clocks and reference dai-common
        dt-bindings: mfd: syscon: Add TI's opp table compatible
        mfd: omap-usb-tll: Use struct_size to allocate tll
        dt-bindings: mfd: Explain lack of child dependency in simple-mfd
        dt-bindings: mfd: Dual licensing for st,stpmic1 bindings
        mfd: omap-usb-tll: Annotate struct usbtll_omap with __counted_by
        mfd: tps6594-core: Remove unneeded semicolon in tps6594_check_crc_mode()
        mfd: lm3533: Move to new GPIO descriptor-based APIs
        mfd: tps65912: Use devm helper functions to simplify probe
        ...
      1200af3a
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2024071601' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 6e504d2c
      Linus Torvalds authored
      Pull HID updates from Benjamin Tissoires:
      
       - rewrite of the HID-BPF internal implementation to use bpf struct_ops
         instead of a tracing endpoint (Benjamin Tissoires)
      
       - add two new HID-BPF hooks to be able to intercept userspace calls
         targeting a HID device and filtering them (Benjamin Tissoires)
      
       - add support for various new devices through HID-BPF filters (Benjamin
         Tissoires)
      
       - add support for the magic keyboard backlight (Orlando Chamberlain)
      
       - add the missing MODULE_DESCRIPTION() macros in HID drivers (Jeff
         Johnson)
      
       - use of kvzalloc in case memory gets too fragmented (Hailong Liu)
      
       - retrieve the device firmware node in the child HID device (Danny
         Kaehn)
      
       - some hid-uclogic improvements (José Expósito)
      
       - some more typos, trivial fixes, kernel doctext and unused functions
         cleanups
      
      * tag 'for-linus-2024071601' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (60 commits)
      ...
      6e504d2c
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.11-1' of https://github.com/cminyard/linux-ipmi · 221fd1e1
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "Some cleanups for device changes coming, and some range checks on data
        coming from a host to a BMC"
      
      * tag 'for-linus-6.11-1' of https://github.com/cminyard/linux-ipmi:
        ipmi: Drop explicit initialization of struct i2c_device_id::driver_data to 0
        ipmi: ssif_bmc: prevent integer overflow on 32bit systems
      221fd1e1
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.11-1' of... · a5cb6b2b
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver updates from Ilpo Järvinen:
      
       - amd/pmf: Report system state changes using existing input events
      
       - asus-wmi: Zenbook 2023 camera LED disable support and fix TUF laptop
         keyboard RGB LED sysfs interface
      
       - dell-pc: Fan modes / platform profile support
      
       - hp-wmi: Fix platform profile switching on Omen/Victus laptops
      
       - intel/ISST: Use only TPMI interface when TPMI and legacy interfaces
         are available
      
       - intel/pmc: LTR restore support to pair with LTR ignore
      
       - intel/tpmi: Performance Limit Reasons (PLR) and APIC <-> Punit CPU
         numbering mapping support
      
       - WMI: driver override support and docs improvements
      
       - lenovo-yoga-c630: Support for EC (platform/arm64)
      
       - platform/arm64: Fix build with COMPILE_TEST (broke after addition of
         C630)
      
       - tools: Intel Speed Select Turbo Ratio Limit fix
      
       - Miscellaneous cleanups / refactoring / improvements
      
      * tag 'platform-drivers-x86-v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (65 commits)
        platform/x86: asus-wmi: fix TUF laptop RGB variant
        platform/x86/intel/tpmi/plr: Fix output in plr_print_bits()
        Docs/admin-guide: Remove pmf leftover reference from the index
        platform/x86: ideapad-laptop: use cleanup.h
        platform/x86: hp-wmi: Fix implementation of the platform_profile_omen_get function
        platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM
        platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM
        platform/x86/amd/pmf: Remove update system state document
        platform/x86/amd/pmf: Use existing input event codes to update system states
        platform/x86: hp-wmi: Fix platform profile option switch bug on Omen and Victus laptops
        platform/x86:intel/pmc: Add support to undo ltr_ignore
        platform/x86:intel/pmc: Use the Elvis operator
        platform/x86:intel/pmc: Use DEFINE_SHOW_STORE_ATTRIBUTE macro
        platform/x86:intel/pmc: Remove unneeded min_t check
        platform/x86:intel/pmc: Add support to show ltr_ignore value
        platform/x86:intel/pmc: Move pmc assignment closer to first usage
        platform/x86:intel/pmc: Convert index variables to be unsigned
        platform/x86:intel/pmc: Simplify mutex usage with cleanup helpers
        platform/x86:intel/pmc: Use the return value of pmc_core_send_msg
        tools/power/x86/intel-speed-select: v1.20 release
        ...
      a5cb6b2b
    • Linus Torvalds's avatar
      Merge tag 'ata-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux · e2f710f9
      Linus Torvalds authored
      Pull ata updates from Niklas Cassel:
      
       - ATA PASS-THROUGH sense data cleanups and fixes (Igor Pylypiv)
      
         Store the sense data for ATA PASS-THROUGH commands at the correct
         offset in the sense buffer when using fixed format sense data.
      
         Cleanup the logic related to generating sense data for PASS-THROUGH
         commands. Generating sense data for PASS-THROUGH commands would
         overwrite any eventual (real) sense data received from the device.
      
         Honor the D_SENSE bit when generating sense data for PASS-THROUGH
         commands. (The D_SENSE bit can be set by the user, and determines if
         the returned sense data should be in fixed format or descriptor
         format)
      
       - ata port allocation cleanups (me)
      
         Assign the ata port print_id at port allocation time, such that the
         ata_port_* print functions can be used earlier in the init call
         chain.
      
         Change the ata port port print_id to use ida_alloc(), such that
         print_i...
      e2f710f9
    • Linus Torvalds's avatar
      Merge tag 'zonefs-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs · 01f851a0
      Linus Torvalds authored
      Pull zonefs update from Damien Le Moal:
       "A single change to enable support for large folios (from Johannes)"
      
      * tag 'zonefs-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
        zonefs: enable support for large folios
      01f851a0
    • Linus Torvalds's avatar
      Merge tag 'fs_for_v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 8b0f0bb2
      Linus Torvalds authored
      Pull udf, ext2, isofs fixes and cleanups from Jan Kara:
      
       - A few UDF cleanups and fixes for handling corrupted filesystems
      
       - ext2 fix for handling of corrupted filesystem
      
       - isofs module description
      
       - jbd2 module description
      
      * tag 'fs_for_v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        ext2: Verify bitmap and itable block numbers before using them
        udf: prevent integer overflow in udf_bitmap_free_blocks()
        udf: Avoid excessive partition lengths
        udf: Drop load_block_bitmap() wrapper
        udf: Avoid using corrupted block bitmap buffer
        udf: Fix bogus checksum computation in udf_rename()
        udf: Fix lock ordering in udf_evict_inode()
        udf: Drop pointless IS_IMMUTABLE and IS_APPEND check
        isofs: add missing MODULE_DESCRIPTION()
        jbd2: add missing MODULE_DESCRIPTION()
      8b0f0bb2
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · d6018321
      Linus Torvalds authored
      Pull fsnotify fix from Jan Kara:
       "Fix possible softlockups on directories with many dentries in fsnotify
        code"
      
      * tag 'fsnotify_for_v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fsnotify: clear PARENT_WATCHED flags lazily
      d6018321
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.11-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · bf3aa9de
      Linus Torvalds authored
      Pull xfs updates from Chandan Babu:
       "Major changes in this release are limited to enabling FITRIM on
        realtime devices and Byte-based grant head log reservation tracking.
      
        The remaining changes are limited to fixes and cleanups included in
        this pull request.
      
        Core:
      
         - Enable FITRIM on the realtime device
      
         - Introduce byte-based grant head log reservation tracking instead of
           physical log location tracking.
      
           This allows grant head to track a full 64 bit bytes space and hence
           overcome the limit of 4GB indexing that has been present until now
      
        Fixes:
      
         - xfs_flush_unmap_range() and xfs_prepare_shift() should consider RT
           extents in the flush unmap range
      
         - Implement bounds check when traversing log operations during log
           replay
      
         - Prevent out of bounds access when traversing a directory data block
      
         - Prevent incorrect ENOSPC when concurrently performing file creation
           and file writes
      
         - Fix rtalloc rotoring when delalloc is in use
      
        Cleanups:
      
         - Clean up I/O path inode locking helpers and the page fault handler
      
         - xfs: hoist inode operations to libxfs in anticipation of the
           metadata inode directory feature, which maintains a directory tree
           of metadata inodes. This will be necessary for further enhancements
           to the realtime feature, subvolume support
      
         - Clean up some warts in the extent freeing log intent code
      
         - Clean up the refcount and rmap intent code before adding support
           for realtime devices
      
         - Provide the correct email address for sysfs ABI documentation"
      
      * tag 'xfs-6.11-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (80 commits)
        xfs: fix rtalloc rotoring when delalloc is in use
        xfs: get rid of xfs_ag_resv_rmapbt_alloc
        xfs: skip flushing log items during push
        xfs: grant heads track byte counts, not LSNs
        xfs: pass the full grant head to accounting functions
        xfs: track log space pinned by the AIL
        xfs: collapse xlog_state_set_callback in caller
        xfs: l_last_sync_lsn is really AIL state
        xfs: ensure log tail is always up to date
        xfs: background AIL push should target physical space
        xfs: AIL doesn't need manual pushing
        xfs: move and rename xfs_trans_committed_bulk
        xfs: fix the contact address for the sysfs ABI documentation
        xfs: Avoid races with cnt_btree lastrec updates
        xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c
        xfs: simplify usage of the rcur local variable in xfs_refcount_finish_one
        xfs: don't bother calling xfs_refcount_finish_one_cleanup in xfs_refcount_finish_one
        xfs: reuse xfs_refcount_update_cancel_item
        xfs: add a ci_entry helper
        xfs: remove xfs_trans_set_refcount_flags
        ...
      bf3aa9de
    • Linus Torvalds's avatar
      Merge tag 'exfat-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 0260b0a7
      Linus Torvalds authored
      Pull exfat updates from Namjae Jeon:
      
       - Fix deadlock issue reported by syzbot
      
       - Handle idmapped mounts
      
      * tag 'exfat-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: fix potential deadlock on __exfat_get_dentry_set
        exfat: handle idmapped mounts
      0260b0a7
    • Linus Torvalds's avatar
      Merge tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · a1b547f0
      Linus Torvalds authored
      Pull btrfs updates from David Sterba:
       "The highlights are new logic behind background block group reclaim,
        automatic removal of qgroup after removing a subvolume and new
        'rescue=' mount options.
      
        The rest is optimizations, cleanups and refactoring.
      
        User visible features:
      
         - dynamic block group reclaim:
            - tunable framework to avoid situations where eager data
              allocations prevent creating new metadata chunks due to lack of
              unallocated space
            - reuse sysfs knob bg_reclaim_threshold (otherwise used only in
              zoned mode) for a fixed value threshold
            - new on/off sysfs knob "dynamic_reclaim" calculating the value
              based on heuristics, aiming to keep spare working space for
              relocating chunks but not to needlessly relocate partially
              utilized block groups or reclaim newly allocated ones
            - stats are exported in sysfs per block group type, files
              "reclaim_*"
            - this may increase IO load at unexpected times but the corner
              case of no allocatable block groups is known to be worse
      
         - automatically remove qgroup of deleted subvolumes:
            - adjust qgroup removal conditions, make sure all related
              subvolume data are already removed, or return EBUSY, also take
              into account setting of sysfs drop_subtree_threshold
            - also works in squota mode
      
         - mount option updates: new modes of 'rescue=' that allow to mount
           images (read-only) that could have been partially converted by user
           space tools
            - ignoremetacsums  - invalid metadata checksums are ignored
            - ignoresuperflags - super block flags that track conversion in
                                 progress (like UUID or checksums)
      
        Core:
      
         - size of struct btrfs_inode is now below 1024 (on a release config),
           improved memory packing and other secondary effects
      
         - switch tracking of open inodes from rb-tree to xarray, minor
           performance improvement
      
         - reduce number of empty transaction commits when there are no dirty
           data/metadata
      
         - memory allocation optimizations (reduced numbers, reordering out of
           critical sections)
      
         - extent map structure optimizations and refactoring, more sanity
           checks
      
         - more subpage in zoned mode preparations or fixes
      
         - general snapshot code cleanups, improvements and documentation
      
         - tree-checker updates: more file extent ram_bytes fixes, continued
      
         - raid-stripe-tree update (not backward compatible):
            - remove extent encoding field from the structure, can be inferred
              from other information
            - requires btrfs-progs 6.9.1 or newer
      
         - cleanups and refactoring
            - error message updates
            - error handling improvements
            - return type and parameter cleanups and improvements"
      
      * tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (152 commits)
        btrfs: fix extent map use-after-free when adding pages to compressed bio
        btrfs: fix bitmap leak when loading free space cache on duplicate entry
        btrfs: remove the BUG_ON() inside extent_range_clear_dirty_for_io()
        btrfs: move extent_range_clear_dirty_for_io() into inode.c
        btrfs: enhance compression error messages
        btrfs: fix data race when accessing the last_trans field of a root
        btrfs: rename the extra_gfp parameter of btrfs_alloc_page_array()
        btrfs: remove the extra_gfp parameter from btrfs_alloc_folio_array()
        btrfs: introduce new "rescue=ignoresuperflags" mount option
        btrfs: introduce new "rescue=ignoremetacsums" mount option
        btrfs: output the unrecognized super block flags as hex
        btrfs: remove unused Opt enums
        btrfs: tree-checker: add extra ram_bytes and disk_num_bytes check
        btrfs: fix the ram_bytes assignment for truncated ordered extents
        btrfs: make validate_extent_map() catch ram_bytes mismatch
        btrfs: ignore incorrect btrfs_file_extent_item::ram_bytes
        btrfs: cleanup the bytenr usage inside btrfs_extent_item_to_extent_map()
        btrfs: fix typo in error message in btrfs_validate_super()
        btrfs: move the direct IO code into its own file
        btrfs: pass a btrfs_inode to btrfs_set_prop()
        ...
      a1b547f0
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v6.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 6706415b
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
       "Fixes and cleanups:
      
         - Revise the glock reference counting model and LRU list handling to
           be more sensible
      
         - Several quota related fixes: clean up the quota code, add some
           missing locking, and work around the on-disk corruption that the
           reverted patch "gfs2: ignore negated quota changes" causes
      
         - Clean up the glock demote logic in glock_work_func()"
      
      * tag 'gfs2-v6.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (29 commits)
        gfs2: Clean up glock demote logic
        gfs2: Revert "check for no eligible quota changes"
        gfs2: Be more careful with the quota sync generation
        gfs2: Get rid of some unnecessary quota locking
        gfs2: Add some missing quota locking
        gfs2: Fold qd_fish into gfs2_quota_sync
        gfs2: quota need_sync cleanup
        gfs2: Fix and clean up function do_qc
        gfs2: Revert "Add quota_change type"
        gfs2: Revert "ignore negated quota changes"
        gfs2: qd_check_sync cleanups
        gfs2: Revert "introduce qd_bh_get_or_undo"
        gfs2: Check quota consistency on mount
        gfs2: Minor gfs2_quota_init error path cleanup
        gfs2: Get rid of demote_ok checks
        Revert "GFS2: Don't add all glocks to the lru"
        gfs2: Revise glock reference counting model
        gfs2: Switch to a per-filesystem glock workqueue
        gfs2: Report when glocks cannot be freed for a long time
        gfs2: gfs2_glock_get cleanup
        ...
      6706415b
    • Linus Torvalds's avatar
      Merge tag 'dlm-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · f097ef0e
      Linus Torvalds authored
      Pull dlm updates from David Teigland:
      
       - New flag DLM_LSFL_SOFTIRQ_SAFE can be set by code using dlm to
         indicate callbacks can be run from softirq
      
       - Change md-cluster to set DLM_LSFL_SOFTIRQ_SAFE
      
       - Clean up for previous changes, e.g. unused code and parameters
      
       - Remove custom pre-allocation of rsb structs which is unnecessary with
         kmem caches
      
       - Change idr to xarray for lkb structs in use
      
       - Change idr to xarray for rsb structs being recovered
      
       - Change outdated naming related to internal rsb states
      
       - Fix some incorrect add/remove of rsb on scan list
      
       - Use rcu to free rsb structs
      
      * tag 'dlm-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        dlm: add rcu_barrier before destroy kmem cache
        dlm: remove DLM_LSFL_SOFTIRQ from exflags
        fs: dlm: remove unused struct 'dlm_processed_nodes'
        md-cluster: use DLM_LSFL_SOFTIRQ for dlm_new_lockspace()
        dlm: implement LSFL_SOFTIRQ_SAFE
        dlm: introduce DLM_LSFL_SOFTIRQ_SAFE
        dlm: use LSFL_FS to check for kernel lockspace
        dlm: use rcu to avoid an extra rsb struct lookup
        dlm: fix add_scan and del_scan usage
        dlm: change list and timer names
        dlm: move recover idr to xarray datastructure
        dlm: move lkb idr to xarray datastructure
        dlm: drop own rsb pre allocation mechanism
        dlm: remove ls_local_handle from struct dlm_ls
        dlm: remove unused parameter in dlm_midcomms_addr
        dlm: don't kref_init rsbs created for toss list
        dlm: remove scand leftovers
      f097ef0e
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · 586f14a6
      Linus Torvalds authored
      Pull erofs updates from Gao Xiang:
       "Updates for folio conversions for compressed inodes: While large folio
        support for compressed data could work now, it remains disabled since
        the stress test could hang due to page migration in a few hours after
        enabling it. I need more time to investigate further before enabling
        this feature.
      
        Additionally, clean up stream decompressors and tracepoints for
        simplicity.
      
        Summary:
      
         - More folio conversions for compressed inodes
      
         - Stream decompressor (LZMA/DEFLATE/ZSTD) cleanups
      
         - Minor tracepoint cleanup"
      
      * tag 'erofs-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
        erofs: silence uninitialized variable warning in z_erofs_scan_folio()
        erofs: avoid refcounting short-lived pages
        erofs: get rid of z_erofs_map_blocks_iter_* tracepoints
        erofs: tidy up stream decompressors
        erofs: refine z_erofs_{init,exit}_subsystem()
        erofs: move each decompressor to its own source file
        erofs: tidy up `struct z_erofs_bvec`
        erofs: teach z_erofs_scan_folios() to handle multi-page folios
        erofs: convert z_erofs_read_fragment() to folios
        erofs: convert z_erofs_pcluster_readmore() to folios
      586f14a6
    • Linus Torvalds's avatar
      Merge tag 'nfsd-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · 586a7a85
      Linus Torvalds authored
      Pull nfsd updates from Chuck Lever:
       "This is a light release containing optimizations, code clean-ups, and
        minor bug fixes.
      
        This development cycle focused on work outside of upstream kernel
        development:
      
         - Continuing to build upstream CI for NFSD based on kdevops
      
         - Continuing to focus on the quality of NFSD in LTS kernels
      
         - Participation in IETF nfsv4 WG discussions about NFSv4 ACLs,
           directory delegation, and NFSv4.2 COPY offload
      
        Notable features for v6.11 that do not come through the NFSD tree
        include NFS server-side support for the new pNFS NVMe layout type
        [RFC9561]. Functional testing for pNFS block layouts like this one has
        been introduced to our kdevops CI harness. Work on improving the
        resolution of file attribute time stamps in local filesystems is also
        ongoing tree-wide.
      
        As always I am grateful to NFSD contributors, reviewers, testers, and
        bug reporters who participated durin...
      586a7a85
    • Linus Torvalds's avatar
      Merge tag 'affs-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 48f8bfd4
      Linus Torvalds authored
      Pull affs updates from David Sterba:
      
       - conversions of one-element arrays to flexible arrays
      
      * tag 'affs-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        affs: struct slink_front: Replace 1-element array with flexible array
        affs: struct affs_data_head: Replace 1-element array with flexible array
        affs: struct affs_head: Replace 1-element array with flexible array
      48f8bfd4
  3. Jul 16, 2024
    • Linus Torvalds's avatar
      Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · 51835949
      Linus Torvalds authored
      Pull networking updates from Jakub Kicinski:
       "Not much excitement - a handful of large patchsets (devmem among them)
        did not make it in time.
      
        Core & protocols:
      
         - Use local_lock in addition to local_bh_disable() to protect per-CPU
           resources in networking, a step closer for local_bh_disable() not
           to act as a big lock on PREEMPT_RT
      
         - Use flex array for netdevice priv area, ensure its cache alignment
      
         - Add a sysctl knob to allow user to specify a default rto_min at
           socket init time. Bit of a big hammer but multiple companies were
           independently carrying such patch downstream so clearly it's useful
      
         - Support scheduling transmission of packets based on CLOCK_TAI
      
         - Un-pin TCP TIMEWAIT timer to avoid it firing on CPUs later cordoned
           off using cpusets
      
         - Support multiple L2TPv3 UDP tunnels using the same 5-tuple address
      
         - Allow configuration of multipath hash seed, to ...
      51835949
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-next-6.11-rc1' of... · 0434dbe3
      Linus Torvalds authored
      Merge tag 'linux_kselftest-next-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest updates from Shuah Khan:
      
       - change resctrl test to cleanup resctrl_val() and generalize it by
         removing test name specific handling from the function.
      
       - several clang build failure fixes to framework and tests
      
       - add tests to verify IFS (In Field Scan) driver functionality
      
       - cleanups to remove unused variables and document changes
      
      * tag 'linux_kselftest-next-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (33 commits)
        selftests: ifs: verify IFS ARRAY BIST functionality
        selftests: ifs: verify IFS scan test functionality
        selftests: ifs: verify test image loading functionality
        selftests: ifs: verify test interfaces are created by the driver
        selftests/dma:remove unused variable
        selftests/breakpoints:Remove unused variable
        selftests/x86: fix printk warnings reported by clang
        selftests/x86: remove (or use) unused variables and functions
        selftests/x86: avoid -no-pie warnings from clang during compilation
        selftests/x86: build sysret_rip.c with clang
        selftests/x86: build fsgsbase_restore.c with clang
        selftests: x86: test_FISTTP: use fisttps instead of ambiguous fisttp
        selftests/x86: fix Makefile dependencies to work with clang
        selftests/timers: remove unused irqcount variable
        selftests: Add information about TAP conformance in tests
        selftests/resctrl: Remove test name comparing from write_bm_pid_to_resctrl()
        selftests/resctrl: Remove mongrp from CMT test
        selftests/resctrl: Remove mongrp from MBA test
        selftests/resctrl: Convert ctrlgrp & mongrp to pointers
        selftests/resctrl: Make some strings passed to resctrlfs functions const
        ...
      0434dbe3
    • Linus Torvalds's avatar
      Merge tag 'linux_kselftest-kunit-6.11-rc1' of... · f8d22a31
      Linus Torvalds authored
      Merge tag 'linux_kselftest-kunit-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit updates from Shuah Khan:
      
       - add vm_mmap() allocation resource manager
      
       - convert usercopy kselftest to KUnit
      
       - disable usercopy testing on !CONFIG_MMU
      
       - add MODULE_DESCRIPTION() to core, list, and usercopy tests
      
       - add tests for assertion formatting functions - assert.c
      
       - introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
      
       - fix KUNIT_ASSERT_STRNEQ comments to make it clear that it is an
         assertion
      
       - rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT
      
      * tag 'linux_kselftest-kunit-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: Introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
        kunit: Rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT for readability
        kunit: Fix the comment of KUNIT_ASSERT_STRNEQ as assertion
        kunit: executor: Simplify string allocation handling
        kunit/usercopy: Add missing MODULE_DESCR...
      f8d22a31
    • Linus Torvalds's avatar
      firmware: qcom: tzmem: don't ask about allocator mode when not enabled · 9de4ad3b
      Linus Torvalds authored
      The Qualcomm firmware code shouldn't ask about what memory allocator
      mode should be used when the code isn't even enabled.
      
      Get rid of pointless config-time question.
      
      Link: https://lore.kernel.org/all/CAHk-=wg+38EHPKGou1MqXwAAXC30cM8sMgZAGnZ7TcFO4L9J2w@mail.gmail.com/
      
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9de4ad3b
    • Linus Torvalds's avatar
      um: Use generic runtime constant implementation · 17e6a121
      Linus Torvalds authored
      
      UML should not be using the architecture native runtime constants, since
      that requires also having the appropriate instruction fixups (and all
      the linker script details).
      
      Not that using that code would be impossible, but it's not worth it.
      Just point UML at the generic version.
      
      Reported-by: default avatarNathan Chancellor <nathan@kernel.org>
      Fixes: e3c92e81 ("runtime constants: add x86 architecture support")
      Link: https://lore.kernel.org/all/20240716143644.GA1827132@thelio-3990X/
      
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      17e6a121
    • Linus Torvalds's avatar
      Merge tag 'perf-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 576a997c
      Linus Torvalds authored
      Pull performance events updates from Ingo Molnar:
      
       - Intel PT support enhancements & fixes
      
       - Fix leaked SIGTRAP events
      
       - Improve and fix the Intel uncore driver
      
       - Add support for Intel HBM and CXL uncore counters
      
       - Add Intel Lake and Arrow Lake support
      
       - AMD uncore driver fixes
      
       - Make SIGTRAP and __perf_pending_irq() work on RT
      
       - Micro-optimizations
      
       - Misc cleanups and fixes
      
      * tag 'perf-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits)
        perf/x86/intel: Add a distinct name for Granite Rapids
        perf/x86/intel/ds: Fix non 0 retire latency on Raptorlake
        perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated
        perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
        perf: Split __perf_pending_irq() out of perf_pending_irq()
        perf: Don't disable preemption in perf_pending_task().
        perf: Move swevent_htable::recursion into task...
      576a997c
    • Linus Torvalds's avatar
      Merge tag 'sched-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4a996d90
      Linus Torvalds authored
      Pull scheduler updates from Ingo Molnar:
      
       - Update Daniel Bristot de Oliveira's entry in MAINTAINERS,
         and credit him in CREDITS
      
       - Harmonize the lock-yielding behavior on dynamically selected
         preemption models with static ones
      
       - Reorganize the code a bit: split out sched/syscalls.c to reduce
         the size of sched/core.c
      
       - Micro-optimize psi_group_change()
      
       - Fix set_load_weight() for SCHED_IDLE tasks
      
       - Misc cleanups & fixes
      
      * tag 'sched-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched: Update MAINTAINERS and CREDITS
        sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
        sched/psi: Optimise psi_group_change a bit
        sched/core: Drop spinlocks on contention iff kernel is preemptible
        sched/core: Move preempt_model_*() helpers from sched.h to preempt.h
        sched/balance: Skip unnecessary updates to idle load balancer's flags
        idle: Remove stale RCU comment
        sched/headers: Move struct pre-declarations to the beginning of the header
        sched/core: Clean up kernel/sched/sched.h a bit
        sched/core: Simplify prefetch_curr_exec_start()
        sched: Fix spelling in comments
        sched/syscalls: Split out kernel/sched/syscalls.c from kernel/sched/core.c
      4a996d90
    • Linus Torvalds's avatar
      Merge tag 'objtool-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0c182ac2
      Linus Torvalds authored
      Pull objtool updates from Ingo Molnar:
      
       - Fix bug that caused objtool to confuse certain memory ops added by
         KASAN instrumentation as stack accesses
      
       - Various faddr2line optimizations
      
       - Improve error messages
      
      * tag 'objtool-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool/x86: objtool can confuse memory and stack access
        objtool: Use "action" in error message to be consistent with help
        scripts/faddr2line: Check only two symbols when calculating symbol size
        scripts/faddr2line: Remove call to addr2line from find_dir_prefix()
        scripts/faddr2line: Invoke addr2line as a single long-running process
        scripts/faddr2line: Pass --addresses argument to addr2line
        scripts/faddr2line: Check vmlinux only once
        scripts/faddr2line: Combine three readelf calls into one
        scripts/faddr2line: Reduce number of readelf calls to three
      0c182ac2
    • Linus Torvalds's avatar
      Merge tag 'locking-core-2024-07-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 151647ab
      Linus Torvalds authored
      Pull locking updates from Ingo Molnar:
      
       - Jump label fixes, including a perf events fix that originally
         manifested as jump label failures, but was a serialization bug at the
         usage site
      
       - Mark down_write*() helpers as __always_inline, to improve WCHAN
         debuggability
      
       - Misc cleanups and fixes
      
      * tag 'locking-core-2024-07-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
        jump_label: Simplify and clarify static_key_fast_inc_cpus_locked()
        jump_label: Clarify condition in static_key_fast_inc_not_disabled()
        jump_label: Fix concurrency issues in static_key_slow_dec()
        perf/x86: Serialize set_attr_rdpmc()
        cleanup: Standardize the header guard define's name
      151647ab
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 923a327e
      Linus Torvalds authored
      Pull ACPI updates from Rafael Wysocki:
       "The only kind of new feature added by these is the hwmon interface
        support in the ACPI fan driver. Apart from that, they mostly address
        issues and clean up code.
      
        Specifics:
      
         - Switch the ACPI x86 utility code and the ACPI LPSS driver to new
           Intel CPU model defines (Tony Luck)
      
         - Add hwmon interface support to the ACPI fan driver (Armin Wolf)
      
         - Add sysfs entry for guaranteed performance to the ACPI CPPC library
           and replace a ternary operator with umax() in it (Petr Tesařík,
           Prabhakar Pujeri)
      
         - Clean up the ACPI PMIC driver in multiple ways (Andy Shevchenko,
           Christophe JAILLET)
      
         - Add support for charge limiting state to the ACPI battery driver
           and update _OSC to indicate support for it (Armin Wolf)
      
         - Clean up the sysfs interface in the ACPI battery, SBS (smart
           battery subsystem) and AC drivers (Thomas Weißschuh)
      
         - Coordinate header includes in the ACPI NUMA code and make it use
           ACCESS_COORDINATE_CPU when appropriate (Huang Ying, Thorsten Blum)
      
         - Downgrade Intel _OSC and _PDC messages in the ACPI processor driver
           to debug to reduce log noise (Mario Limonciello)
      
         - Still evaluate _OST when _PUR evaluation fails in the ACPI PAD
           (processor aggregator) driver as per the spec (Armin Wolf)
      
         - Skip ACPI IRQ override on Asus Vivobook Pro N6506MJ and N6506MU
           platforms (Tamim Khan)
      
         - Force native mode on some T2 macbooks in the ACPI backlight driver
           and replace strcpy() with strscpy() in it (Orlando Chamberlain,
           Muhammad Qasim Abdul Majeed)
      
         - Add missing MODULE_DESCRIPTION() macros in two places (Jeff
           Johnson)"
      
      * tag 'acpi-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (26 commits)
        ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MJ
        ACPI: video: force native for some T2 macbooks
        ACPI: video: Use strscpy() instead of strcpy()
        ACPI: CPPC: Replace ternary operator with umax()
        ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MU
        ACPI: PMIC: Constify struct pmic_table
        ACPI: bus: Indicate support for battery charge limiting thru _OSC
        ACPI: battery: Add support for charge limiting state
        ACPI: processor: Downgrade Intel _OSC and _PDC messages to debug
        ACPI: SBS: manage alarm sysfs attribute through psy core
        ACPI: battery: create alarm sysfs attribute atomically
        ACPI: battery: use sysfs_emit over sprintf
        ACPI: battery: constify powersupply properties
        ACPI: SBS: constify powersupply properties
        ACPI: AC: constify powersupply properties
        ACPI: PMIC: Replace open coded be16_to_cpu()
        ACPI: PMIC: Convert pr_*() to dev_*() printing macros
        ACPI: PMIC: Use sizeof() instead of hard coded value
        ACPI: NUMA: Consolidate header includes
        ACPI: CPPC: add sysfs entry for guaranteed performance
        ...
      923a327e
    • Linus Torvalds's avatar
      Merge tag 'pm-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 41906248
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "These add a new cpufreq driver for Loongson-3, add support for new
        features in the intel_pstate (Lunar Lake and Arrow Lake platforms, OOB
        mode for Emerald Rapids, highest performance change interrupt),
        amd-pstate (fast CPPC) and sun50i (Allwinner H700 speed bin) cpufreq
        drivers, simplify the cpufreq driver interface, simplify the teo
        cpuidle governor, adjust the pm-graph utility for a new version of
        Python, address issues and clean up code.
      
        Specifics:
      
         - Add Loongson-3 CPUFreq driver support (Huacai Chen)
      
         - Add support for the Arrow Lake and Lunar Lake platforms and the
           out-of-band (OOB) mode on Emerald Rapids to the intel_pstate
           cpufreq driver, make it support the highest performance change
           interrupt and clean it up (Srinivas Pandruvada)
      
         - Switch cpufreq to new Intel CPU model defines (Tony Luck)
      
         - Simplify the cpufreq d...
      41906248
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 15114e8f
      Linus Torvalds authored
      Pull thermal control updates from Rafael Wysocki:
       "These add some new hardware support (notably, the Lunar Lake platform
        support in int340x and X1E80100 temperature sensor), continue to
        rework the thermal driver interface to eliminate trip point IDs from
        it, update DT bindings for a number of platforms and simplify probe in
        a number of thermal drivers, address issues and clean up code.
      
        Specifics:
      
         - Add DLVR and MSI interrupt support for the Lunar Lake platform to
           the int340x thermal driver (Srinivas Pandruvada)
      
         - Enable workload type hints (WLT) support and power floor interrupt
           support for the Lunar Lake platform in int340x ((Srinivas
           Pandruvada)
      
         - Switch Intel thermal drivers to new Intel CPU model defines (Tony
           Luck)
      
         - Clean up the int3400 and int3403 drivers (Erick Archer and David
           Alan Gilbert)
      
         - Improve intel_pch_thermal kernel log messages printed during
           suspend to idle (Zhang Rui)
      
         - Make the intel_tcc_cooling driver use a model-specific bitmask for
           TCC offset (Ricardo Neri)
      
         - Redesign the .set_trip_temp() thermal zone callback to take a trip
           pointer instead of a trip ID and update its users (Rafael Wysocki)
      
         - Avoid using invalid combinations of polling_delay and passive_delay
           thermal zone parameters (Rafael Wysocki)
      
         - Update a cooling device registration function to take a const
           argument (Krzysztof Kozlowski)
      
         - Make the uniphier thermal driver use thermal_zone_for_each_trip()
           for walking trip points (Rafael Wysocki)
      
         - Fix and clean up several minor shortcomings in thermal debug
           (Rafael Wysocki)
      
         - Rename __thermal_zone_set_trips() to thermal_zone_set_trips() and
           make it use trip thresholds (Rafael Wysocki)
      
         - Use READ_ONCE() for lockless access to trip temperature and
           hysteresis (Rafael Wysocki)
      
         - Drop unnecessary cooling device target state checks from the
           Bang-Bang thermal governor (Rafael Wysocki)
      
         - Avoid invoking thermal governor .trip_crossed() callback for
           critical and hot trip points (Rafael Wysocki)
      
         - Group all Renesas drivers inside a dedicated sub directory and add
           the missing dependency to OF (Niklas Söderlund)
      
         - Add suspend/resume support on k3_j72xx_bandgap and take the
           opportunity to remove an unneeded delay in the init time code path
           (Théo Lebrun)
      
         - Fix thermal zone definition for MT8186 and MT8188 (Julien Panis)
      
         - Convert hisilicon-thermal.txt to dt-schema (Abdulrasaq Lawani)
      
         - Add DT bindings for the X1E80100 temperature sensor (Abel Vesa)
      
         - Fix the thermal zone node name regular expression in the DT schema
           (Krzysztof Kozlowski)
      
         - Avoid failing thermal control initialization by using default
           values on some platforms where calibration data is missing (Chen-Yu
           Tsai)
      
         - Fix the sensor cell size in DT for the Exynos platform (Krzysztof
           Kozlowski)
      
         - Bring the common definition of '#thermal-sensor-cells' property in
           order to simplify the bindings on all the platforms where this
           change makes sense and do some minor cleanups (Krzysztof Kozlowski)
      
         - Fix a race between removal and clock disable in the broadcom
           thermal driver (Krzysztof Kozlowski)
      
         - Drop 'trips' DT node as required from the thermal zone bindings in
           order to fix the remaining warnings appearing for thermal zones
           without trip points (Rob Herring)
      
         - Simplify all the drivers where dev_err_probe() can apply (Krzysztof
           Kozlowski)
      
         - Clean up code related to stih416 as this platform is not described
           anywhere (Raphael Gallais-Pou)"
      
      * tag 'thermal-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (81 commits)
        thermal/drivers/sti: Cleanup code related to stih416
        thermal/drivers/generic-adc: Simplify with dev_err_probe()
        thermal/drivers/generic-adc: Simplify probe() with local dev variable
        thermal/drivers/qcom-tsens: Simplify with dev_err_probe()
        thermal/drivers/qcom-spmi-adc-tm5: Simplify with dev_err_probe()
        thermal/drivers/imx: Simplify with dev_err_probe()
        thermal/drivers/imx: Simplify probe() with local dev variable
        thermal/drivers/hisi: Simplify with dev_err_probe()
        thermal/drivers/exynos: Simplify with dev_err_probe()
        thermal/drivers/exynos: Simplify probe() with local dev variable
        thermal/drivers/broadcom: Simplify with dev_err_probe()
        thermal/drivers/broadcom: Simplify probe() with local dev variable
        thermal/drivers/broadcom: Fix race between removal and clock disable
        dt-bindings: thermal: Drop 'trips' node as required
        dt-bindings: thermal: qoriq: reference thermal-sensor schema
        dt-bindings: thermal: cleanup examples indentation
        dt-bindings: thermal: simplify few bindings
        dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema
        dt-bindings: thermal: ti,am654: reference thermal-sensor schema
        dt-bindings: thermal: st,stm32: reference thermal-sensor schema
        ...
      15114e8f
    • Linus Torvalds's avatar
      Merge tag 'Smack-for-6.10' of https://github.com/cschaufler/smack-next · 42b5a015
      Linus Torvalds authored
      Pull smack updates from Casey Schaufler:
       "Two fixes for Smack networking labeling by Konstantin Andreev"
      
      * tag 'Smack-for-6.10' of https://github.com/cschaufler/smack-next:
        smack: unix sockets: fix accept()ed socket label
        smack: tcp: ipv4, fix incorrect labeling
      42b5a015
    • Linus Torvalds's avatar
      Merge tag 'lsm-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm · 11ab4cd5
      Linus Torvalds authored
      Pull lsm updates from Paul Moore:
       "Two LSM patches focused on cleaning up the inode xattr capability
        handling"
      
      * tag 'lsm-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm:
        selinux,smack: remove the capability checks in the removexattr hooks
        lsm: fixup the inode xattr capability handling
      11ab4cd5
    • Linus Torvalds's avatar
      Merge tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux · dad8d1a3
      Linus Torvalds authored
      Pull selinux update from Paul Moore:
       "A single SELinux patch to change the type of a pre-processor constant
        to better match its use"
      
      * tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
        selinux: Use 1UL for EBITMAP_BIT to match maps type
      dad8d1a3
    • Linus Torvalds's avatar
      Merge tag 'sysctl-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl · f8a8b94d
      Linus Torvalds authored
      Pull sysctl updates from Joel Granados:
      
       - Remove "->procname == NULL" check when iterating through sysctl table
         arrays
      
         Removing sentinels in ctl_table arrays reduces the build time size
         and runtime memory consumed by ~64 bytes per array. With all
         ctl_table sentinels gone, the additional check for ->procname == NULL
         that worked in tandem with the ARRAY_SIZE to calculate the size of
         the ctl_table arrays is no longer needed and has been removed. The
         sysctl register functions now returns an error if a sentinel is used.
      
       - Preparation patches for sysctl constification
      
         Constifying ctl_table structs prevents the modification of
         proc_handler function pointers as they would reside in .rodata. The
         ctl_table arguments in sysctl utility functions are const qualified
         in preparation for a future treewide proc_handler argument
         constification commit.
      
       - Misc fixes
      
         Increase robustness of set_ownership by providing sane default
         ownership values in case the callee doesn't set them. Bound check
         proc_dou8vec_minmax to avoid loading buggy modules and give sysctl
         testing module a name to avoid compiler complaints.
      
      * tag 'sysctl-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl:
        sysctl: Warn on an empty procname element
        sysctl: Remove ctl_table sentinel code comments
        sysctl: Remove "child" sysctl code comments
        sysctl: Remove superfluous empty allocations from sysctl internals
        sysctl: Replace nr_entries with ctl_table_size in new_links
        sysctl: Remove check for sentinel element in ctl_table arrays
        mm profiling: Remove superfluous sentinel element from ctl_table
        locking: Remove superfluous sentinel element from kern_lockdep_table
        sysctl: Add module description to sysctl-testing
        sysctl: constify ctl_table arguments of utility function
        utsname: constify ctl_table arguments of utility function
        sysctl: move the extra1/2 boundary check of u8 to sysctl_check_table_array
        sysctl: always initialize i_uid/i_gid
      f8a8b94d
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · ce5a51bf
      Linus Torvalds authored
      Pull hardening updates from Kees Cook:
      
       - lkdtm/bugs: add test for hung smp_call_function_single() (Mark
         Rutland)
      
       - gcc-plugins: Remove duplicate included header file stringpool.h
         (Thorsten Blum)
      
       - ARM: Remove address checking for MMUless devices (Yanjun Yang)
      
       - randomize_kstack: Clean up per-arch entropy and codegen
      
       - KCFI: Make FineIBT mode Kconfig selectable
      
       - fortify: Do not special-case 0-sized destinations
      
      * tag 'hardening-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        randomize_kstack: Improve stack alignment codegen
        ARM: Remove address checking for MMUless devices
        gcc-plugins: Remove duplicate included header file stringpool.h
        randomize_kstack: Remove non-functional per-arch entropy filtering
        fortify: Do not special-case 0-sized destinations
        x86/alternatives: Make FineIBT mode Kconfig selectable
        lkdtm/bugs: add test for hung smp_call_function_single()
      ce5a51bf
    • Linus Torvalds's avatar
      Merge tag 'pstore-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 8050258b
      Linus Torvalds authored
      Pull pstore updates from Kees Cook:
      
       - Add missing MODULE_DESCRIPTION() macro (Jeff Johnson)
      
       - Replace deprecated strncpy() with strscpy() (Justin Stitt)
      
      * tag 'pstore-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        pstore: platform: add missing MODULE_DESCRIPTION() macro
        pstore/blk: replace deprecated strncpy with strscpy
      8050258b