1. 23 Jul, 2024 16 commits
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 5ad7ff87
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "A pretty small update including mostly minor bug fixes in zoned
        storage along with the large section support.
      
        Enhancements:
         - add support for FS_IOC_GETFSSYSFSPATH
         - enable atgc dynamically if conditions are met
         - use new ioprio Macro to get ckpt thread ioprio level
         - remove unreachable lazytime mount option parsing
      
        Bug fixes:
         - fix null reference error when checking end of zone
         - fix start segno of large section
         - fix to cover read extent cache access with lock
         - don't dirty inode for readonly filesystem
         - allocate a new section if curseg is not the first seg in its zone
         - only fragment segment in the same section
         - truncate preallocated blocks in f2fs_file_open()
         - fix to avoid use SSR allocate when do defragment
         - fix to force buffered IO on inline_data inode
      
        And some minor code clean-ups and sanity checks"
      
      * tag 'f2fs-for-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (26 commits)
        f2fs: clean up addrs_per_{inode,block}()
        f2fs: clean up F2FS_I()
        f2fs: use meta inode for GC of COW file
        f2fs: use meta inode for GC of atomic file
        f2fs: only fragment segment in the same section
        f2fs: fix to update user block counts in block_operations()
        f2fs: remove unreachable lazytime mount option parsing
        f2fs: fix null reference error when checking end of zone
        f2fs: fix start segno of large section
        f2fs: remove redundant sanity check in sanity_check_inode()
        f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
        f2fs: fix to use mnt_{want,drop}_write_file replace file_{start,end}_wrtie
        f2fs: clean up set REQ_RAHEAD given rac
        f2fs: enable atgc dynamically if conditions are met
        f2fs: fix to truncate preallocated blocks in f2fs_file_open()
        f2fs: fix to cover read extent cache access with lock
        f2fs: fix return value of f2fs_convert_inline_inode()
        f2fs: use new ioprio Macro to get ckpt thread ioprio level
        f2fs: fix to don't dirty inode for readonly filesystem
        f2fs: fix to avoid use SSR allocate when do defragment
        ...
      5ad7ff87
    • Linus Torvalds's avatar
      Merge tag 'jfs-6.11' of github.com:kleikamp/linux-shaggy · 371c1414
      Linus Torvalds authored
      Pull jfs updates from David Kleikamp:
       "Folio conversion from Matthew Wilcox and a few various fixes"
      
      * tag 'jfs-6.11' of github.com:kleikamp/linux-shaggy:
        jfs: don't walk off the end of ealist
        jfs: Fix shift-out-of-bounds in dbDiscardAG
        jfs: Fix array-index-out-of-bounds in diFree
        jfs: fix null ptr deref in dtInsertEntry
        jfs: Remove use of folio error flag
        fs: Remove i_blocks_per_page
        jfs: Change metapage->page to metapage->folio
        jfs: Convert force_metapage to use a folio
        jfs: Convert inc_io to take a folio
        jfs: Convert page_to_mp to folio_to_mp
        jfs; Convert __invalidate_metapages to use a folio
        jfs: Convert dec_io to take a folio
        jfs: Convert drop_metapage and remove_metapage to take a folio
        jfs; Convert release_metapage to use a folio
        jfs: Convert insert_metapage() to take a folio
        jfs: Convert __get_metapage to use a folio
        jfs: Convert metapage_writepage to metapage_write_folio
        jfs: Convert metapage_read_folio to use folio APIs
      371c1414
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · ca83c61c
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - Remove tristate choice support from Kconfig
      
       - Stop using the PROVIDE() directive in the linker script
      
       - Reduce the number of links for the combination of CONFIG_KALLSYMS and
         CONFIG_DEBUG_INFO_BTF
      
       - Enable the warning for symbol reference to .exit.* sections by
         default
      
       - Fix warnings in RPM package builds
      
       - Improve scripts/make_fit.py to generate a FIT image with separate
         base DTB and overlays
      
       - Improve choice value calculation in Kconfig
      
       - Fix conditional prompt behavior in choice in Kconfig
      
       - Remove support for the uncommon EMAIL environment variable in Debian
         package builds
      
       - Remove support for the uncommon "name <email>" form for the DEBEMAIL
         environment variable
      
       - Raise the minimum supported GNU Make version to 4.0
      
       - Remove stale code for the absolute kallsyms
      
       - Move header files commonly used for host programs to scripts/include/
      
       - Introduce the pacman-pkg target to generate a pacman package used in
         Arch Linux
      
       - Clean up Kconfig
      
      * tag 'kbuild-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (65 commits)
        kbuild: doc: gcc to CC change
        kallsyms: change sym_entry::percpu_absolute to bool type
        kallsyms: unify seq and start_pos fields of struct sym_entry
        kallsyms: add more original symbol type/name in comment lines
        kallsyms: use \t instead of a tab in printf()
        kallsyms: avoid repeated calculation of array size for markers
        kbuild: add script and target to generate pacman package
        modpost: use generic macros for hash table implementation
        kbuild: move some helper headers from scripts/kconfig/ to scripts/include/
        Makefile: add comment to discourage tools/* addition for kernel builds
        kbuild: clean up scripts/remove-stale-files
        kconfig: recursive checks drop file/lineno
        kbuild: rpm-pkg: introduce a simple changelog section for kernel.spec
        kallsyms: get rid of code for absolute kallsyms
        kbuild: Create INSTALL_PATH directory if it does not exist
        kbuild: Abort make on install failures
        kconfig: remove 'e1' and 'e2' macros from expression deduplication
        kconfig: remove SYMBOL_CHOICEVAL flag
        kconfig: add const qualifiers to several function arguments
        kconfig: call expr_eliminate_yn() at least once in expr_eliminate_dups()
        ...
      ca83c61c
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 643af93f
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
      
       - fix interrupt handling in the stm32 remoteproc driver when being
         attached to an already running remote processor
      
       - fix invalid kernel-doc and add missing MODULE_DESCRIPTION() in the
         rpmsg char driver
      
      * tag 'rpmsg-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: char: add missing MODULE_DESCRIPTION() macro
        remoteproc: stm32_rproc: Fix mailbox interrupts queuing
        rpmsg: char: Fix rpmsg_eptdev structure documentation
      643af93f
    • Linus Torvalds's avatar
      Merge tag 'rproc-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 60c6119c
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
      
       - The maximum amount of DDR memory used by the Mediatek MT8188/MT8195
         SCP is increased to handle new use cases. Handling of optional L1TCM
         memory is made actually optional.
      
       - An optimization is introduced to only clear the unused portion of IPI
         shared buffers, rather than the entire buffer before writing the
         message.
      
       - Detection for IPC-only mode in the TI K3 DSP remoteproc driver is
         corrected. The loglevel of a debug print in the same is lowered from
         error.
      
       - Support for attaching to an running remote processor is added to the
         Xilinx R5F.
      
       - An in-kernel implementation of the Qualcomm "protected domain mapper"
         (aka service registry) service is introduced, to remove the
         dependency on a userspace implementation to detect when the battery
         monitor and USB Type-C port manager becomes available. This is then
         integrated with the Qualcomm remoteproc driver.
      
       - The Qualcomm PAS remoteproc driver gains support for attempting to
         bust hwspinlocks held by the remote processor when it
         crashed/stopped.
      
       - The TI OMAP remoteproc driver is transitioned to use devres helpers
         for various forms of allocations.
      
       - Parsing of memory-regions in the i.MX remoteproc driver is improved
         to avoid a NULL pointer dereference if the phandle reference is
         empty. of_node reference counting is corrected in the same.
      
      * tag 'rproc-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size
        remoteproc: k3-dsp: Fix log levels where appropriate
        remoteproc: xlnx: Add attach detach support
        remoteproc: qcom: select AUXILIARY_BUS
        remoteproc: k3-r5: Fix IPC-only mode detection
        remoteproc: mediatek: Don't attempt to remap l1tcm memory if missing
        remoteproc: qcom: enable in-kernel PD mapper
        dt-bindings: remoteproc: imx_rproc: Add minItems for power-domain
        remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
        remoteproc: omap: Use devm_rproc_add() helper
        remoteproc: omap: Use devm action to release reserved memory
        remoteproc: omap: Use devm_rproc_alloc() helper
        remoteproc: imx_rproc: Skip over memory region when node value is NULL
        dt-bindings: remoteproc: k3-dsp: Correct optional sram properties for AM62A SoCs
        remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop
        soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
        remoteproc: mediatek: Zero out only remaining bytes of IPI buffer
      60c6119c
    • Linus Torvalds's avatar
      Merge tag 'hwlock-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 58bffbac
      Linus Torvalds authored
      Pull hwspinlock updates from Bjorn Andersson:
       "This introduces a mechanism in the hardware spinlock framework, and
        the Qualcomm TCSR mutex driver, for allowing clients to bust locks
        held by a remote processor in the event that this enters a faulty
        state while holding the shared lock"
      
      * tag 'hwlock-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        hwspinlock: qcom: implement bust operation
        hwspinlock: Introduce hwspin_lock_bust()
      58bffbac
    • Linus Torvalds's avatar
      Merge tag 'sh-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux · e9680017
      Linus Torvalds authored
      Pull sh updates from John Paul Adrian Glaubitz:
       "This is rather small this time and contains just three changes.
      
        The first change by Oscar Salvador drops support for memory hotplug
        and hotremove for sh as the kernel stopped supporting it on 32-bit
        platforms since 7ec58a2b ("mm/memory_hotplug: restrict
        CONFIG_MEMORY_HOTPLUG to 64 bit").
      
        That then results in a follow-up change to update all affected board
        config files.
      
        The third change comes from Jeff Johnson which adds the missing
        MODULE_DESCRIPTION() macro to the push-switch driver"
      
      * tag 'sh-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
        sh: push-switch: Add missing MODULE_DESCRIPTION() macro
        sh: config: Drop CONFIG_MEMORY_{HOTPLUG,HOTREMOVE}
        sh: Drop support for memory hotplug and memory hotremove
      e9680017
    • Linus Torvalds's avatar
      Merge tag 'modules-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · f4887900
      Linus Torvalds authored
      Pull module update from Luis Chamberlain:
       "This is a super boring development cycle this time around for modules,
        there is only one patch in this pull request.
      
        The patch deals with a corner case set of dependencies which is not
        resolved today to ensure users get the module they need on initramfs.
        Currently only one module is known to exist which needs this, however
        this can grow to capture other corner cases likely escaped and not
        reported before. The kernel change is just a section update, the real
        work is done and merged already on upstream kmod.
      
        This has been on linux-next for 3 weeks now"
      
      * tag 'modules-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        module: create weak dependecies
      f4887900
    • Linus Torvalds's avatar
      Merge tag 'livepatching-for-6.11' of... · d2d721e2
      Linus Torvalds authored
      Merge tag 'livepatching-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
      
      Pull livepatching update from Petr Mladek:
      
       - show patch->replace flag in sysfs
      
       - add or improve few selftests
      
      * tag 'livepatching-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
        livepatch: Replace snprintf() with sysfs_emit()
        selftests/livepatch: Add selftests for "replace" sysfs attribute
        livepatch: Add "replace" sysfs attribute
        selftests: livepatch: Test atomic replace against multiple modules
        selftests/livepatch: define max test-syscall processes
      d2d721e2
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.11-rc1-second-batch' of... · 28bbe4ea
      Linus Torvalds authored
      Merge tag 'i2c-for-6.11-rc1-second-batch' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
      
      Pull more i2c updates from Wolfram Sang:
       "The I2C core has two header documentation updates as the dependecies
        are in now.
      
        The I2C host drivers add some patches which nearly fell through the
        cracks:
      
         - Added descriptions in the DTS for the Qualcomm SM8650 and SM8550
           Camera Control Interface (CCI).
      
         - Added support for the "settle-time-us" property, which allows the
           gpio-mux device to switch from one bus to another with a
           configurable delay. The time can be set in the DTS. The latest
           change also includes file sorting.
      
         - Fixed slot numbering in the SMBus framework to prevent failures
           when more than 8 slots are occupied. It now enforces a a maximum of
           8 slots to be used. This ensures that the Intel PIIX4 device can
           register the SPDs correctly without failure, even if other slots
           are populated but not used"
      
      * tag 'i2c-for-6.11-rc1-second-batch' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: header: improve kdoc for i2c_algorithm
        i2c: header: remove unneeded stuff regarding i2c_algorithm
        i2c: piix4: Register SPDs
        i2c: smbus: remove i801 assumptions from SPD probing
        i2c: mux: gpio: Add support for the 'settle-time-us' property
        i2c: mux: gpio: Re-order #include to match alphabetic order
        dt-bindings: i2c: mux-gpio: Add 'settle-time-us' property
        dt-bindings: i2c: qcom-cci: Document sm8650 compatible
        dt-bindings: i2c: qcom-cci: Document sm8550 compatible
      28bbe4ea
    • Linus Torvalds's avatar
      Merge tag 'mailbox-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox · d51f8f63
      Linus Torvalds authored
      Pull mailbox updates from Jassi Brar:
       "broadcom:
         - remove unused pdc_dma_map
      
        imx:
         - fix TXDB_V2 channel race condition
      
        mediatek:
         - cleanup and refactor driver
         - add bindings for gce-props
      
        omap:
         - fix mailbox interrupt sharing
      
        qcom:
         - add bindings for SA8775p
         - add CPUCP driver
      
        zynqmp:
         - make polling period configurable"
      
      * tag 'mailbox-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox:
        mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
        mailbox: zynqmp-ipi: Make polling period configurable
        mailbox: qcom-cpucp: fix 64BIT dependency
        mailbox: Add support for QTI CPUCP mailbox controller
        dt-bindings: mailbox: qcom: Add CPUCP mailbox controller bindings
        dt-bindings: remoteproc: qcom,sa8775p-pas: Document the SA8775p ADSP, CDSP and GPDSP
        mailbox: mtk-cmdq: add missing MODULE_DESCRIPTION() macro
        mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'
        mailbox: imx: fix TXDB_V2 channel race condition
        mailbox: omap: Fix mailbox interrupt sharing
        mailbox: mtk-cmdq: Dynamically allocate clk_bulk_data structure
        mailbox: mtk-cmdq: Move and partially refactor clocks probe
        mailbox: mtk-cmdq: Stop requiring name for GCE clock
        dt-bindings: mailbox: Add mediatek,gce-props.yaml
      d51f8f63
    • Linus Torvalds's avatar
      Merge tag 'pcmcia-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux · 71bed1ec
      Linus Torvalds authored
      Pull PCMCIA updates from Dominik Brodowski:
       "A number of tiny cleanups of the PCMCIA subsystem by Jeff Johnson,
        Jules Irenge, and Krzysztof Kozlowski"
      
      * tag 'pcmcia-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
        pcmcia: add missing MODULE_DESCRIPTION() macros
        pcmcia: Use resource_size function on resource object
        pcmcia: bcm63xx: drop driver owner assignment
      71bed1ec
    • Linus Torvalds's avatar
      Merge tag 'for-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · fd71b9a0
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Power-supply core:
         - new charging_orange_full_green RGB LED trigger
         - simplify and cleanup power-supply LED trigger code
         - expose power information via hwmon compatibility layer
      
        New hardware support:
         - enable battery support for Qualcomm Snapdragon X Elite
         - new battery driver for Maxim MAX17201/MAX17205
         - new battery driver for Lenovo Yoga C630 laptop (custom EC)
      
        Cleanups:
         - cleanup 'struct i2c_device_id' initializations
         - misc small battery driver cleanups and fixes"
      
      * tag 'for-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
        power: supply: sysfs: use power_supply_property_is_writeable()
        power: supply: qcom_battmgr: Enable battery support on x1e80100
        power: supply: add support for MAX1720x standalone fuel gauge
        dt-bindings: power: supply: add support for MAX17201/MAX17205 fuel gauge
        power: reset: piix4: add missing MODULE_DESCRIPTION() macro
        power: supply: samsung-sdi-battery: Constify struct power_supply_maintenance_charge_table
        power: supply: samsung-sdi-battery: Constify struct power_supply_vbat_ri_table
        power: supply: lenovo_yoga_c630_battery: add Lenovo C630 driver
        power: supply: ingenic: Fix some error handling paths in ingenic_battery_get_property()
        power: supply: ab8500: Clean some error messages
        power: supply: ab8500: Use iio_read_channel_processed_scale()
        power: supply: ab8500: Fix error handling when calling iio_read_channel_processed()
        power: supply: hwmon: Add support for power sensors
        power: supply: ab8500: remove unused struct 'inst_curr_result_list'
        power: supply: bd99954: remove unused struct 'battery_data'
        power: supply: leds: Add activate() callback to triggers
        power: supply: leds: Share trig pointer for online and charging_full
        power: supply: leds: Add power_supply_[un]register_led_trigger()
        power: supply: Drop explicit initialization of struct i2c_device_id::driver_data to 0
      fd71b9a0
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · c5d2be66
      Linus Torvalds authored
      Pull HSI update from Sebastian Reichel:
      
       - drop unused gpio.h header from SSI McSAAB protocol driver
      
      * tag 'hsi-for-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: ssi_protocol: Remove unused linux/gpio.h
      c5d2be66
    • Ivan Davydov's avatar
      kbuild: doc: gcc to CC change · 13c239a2
      Ivan Davydov authored
      In this part of the documentation, $(CC) is meant, but gcc is written.
      Signed-off-by: default avatarIvan Davydov <davydoff33@yandex.ru>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      13c239a2
    • Petr Mladek's avatar
      ea5377ec
  2. 22 Jul, 2024 14 commits
    • Linus Torvalds's avatar
      Merge tag 'irq-msi-2024-07-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 66ebbdfd
      Linus Torvalds authored
      Pull MSI interrupt updates from Thomas Gleixner:
       "Switch ARM/ARM64 over to the modern per device MSI domains.
      
        This simplifies the handling of platform MSI and wire to MSI
        controllers and removes about 500 lines of legacy code.
      
        Aside of that it paves the way for ARM/ARM64 to utilize the dynamic
        allocation of PCI/MSI interrupts and to support the upcoming non
        standard IMS (Interrupt Message Store) mechanism on PCIe devices"
      
      * tag 'irq-msi-2024-07-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (25 commits)
        irqchip/gic-v3-its: Correctly fish out the DID for platform MSI
        irqchip/gic-v3-its: Correctly honor the RID remapping
        genirq/msi: Move msi_device_data to core
        genirq/msi: Remove platform MSI leftovers
        irqchip/irq-mvebu-icu: Remove platform MSI leftovers
        irqchip/irq-mvebu-sei: Switch to MSI parent
        irqchip/mvebu-odmi: Switch to parent MSI
        irqchip/mvebu-gicp: Switch to MSI parent
        irqchip/irq-mvebu-icu: Prepare for real per device MSI
        irqchip/imx-mu-msi: Switch to MSI parent
        irqchip/gic-v2m: Switch to device MSI
        irqchip/gic_v3_mbi: Switch over to parent domain
        genirq/msi: Remove platform_msi_create_device_domain()
        irqchip/mbigen: Remove platform_msi_create_device_domain() fallback
        irqchip/gic-v3-its: Switch platform MSI to MSI parent
        irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSI
        irqchip/mbigen: Prepare for real per device MSI
        irqchip/irq-msi-lib: Prepare for DEVICE MSI to replace platform MSI
        irqchip/gic-v3-its: Provide MSI parent for PCI/MSI[-X]
        irqchip/irq-msi-lib: Prepare for PCI MSI/MSIX
        ...
      66ebbdfd
    • Linus Torvalds's avatar
      Merge tag 'irq-core-2024-07-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ac7473a1
      Linus Torvalds authored
      Pull interrupt subsystem updates from Thomas Gleixner:
       "Core:
      
         - Provide a new mechanism to create interrupt domains. The existing
           interfaces have already too many parameters and it's a pain to
           expand any of this for new required functionality.
      
           The new function takes a pointer to a data structure as argument.
           The data structure combines all existing parameters and allows for
           easy extension.
      
           The first extension for this is to handle the instantiation of
           generic interrupt chips at the core level and to allow drivers to
           provide extra init/exit callbacks.
      
           This is necessary to do the full interrupt chip initialization
           before the new domain is published, so that concurrent usage sites
           won't see a half initialized interrupt domain. Similar problems
           exist on teardown.
      
           This has turned out to be a real problem due to the deferred and
           parallel probing which was added in recent years.
      
           Handling this at the core level allows to remove quite some accrued
           boilerplate code in existing drivers and avoids horrible
           workarounds at the driver level.
      
         - The usual small improvements all over the place
      
        Drivers:
      
         - Add support for LAN966x OIC and RZ/Five SoC
      
         - Split the STM ExtI driver into a microcontroller and a SMP version
           to allow building the latter as a module for multi-platform
           kernels
      
         - Enable MSI support for Armada 370XP on platforms which do not
           support IPIs
      
         - The usual small fixes and enhancements all over the place"
      
      * tag 'irq-core-2024-07-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (59 commits)
        irqdomain: Fix the kernel-doc and plug it into Documentation
        genirq: Set IRQF_COND_ONESHOT in request_irq()
        irqchip/imx-irqsteer: Handle runtime power management correctly
        irqchip/gic-v3: Pass #redistributor-regions to gic_of_setup_kvm_info()
        irqchip/bcm2835: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
        irqchip/gic-v4: Make sure a VPE is locked when VMAPP is issued
        irqchip/gic-v4: Substitute vmovp_lock for a per-VM lock
        irqchip/gic-v4: Always configure affinity on VPE activation
        Revert "irqchip/dw-apb-ictl: Support building as module"
        Revert "Loongarch: Support loongarch avec"
        arm64: Kconfig: Allow build irq-stm32mp-exti driver as module
        ARM: stm32: Allow build irq-stm32mp-exti driver as module
        irqchip/stm32mp-exti: Allow building as module
        irqchip/stm32mp-exti: Rename internal symbols
        irqchip/stm32-exti: Split MCU and MPU code
        arm64: Kconfig: Select STM32MP_EXTI on STM32 platforms
        ARM: stm32: Use different EXTI driver on ARMv7m and ARMv7a
        irqchip/stm32-exti: Add CONFIG_STM32MP_EXTI
        irqchip/dw-apb-ictl: Support building as module
        irqchip/riscv-aplic: Simplify the initialization code
        ...
      ac7473a1
    • Linus Torvalds's avatar
      Merge tag 'loongarch-6.11' of... · a362ade8
      Linus Torvalds authored
      Merge tag 'loongarch-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
      
      Pull LoongArch updates from Huacai Chen:
      
       - Define __ARCH_WANT_NEW_STAT in unistd.h
      
       - Always enumerate MADT and setup logical-physical CPU mapping
      
       - Add irq_work support via self IPIs
      
       - Add RANDOMIZE_KSTACK_OFFSET support
      
       - Add ARCH_HAS_PTE_DEVMAP support
      
       - Add ARCH_HAS_DEBUG_VM_PGTABLE support
      
       - Add writecombine support for DMW-based ioremap()
      
       - Add architectural preparation for CPUFreq
      
       - Add ACPI standard hardware register based S3 support
      
       - Add support for relocating the kernel with RELR relocation
      
       - Some bug fixes and other small changes
      
      * tag 'loongarch-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson:
        LoongArch: Make the users of larch_insn_gen_break() constant
        LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
        LoongArch: Use rustc option -Zdirect-access-external-data
        LoongArch: Add support for relocating the kernel with RELR relocation
        LoongArch: Remove a redundant checking in relocator
        LoongArch: Use correct API to map cmdline in relocate_kernel()
        LoongArch: Automatically disable KASLR for hibernation
        LoongArch: Add ACPI standard hardware register based S3 support
        LoongArch: Add architectural preparation for CPUFreq
        LoongArch: Add writecombine support for DMW-based ioremap()
        LoongArch: Add ARCH_HAS_DEBUG_VM_PGTABLE support
        LoongArch: Add ARCH_HAS_PTE_DEVMAP support
        LoongArch: Add RANDOMIZE_KSTACK_OFFSET support
        LoongArch: Add irq_work support via self IPIs
        LoongArch: Always enumerate MADT and setup logical-physical CPU mapping
        LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h
      a362ade8
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.11-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 539fbb91
      Linus Torvalds authored
      Pull thermal control fix from Rafael Wysocki:
       "Fix a flood of kernel messages coming from the thermal core on systems
        where iwlwifi is loaded, but the network interfaces controlled by it
        are down (Rafael Wysocki)"
      
      * tag 'thermal-6.11-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal: core: Allow thermal zones to tell the core to ignore them
      539fbb91
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.11-20240722' of git://git.kernel.dk/linux · 9deed1d5
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two minor fixes in here, both heading to stable. In detail:
      
         - Fix error where forced async uring_cmd getsockopt returns the wrong
           value on execution, leading to it never being completed (Pavel)
      
         - Fix io_alloc_pbuf_ring() using a NULL check rather than IS_ERR
           (Pavel)"
      
      * tag 'io_uring-6.11-20240722' of git://git.kernel.dk/linux:
        io_uring: fix error pbuf checking
        io_uring: fix lost getsockopt completions
      9deed1d5
    • Linus Torvalds's avatar
      Merge tag 'for-6.11/block-20240722' of git://git.kernel.dk/linux · 7d080fa8
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
      
       - MD fixes via Song:
           - md-cluster fixes (Heming Zhao)
           - raid1 fix (Mateusz Jończyk)
      
       - s390/dasd module description (Jeff)
      
       - Series cleaning up and hardening the blk-mq debugfs flag handling
         (John, Christoph)
      
       - blk-cgroup cleanup (Xiu)
      
       - Error polled IO attempts if backend doesn't support it (hexue)
      
       - Fix for an sbitmap hang (Yang)
      
      * tag 'for-6.11/block-20240722' of git://git.kernel.dk/linux: (23 commits)
        blk-cgroup: move congestion_count to struct blkcg
        sbitmap: fix io hung due to race on sbitmap_word::cleared
        block: avoid polling configuration errors
        block: Catch possible entries missing from rqf_name[]
        block: Simplify definition of RQF_NAME()
        block: Use enum to define RQF_x bit indexes
        block: Catch possible entries missing from cmd_flag_name[]
        block: Catch possible entries missing from alloc_policy_name[]
        block: Catch possible entries missing from hctx_flag_name[]
        block: Catch possible entries missing from hctx_state_name[]
        block: Catch possible entries missing from blk_queue_flag_name[]
        block: Make QUEUE_FLAG_x as an enum
        block: Relocate BLK_MQ_MAX_DEPTH
        block: Relocate BLK_MQ_CPU_WORK_BATCH
        block: remove QUEUE_FLAG_STOPPED
        block: Add missing entry to hctx_flag_name[]
        block: Add zone write plugging entry to rqf_name[]
        block: Add missing entries from cmd_flag_name[]
        s390/dasd: fix error checks in dasd_copy_pair_store()
        s390/dasd: add missing MODULE_DESCRIPTION() macros
        ...
      7d080fa8
    • Linus Torvalds's avatar
      Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linux · 02569948
      Linus Torvalds authored
      Pull block integrity mapping updates from Jens Axboe:
       "A set of cleanups and fixes for the block integrity support.
      
        Sent separately from the main block changes from last week, as they
        depended on later fixes in the 6.10-rc cycle"
      
      * tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linux:
        block: don't free the integrity payload in bio_integrity_unmap_free_user
        block: don't free submitter owned integrity payload on I/O completion
        block: call bio_integrity_unmap_free_user from blk_rq_unmap_user
        block: don't call bio_uninit from bio_endio
        block: also return bio_integrity_payload * from stubs
        block: split integrity support out of bio.h
      02569948
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-07-22' of https://evilpiepirate.org/git/bcachefs · dd018c23
      Linus Torvalds authored
      Pull bcachefs fixes from Kent Overstreet:
      
       - another fix for fsck getting stuck, from marcin
      
       - small syzbot fix
      
       - another undefined shift fix
      
      * tag 'bcachefs-2024-07-22' of https://evilpiepirate.org/git/bcachefs:
        bcachefs: Fix printbuf usage while atomic
        bcachefs: More informative error message in reattach_inode()
        bcachefs: kill btree_trans_too_many_iters() in bch2_bucket_alloc_freelist()
        bcachefs: mean_and_variance: Avoid too-large shift amounts
      dd018c23
    • Linus Torvalds's avatar
      Merge tag 'ntfs3_for_6.11' of https://github.com/Paragon-Software-Group/linux-ntfs3 · 5ea6d724
      Linus Torvalds authored
      Pull ntfs3 updates from Konstantin Komarov:
       "New code:
         - simple fileattr support
      
        Fixes:
         - transform resident to nonresident for compressed files
         - the format of the "nocase" mount option
         - getting file type
         - many other internal bugs
      
        Refactoring:
         - remove unused functions and macros
         - partial transition from page to folio (suggested by Matthew Wilcox)
         - legacy ntfs support"
      
      * tag 'ntfs3_for_6.11' of https://github.com/Paragon-Software-Group/linux-ntfs3: (42 commits)
        fs/ntfs3: Fix formatting, change comments, renaming
        fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
        fs/ntfs3: Implement simple fileattr
        fs/ntfs3: Redesign legacy ntfs support
        fs/ntfs3: Use function file_inode to get inode from file
        fs/ntfs3: Minor ntfs_list_ea refactoring
        fs/ntfs3: Check more cases when directory is corrupted
        fs/ntfs3: Do copy_to_user out of run_lock
        fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
        fs/ntfs3: Missed error return
        fs/ntfs3: Fix the format of the "nocase" mount option
        fs/ntfs3: Fix field-spanning write in INDEX_HDR
        ntfs3: Convert attr_wof_frame_info() to use a folio
        ntfs3: Convert ni_readpage_cmpr() to take a folio
        ntfs3: Convert ntfs_get_frame_pages() to use a folio
        ntfs3: Remove calls to set/clear the error flag
        ntfs3: Convert attr_make_nonresident to use a folio
        ntfs3: Convert attr_data_write_resident to use a folio
        ntfs3: Convert ntfs_write_end() to work on a folio
        ntfs3: Convert attr_data_read_resident() to take a folio
        ...
      5ea6d724
    • Kent Overstreet's avatar
      bcachefs: Fix printbuf usage while atomic · 737759fc
      Kent Overstreet authored
      Reported-by: syzbot+f765e51170cf13493f0b@syzkaller.appspotmail.com
      Fixes: f12410bb ("bcachefs: Add an error message for insufficient rw journal devs")
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      737759fc
    • Kent Overstreet's avatar
    • Linus Torvalds's avatar
      Merge tag '6.11-rc-smb3-server-fixes' of git://git.samba.org/ksmbd · 93306970
      Linus Torvalds authored
      Pull smb server fixes from Steve French:
      
       - two durable handle improvements
      
       - two small cleanup patches
      
      * tag '6.11-rc-smb3-server-fixes' of git://git.samba.org/ksmbd:
        ksmbd: add durable scavenger timer
        ksmbd: avoid reclaiming expired durable opens by the client
        ksmbd: Constify struct ksmbd_transport_ops
        ksmbd: remove duplicate SMB2 Oplock levels definitions
      93306970
    • Linus Torvalds's avatar
      Merge tag 'mm-nonmm-stable-2024-07-21-15-07' of... · 527eff22
      Linus Torvalds authored
      Merge tag 'mm-nonmm-stable-2024-07-21-15-07' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull non-MM updates from Andrew Morton:
      
       - In the series "treewide: Refactor heap related implementation",
         Kuan-Wei Chiu has significantly reworked the min_heap library code
         and has taught bcachefs to use the new more generic implementation.
      
       - Yury Norov's series "Cleanup cpumask.h inclusion in core headers"
         reworks the cpumask and nodemask headers to make things generally
         more rational.
      
       - Kuan-Wei Chiu has sent along some maintenance work against our
         sorting library code in the series "lib/sort: Optimizations and
         cleanups".
      
       - More library maintainance work from Christophe Jaillet in the series
         "Remove usage of the deprecated ida_simple_xx() API".
      
       - Ryusuke Konishi continues with the nilfs2 fixes and clanups in the
         series "nilfs2: eliminate the call to inode_attach_wb()".
      
       - Kuan-Ying Lee has some fixes to the gdb scripts in the series "Fix
         GDB command error".
      
       - Plus the usual shower of singleton patches all over the place. Please
         see the relevant changelogs for details.
      
      * tag 'mm-nonmm-stable-2024-07-21-15-07' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (98 commits)
        ia64: scrub ia64 from poison.h
        watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
        tsacct: replace strncpy() with strscpy()
        lib/bch.c: use swap() to improve code
        test_bpf: convert comma to semicolon
        init/modpost: conditionally check section mismatch to __meminit*
        init: remove unused __MEMINIT* macros
        nilfs2: Constify struct kobj_type
        nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
        math: rational: add missing MODULE_DESCRIPTION() macro
        lib/zlib: add missing MODULE_DESCRIPTION() macro
        fs: ufs: add MODULE_DESCRIPTION()
        lib/rbtree.c: fix the example typo
        ocfs2: add bounds checking to ocfs2_check_dir_entry()
        fs: add kernel-doc comments to ocfs2_prepare_orphan_dir()
        coredump: simplify zap_process()
        selftests/fpu: add missing MODULE_DESCRIPTION() macro
        compiler.h: simplify data_race() macro
        build-id: require program headers to be right after ELF header
        resource: add missing MODULE_DESCRIPTION()
        ...
      527eff22
    • Linus Torvalds's avatar
      Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm · fbc90c04
      Linus Torvalds authored
      Pull MM updates from Andrew Morton:
      
       - In the series "mm: Avoid possible overflows in dirty throttling" Jan
         Kara addresses a couple of issues in the writeback throttling code.
         These fixes are also targetted at -stable kernels.
      
       - Ryusuke Konishi's series "nilfs2: fix potential issues related to
         reserved inodes" does that. This should actually be in the
         mm-nonmm-stable tree, along with the many other nilfs2 patches. My
         bad.
      
       - More folio conversions from Kefeng Wang in the series "mm: convert to
         folio_alloc_mpol()"
      
       - Kemeng Shi has sent some cleanups to the writeback code in the series
         "Add helper functions to remove repeated code and improve readability
         of cgroup writeback"
      
       - Kairui Song has made the swap code a little smaller and a little
         faster in the series "mm/swap: clean up and optimize swap cache
         index".
      
       - In the series "mm/memory: cleanly support zeropage in
         vm_insert_page*(), vm_map_pages*() and vmf_insert_mixed()" David
         Hildenbrand has reworked the rather sketchy handling of the use of
         the zeropage in MAP_SHARED mappings. I don't see any runtime effects
         here - more a cleanup/understandability/maintainablity thing.
      
       - Dev Jain has improved selftests/mm/va_high_addr_switch.c's handling
         of higher addresses, for aarch64. The (poorly named) series is
         "Restructure va_high_addr_switch".
      
       - The core TLB handling code gets some cleanups and possible slight
         optimizations in Bang Li's series "Add update_mmu_tlb_range() to
         simplify code".
      
       - Jane Chu has improved the handling of our
         fake-an-unrecoverable-memory-error testing feature MADV_HWPOISON in
         the series "Enhance soft hwpoison handling and injection".
      
       - Jeff Johnson has sent a billion patches everywhere to add
         MODULE_DESCRIPTION() to everything. Some landed in this pull.
      
       - In the series "mm: cleanup MIGRATE_SYNC_NO_COPY mode", Kefeng Wang
         has simplified migration's use of hardware-offload memory copying.
      
       - Yosry Ahmed performs more folio API conversions in his series "mm:
         zswap: trivial folio conversions".
      
       - In the series "large folios swap-in: handle refault cases first",
         Chuanhua Han inches us forward in the handling of large pages in the
         swap code. This is a cleanup and optimization, working toward the end
         objective of full support of large folio swapin/out.
      
       - In the series "mm,swap: cleanup VMA based swap readahead window
         calculation", Huang Ying has contributed some cleanups and a possible
         fixlet to his VMA based swap readahead code.
      
       - In the series "add mTHP support for anonymous shmem" Baolin Wang has
         taught anonymous shmem mappings to use multisize THP. By default this
         is a no-op - users must opt in vis sysfs controls. Dramatic
         improvements in pagefault latency are realized.
      
       - David Hildenbrand has some cleanups to our remaining use of
         page_mapcount() in the series "fs/proc: move page_mapcount() to
         fs/proc/internal.h".
      
       - David also has some highmem accounting cleanups in the series
         "mm/highmem: don't track highmem pages manually".
      
       - Build-time fixes and cleanups from John Hubbard in the series
         "cleanups, fixes, and progress towards avoiding "make headers"".
      
       - Cleanups and consolidation of the core pagemap handling from Barry
         Song in the series "mm: introduce pmd|pte_needs_soft_dirty_wp helpers
         and utilize them".
      
       - Lance Yang's series "Reclaim lazyfree THP without splitting" has
         reduced the latency of the reclaim of pmd-mapped THPs under fairly
         common circumstances. A 10x speedup is seen in a microbenchmark.
      
         It does this by punting to aother CPU but I guess that's a win unless
         all CPUs are pegged.
      
       - hugetlb_cgroup cleanups from Xiu Jianfeng in the series
         "mm/hugetlb_cgroup: rework on cftypes".
      
       - Miaohe Lin's series "Some cleanups for memory-failure" does just that
         thing.
      
       - Someone other than SeongJae has developed a DAMON feature in Honggyu
         Kim's series "DAMON based tiered memory management for CXL memory".
         This adds DAMON features which may be used to help determine the
         efficiency of our placement of CXL/PCIe attached DRAM.
      
       - DAMON user API centralization and simplificatio work in SeongJae
         Park's series "mm/damon: introduce DAMON parameters online commit
         function".
      
       - In the series "mm: page_type, zsmalloc and page_mapcount_reset()"
         David Hildenbrand does some maintenance work on zsmalloc - partially
         modernizing its use of pageframe fields.
      
       - Kefeng Wang provides more folio conversions in the series "mm: remove
         page_maybe_dma_pinned() and page_mkclean()".
      
       - More cleanup from David Hildenbrand, this time in the series
         "mm/memory_hotplug: use PageOffline() instead of PageReserved() for
         !ZONE_DEVICE". It "enlightens memory hotplug more about PageOffline()
         pages" and permits the removal of some virtio-mem hacks.
      
       - Barry Song's series "mm: clarify folio_add_new_anon_rmap() and
         __folio_add_anon_rmap()" is a cleanup to the anon folio handling in
         preparation for mTHP (multisize THP) swapin.
      
       - Kefeng Wang's series "mm: improve clear and copy user folio"
         implements more folio conversions, this time in the area of large
         folio userspace copying.
      
       - The series "Docs/mm/damon/maintaier-profile: document a mailing tool
         and community meetup series" tells people how to get better involved
         with other DAMON developers. From SeongJae Park.
      
       - A large series ("kmsan: Enable on s390") from Ilya Leoshkevich does
         that.
      
       - David Hildenbrand sends along more cleanups, this time against the
         migration code. The series is "mm/migrate: move NUMA hinting fault
         folio isolation + checks under PTL".
      
       - Jan Kara has found quite a lot of strangenesses and minor errors in
         the readahead code. He addresses this in the series "mm: Fix various
         readahead quirks".
      
       - SeongJae Park's series "selftests/damon: test DAMOS tried regions and
         {min,max}_nr_regions" adds features and addresses errors in DAMON's
         self testing code.
      
       - Gavin Shan has found a userspace-triggerable WARN in the pagecache
         code. The series "mm/filemap: Limit page cache size to that supported
         by xarray" addresses this. The series is marked cc:stable.
      
       - Chengming Zhou's series "mm/ksm: cmp_and_merge_page() optimizations
         and cleanup" cleans up and slightly optimizes KSM.
      
       - Roman Gushchin has separated the memcg-v1 and memcg-v2 code - lots of
         code motion. The series (which also makes the memcg-v1 code
         Kconfigurable) are "mm: memcg: separate legacy cgroup v1 code and put
         under config option" and "mm: memcg: put cgroup v1-specific memcg
         data under CONFIG_MEMCG_V1"
      
       - Dan Schatzberg's series "Add swappiness argument to memory.reclaim"
         adds an additional feature to this cgroup-v2 control file.
      
       - The series "Userspace controls soft-offline pages" from Jiaqi Yan
         permits userspace to stop the kernel's automatic treatment of
         excessive correctable memory errors. In order to permit userspace to
         monitor and handle this situation.
      
       - Kefeng Wang's series "mm: migrate: support poison recover from
         migrate folio" teaches the kernel to appropriately handle migration
         from poisoned source folios rather than simply panicing.
      
       - SeongJae Park's series "Docs/damon: minor fixups and improvements"
         does those things.
      
       - In the series "mm/zsmalloc: change back to per-size_class lock"
         Chengming Zhou improves zsmalloc's scalability and memory
         utilization.
      
       - Vivek Kasireddy's series "mm/gup: Introduce memfd_pin_folios() for
         pinning memfd folios" makes the GUP code use FOLL_PIN rather than
         bare refcount increments. So these paes can first be moved aside if
         they reside in the movable zone or a CMA block.
      
       - Andrii Nakryiko has added a binary ioctl()-based API to
         /proc/pid/maps for much faster reading of vma information. The series
         is "query VMAs from /proc/<pid>/maps".
      
       - In the series "mm: introduce per-order mTHP split counters" Lance
         Yang improves the kernel's presentation of developer information
         related to multisize THP splitting.
      
       - Michael Ellerman has developed the series "Reimplement huge pages
         without hugepd on powerpc (8xx, e500, book3s/64)". This permits
         userspace to use all available huge page sizes.
      
       - In the series "revert unconditional slab and page allocator fault
         injection calls" Vlastimil Babka removes a performance-affecting and
         not very useful feature from slab fault injection.
      
      * tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (411 commits)
        mm/mglru: fix ineffective protection calculation
        mm/zswap: fix a white space issue
        mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio
        mm/hugetlb: fix possible recursive locking detected warning
        mm/gup: clear the LRU flag of a page before adding to LRU batch
        mm/numa_balancing: teach mpol_to_str about the balancing mode
        mm: memcg1: convert charge move flags to unsigned long long
        alloc_tag: fix page_ext_get/page_ext_put sequence during page splitting
        lib: reuse page_ext_data() to obtain codetag_ref
        lib: add missing newline character in the warning message
        mm/mglru: fix overshooting shrinker memory
        mm/mglru: fix div-by-zero in vmpressure_calc_level()
        mm/kmemleak: replace strncpy() with strscpy()
        mm, page_alloc: put should_fail_alloc_page() back behing CONFIG_FAIL_PAGE_ALLOC
        mm, slab: put should_failslab() back behind CONFIG_SHOULD_FAILSLAB
        mm: ignore data-race in __swap_writepage
        hugetlbfs: ensure generic_hugetlb_get_unmapped_area() returns higher address than mmap_min_addr
        mm: shmem: rename mTHP shmem counters
        mm: swap_state: use folio_alloc_mpol() in __read_swap_cache_async()
        mm/migrate: putback split folios when numa hint migration fails
        ...
      fbc90c04
  3. 21 Jul, 2024 10 commits