1. 25 Jul, 2024 8 commits
  2. 24 Jul, 2024 7 commits
  3. 23 Jul, 2024 6 commits
  4. 22 Jul, 2024 1 commit
  5. 19 Jul, 2024 18 commits
    • Linus Torvalds's avatar
      Merge tag 'net-6.11-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · d7e78951
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from netfilter.
      
        Notably this includes fixes for a s390 build breakage.
      
        Current release - new code bugs:
      
         - eth: fbnic: fix s390 build
      
         - eth: airoha: fix NULL pointer dereference in
           airoha_qdma_cleanup_rx_queue()
      
        Previous releases - regressions:
      
         - flow_dissector: use DEBUG_NET_WARN_ON_ONCE
      
         - ipv4: fix incorrect TOS in route get reply
      
         - dsa: fix chip-wide frame size config in some drivers
      
        Previous releases - always broken:
      
         - netfilter: nf_set_pipapo: fix initial map fill
      
         - eth: gve: fix XDP TX completion handling when counters overflow"
      
      * tag 'net-6.11-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net:
        eth: fbnic: don't build the driver when skb has more than 21 frags
        net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
        net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
        net: airoha: Fix NULL pointer dereference in airoha_qdma_cleanup_rx_queue()
        net: wwan: t7xx: add support for Dell DW5933e
        ipv4: Fix incorrect TOS in fibmatch route get reply
        ipv4: Fix incorrect TOS in route get reply
        net: flow_dissector: use DEBUG_NET_WARN_ON_ONCE
        driver core: auxiliary bus: Fix documentation of auxiliary_device
        net: airoha: fix error branch in airoha_dev_xmit and airoha_set_gdm_ports
        gve: Fix XDP TX completion handling when counters overflow
        ipvs: properly dereference pe in ip_vs_add_service
        selftests: netfilter: add test case for recent mismatch bug
        netfilter: nf_set_pipapo: fix initial map fill
        netfilter: ctnetlink: use helper function to calculate expect ID
        eth: fbnic: fix s390 build.
      d7e78951
    • Linus Torvalds's avatar
      Merge tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 53a5182c
      Linus Torvalds authored
      Pull btrfs fix from David Sterba:
       "A fix for build breakage on 32bit platforms"
      
      * tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: change BTRFS_MOUNT_* flags to 64bit type
      53a5182c
    • Linus Torvalds's avatar
      Merge tag 'probes-fixes-v6.11-pre-rc' of... · 33cf0987
      Linus Torvalds authored
      Merge tag 'probes-fixes-v6.11-pre-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
      
      Pull uprobe fix from Masami Hiramatsu:
      
       - Add sys_uretprobe entry to scripts/syscall.tbl.
      
      * tag 'probes-fixes-v6.11-pre-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        syscalls: Fix to add sys_uretprobe to syscall.tbl
      33cf0987
    • Linus Torvalds's avatar
      Merge tag 'pwrseq-fixes-for-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 9c67f908
      Linus Torvalds authored
      Pull power sequencing fixes from Bartosz Golaszewski:
       "There's one fix for an invalid pointer dereference in error path
        reported by smatch and two patches that address the noisy config
        choices you reported earlier this week.
      
        Summary:
      
         - fix an invalid pointer dereference in error path in pwrseq core
      
         - reduce the Kconfig noise from PCI pwrctl choices"
      
      * tag 'pwrseq-fixes-for-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        arm64: qcom: don't select HAVE_PWRCTL when PCI=n
        Kconfig: reduce the amount of power sequencing noise
        power: sequencing: fix an invalid pointer dereference in error path
      9c67f908
    • Linus Torvalds's avatar
      Merge tag 'sound-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 12cc3d53
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "Lots of changes in this cycle, but mostly for cleanups and
        refactoring.
      
        Significant amount of changes are about DT schema conversions for ASoC
        at this time while we see other usual suspects, too.
      
        Some highlights below:
      
        Core:
         - Re-introduction of PCM sync ID support API
         - MIDI2 time-base extension in ALSA sequencer API
      
        ASoC:
         - Syncing of features between simple-audio-card and the two
           audio-graph cards
         - Support for specifying the order of operations for components
           within cards to allow quirking for unusual systems
         - Lots of DT schema conversions
         - Continued SOF/Intel updates for topology, SoundWire, IPC3/4
         - New support for Asahi Kasei AK4619, Cirrus Logic CS530x, Everest
           Semiconductors ES8311, NXP i.MX95 and LPC32xx, Qualcomm LPASS v2.5
           and WCD937x, Realtek RT1318 and RT1320 and Texas Instruments
           PCM5242
      
        HD-audio:
         - More quirks, Intel PantherLake support, senarytech codec support
         - Refactoring of Cirrus codec component-binding
      
        Others:
         - ALSA control kselftest improvements, and fixes for input value
           checks in various drivers"
      
      * tag 'sound-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (349 commits)
        kselftest/alsa: Log the PCM ID in pcm-test
        kselftest/alsa: Use card name rather than number in test names
        ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
        ALSA: hda/tas2781: Add new quirk for Lenovo Hera2 Laptop
        ALSA: seq: ump: Skip useless ports for static blocks
        ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused
        ALSA: usb: Use BIT() for bit values
        ALSA: usb: Fix UBSAN warning in parse_audio_unit()
        ALSA: hda/realtek: Enable headset mic on Positivo SU C1400
        ASoC: tas2781: Add new Kontrol to set tas2563 digital Volume
        ASoC: codecs: wcd937x: Remove separate handling for vdd-buck supply
        ASoC: codecs: wcd937x: Remove the string compare in MIC BIAS widget settings
        ASoC: codecs: wcd937x-sdw: Fix Unbalanced pm_runtime_enable
        ASoC: dt-bindings: cirrus,cs42xx8: Convert to dtschema
        ASoC: cs530x: Remove bclk from private structure
        ASoC: cs530x: Calculate proper bclk rate using TDM
        ASoC: dt-bindings: cirrus,cs4270: Convert to dtschema
        firmware: cs_dsp: Rename fw_ver to wmfw_ver
        firmware: cs_dsp: Clarify wmfw format version log message
        firmware: cs_dsp: Make wmfw and bin filename arguments const char *
        ...
      12cc3d53
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · a4f92855
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "This a large collection of clk driver updates and a handful of new SoC
        clk driver support.
      
        We have the usual Qualcomm clk drivers, along with clk drivers for the
        Sophgo and T-Head vendors, all to support some new SoCs.
      
        Nothing in particular stands out to me in the updates. There's the
        interconnect clk driver which exposes clks as interconnects, crossing
        subsystems. There's a bunch of janitorial things that are improving
        drivers in general like kmemdup_array() or fixing error paths. But
        overall the updates look normal to fix the description data which is
        usually the stuff that's wrong and/or untested.
      
        Core:
         - Skip gate basic type KUnit tests on s390 due to lack of MMIO
           emulation
      
        New Drivers:
         - AP sub-system clock controller in the T-Head TH1520
         - Sophgo Sophon sg2042 clk driver
         - Qualcomm SM7150 camera, display and video clk drivers
         - Qualcomm QCM2290 GPU clk driver
         - Qualcomm QCS8386/QCS8084 NSS clk driver
         - Qualcomm SM8650 camera and video drivers
      
        Updates:
         - Add reset support to Airoha EN7581 clk driver
         - Add MODULE_DESCRIPTIONs to various clk drivers
         - Introduce helper logic to expose clock controllers as simple
           interconnect providers
         - Use the interconnect helper above on Qualcomm ipq9574
         - Add CLK_SET_RATE_PARENT to the remaining USB pipe clocks on
           Qualcomm X1Elite
         - Improve error handling in Qualcomm kpss-xcc driver
         - Mark Qualcomm SC8280XP LPASS clock controller regmap_config const
         - Export more clocks for Rockchip rk3128 peripherals
         - Convert Rockchip clk drivers to use kmemdup_array()
         - Drop CLK_NR_CLKS from Rockchip rk3128 and rk3188 binding headers
         - Make qcom_cc_really_probe() take a struct device to allow reuse in
           non-platform-drivers
         - Introduce prepare-only branch clock ops in the qcom clk driver to
           support clocks on buses that take locks
         - Describe parent/child relationship for Qualcomm SC7280 camera GDSCs
         - Support Qualcomm Huayra 2290 alpha PLL
         - Adjust the highest SDCC clock frequency on Qualcomm IPQ6018 to
           match HS200 support
         - Add missing PCIe PIPE clocks on Qualcomm IPQ9574
         - Fix various configurations and properties in the Qualcomm SA8775P,
           X1E80100 and SM7280 drivers
         - Park Qualcomm SM8350 GPU RCGs on XO while disabled
         - Remove unused CONFIG_QCOM_RPMCC Kconfig symbol
         - exynos-clkout: Remove usage of of_device_id table as
           .of_match_table, because the driver is instantiated as MFD cell,
           not as standalone platform driver. Populated .of_match_table
           confused people few times to convert the code to
           device_get_match_data(), which broke the driver
         - Mark one Samsung UFS clock as critical, because having it off stops
           the system from shutdown
         - Use kmemdup_array() when applicable
         - Remove unused 'struct gates_data' from old sunxi driver library
         - Add GPADC clock and reset for Allwinner H616
         - Minor Amlogic S4 clock fixes
         - DT bindings Yaml conversion of the Amlogic AXG audio controller
         - Amlogic C3 clock controllers support
         - Amlogic clk flag added to skip init of already enabled PLLs and
           avoid relocking
         - Amlogic A1 DT bindings updates for system pll support
         - Add missing MODULE_DESCRIPTION where necessary
         - Remove obsolete clock DT binding header files
         - Add Battery Backup (VBATTB) and I2C clocks, resets, and power
           domains on Renesas RZ/G3S
         - Add audio clocks on Renesas R-Car V4M
         - Add video capture (ISPCS, CSI-2, VIN) clocks on Renesas R-Car V4M"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (135 commits)
        clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks
        dt-bindings: clock: Document T-Head TH1520 AP_SUBSYS controller
        clk: sophgo: Avoid -Wsometimes-uninitialized in sg2042_clk_pll_set_rate()
        clk/sophgo: Using BUG() instead of unreachable() in mmux_get_parent_id()
        clk: mxs: Use clamp() in clk_ref_round_rate() and clk_ref_set_rate()
        clk: sunxi-ng r40: Constify struct regmap_config
        clk: en7523: fix rate divider for slic and spi clocks
        clk: lpc32xx: Constify struct regmap_config
        clk: xilinx: Constify struct regmap_config
        clk: en7523: Remove PCIe reset open drain configuration for EN7581
        clk: en7523: Remove pcie prepare/unpreare callbacks for EN7581 SoC
        clk: en7523: Add reset-controller support for EN7581 SoC
        dt-bindings: clock: airoha: Add reset support to EN7581 clock binding
        dt-bindings: clock: mediatek: Document reset cells for MT8188 sys
        clk: mediatek: mt8173-infracfg: Handle unallocated infracfg when module
        dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
        dt-bindings: clock: sprd,sc9860-clk: convert to YAML
        dt-bindings: clock: qoriq-clock: convert to yaml format
        clk: qcom: Park shared RCGs upon registration
        clk: qcom: ipq9574: Use icc-clk for enabling NoC related clocks
        ...
      a4f92855
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · f4f92db4
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "Several new features here:
      
         - Virtio find vqs API has been reworked (required to fix the
           scalability issue we have with adminq, which I hope to merge later
           in the cycle)
      
         - vDPA driver for Marvell OCTEON
      
         - virtio fs performance improvement
      
         - mlx5 migration speedups
      
        Fixes, cleanups all over the place"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (56 commits)
        virtio: rename virtio_find_vqs_info() to virtio_find_vqs()
        virtio: remove unused virtio_find_vqs() and virtio_find_vqs_ctx() helpers
        virtio: convert the rest virtio_find_vqs() users to virtio_find_vqs_info()
        virtio_balloon: convert to use virtio_find_vqs_info()
        virtiofs: convert to use virtio_find_vqs_info()
        scsi: virtio_scsi: convert to use virtio_find_vqs_info()
        virtio_net: convert to use virtio_find_vqs_info()
        virtio_crypto: convert to use virtio_find_vqs_info()
        virtio_console: convert to use virtio_find_vqs_info()
        virtio_blk: convert to use virtio_find_vqs_info()
        virtio: rename find_vqs_info() op to find_vqs()
        virtio: remove the original find_vqs() op
        virtio: call virtio_find_vqs_info() from virtio_find_single_vq() directly
        virtio: convert find_vqs() op implementations to find_vqs_info()
        virtio_pci: convert vp_*find_vqs() ops to find_vqs_info()
        virtio: introduce virtio_queue_info struct and find_vqs_info() config op
        virtio: make virtio_find_single_vq() call virtio_find_vqs()
        virtio: make virtio_find_vqs() call virtio_find_vqs_ctx()
        caif_virtio: use virtio_find_single_vq() for single virtqueue finding
        vdpa/mlx5: Don't enable non-active VQs in .set_vq_ready()
        ...
      f4f92db4
    • Linus Torvalds's avatar
      Merge tag 'vfio-v6.11-rc1' of https://github.com/awilliam/linux-vfio · f66b07c5
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Add support for 8-byte accesses when using read/write through the
         device regions.  This fills a gap for userspace drivers that might
         not be able to use access through mmap to perform native register
         width accesses (Gerd Bayer)
      
       - Add missing MODULE_DESCRIPTION to vfio-mdev sample drivers and
         replace a non-standard MODULE_INFO usage (Jeff Johnson)
      
      * tag 'vfio-v6.11-rc1' of https://github.com/awilliam/linux-vfio:
        vfio-mdev: add missing MODULE_DESCRIPTION() macros
        vfio/pci: Fix typo in macro to declare accessors
        vfio/pci: Support 8-byte PCI loads and stores
        vfio/pci: Extract duplicated code into macro
      f66b07c5
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 4305ca00
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "Updates to the usual drivers (ufs, lpfc, qla2xxx, mpi3mr) plus some
        misc small fixes.
      
        The only core changes are to both bsg and scsi to pass in the device
        instead of setting it afterwards as q->queuedata, so no functional
        change"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (69 commits)
        scsi: aha152x: Use DECLARE_COMPLETION_ONSTACK for non-constant completion
        scsi: qla2xxx: Convert comma to semicolon
        scsi: qla2xxx: Update version to 10.02.09.300-k
        scsi: qla2xxx: Use QP lock to search for bsg
        scsi: qla2xxx: Reduce fabric scan duplicate code
        scsi: qla2xxx: Fix optrom version displayed in FDMI
        scsi: qla2xxx: During vport delete send async logout explicitly
        scsi: qla2xxx: Complete command early within lock
        scsi: qla2xxx: Fix flash read failure
        scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
        scsi: qla2xxx: Fix for possible memory corruption
        scsi: qla2xxx: validate nvme_local_port correctly
        scsi: qla2xxx: Unable to act on RSCN for port online
        scsi: ufs: exynos: Add support for Flash Memory Protector (FMP)
        scsi: ufs: core: Add UFSHCD_QUIRK_KEYS_IN_PRDT
        scsi: ufs: core: Add fill_crypto_prdt variant op
        scsi: ufs: core: Add UFSHCD_QUIRK_BROKEN_CRYPTO_ENABLE
        scsi: ufs: core: fold ufshcd_clear_keyslot() into its caller
        scsi: ufs: core: Add UFSHCD_QUIRK_CUSTOM_CRYPTO_PROFILE
        scsi: ufs: mcq: Make .get_hba_mac() optional
        ...
      4305ca00
    • Linus Torvalds's avatar
      Merge tag 'for-6.11/dm-changes' of... · 661fb4e6
      Linus Torvalds authored
      Merge tag 'for-6.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper updates from Mikulas Patocka:
      
       - Optimize processing of flush bios in the dm-linear and dm-stripe
         targets
      
       - Dm-io cleansups and refactoring
      
       - Remove unused 'struct thunk' in dm-cache
      
       - Handle minor device numbers > 255 in dm-init
      
       - Dm-verity refactoring & enabling platform keyring
      
       - Fix warning in dm-raid
      
       - Improve dm-crypt performance - split bios to smaller pieces, so that
         They could be processed concurrently
      
       - Stop using blk_limits_io_{min,opt}
      
       - Dm-vdo cleanup and refactoring
      
       - Remove max_write_zeroes_granularity and max_secure_erase_granularity
      
       - Dm-multipath cleanup & refactoring
      
       - Add dm-crypt and dm-integrity support for non-power-of-2 sector size
      
       - Fix reshape in dm-raid
      
       - Make dm_block_validator const
      
      * tag 'for-6.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (33 commits)
        dm vdo: fix a minor formatting issue in vdo.rst
        dm vdo int-map: fix kerneldoc formatting
        dm vdo repair: add missing kerneldoc fields
        dm: Constify struct dm_block_validator
        dm-integrity: introduce the Inline mode
        dm: introduce the target flag mempool_needs_integrity
        dm raid: fix stripes adding reshape size issues
        dm raid: move _get_reshape_sectors() as prerequisite to fixing reshape size issues
        dm-crypt: support for per-sector NVMe metadata
        dm mpath: don't call dm_get_device in multipath_message
        dm: factor out helper function from dm_get_device
        dm-verity: fix dm_is_verity_target() when dm-verity is builtin
        dm: Remove max_secure_erase_granularity
        dm: Remove max_write_zeroes_granularity
        dm vdo indexer: use swap() instead of open coding it
        dm vdo: remove unused struct 'uds_attribute'
        dm: stop using blk_limits_io_{min,opt}
        dm-crypt: limit the size of encryption requests
        dm verity: add support for signature verification with platform keyring
        dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume
        ...
      661fb4e6
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-6.11-2024-07-19' of git://git.infradead.org/users/hch/dma-mapping · afd81d91
      Linus Torvalds authored
      Pull dma-mapping updates from Christoph Hellwig:
      
       - reduce duplicate swiotlb pool lookups (Michael Kelley)
      
       - minor small fixes (Yicong Yang, Yang Li)
      
      * tag 'dma-mapping-6.11-2024-07-19' of git://git.infradead.org/users/hch/dma-mapping:
        swiotlb: fix kernel-doc description for swiotlb_del_transient
        swiotlb: reduce swiotlb pool lookups
        dma-mapping: benchmark: Don't starve others when doing the test
      afd81d91
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux · ebcfbf02
      Linus Torvalds authored
      Pull iommu updates from Will Deacon:
       "Core:
      
         - Support for the "ats-supported" device-tree property
      
         - Removal of the 'ops' field from 'struct iommu_fwspec'
      
         - Introduction of iommu_paging_domain_alloc() and partial conversion
           of existing users
      
         - Introduce 'struct iommu_attach_handle' and provide corresponding
           IOMMU interfaces which will be used by the IOMMUFD subsystem
      
         - Remove stale documentation
      
         - Add missing MODULE_DESCRIPTION() macro
      
         - Misc cleanups
      
        Allwinner Sun50i:
      
         - Ensure bypass mode is disabled on H616 SoCs
      
         - Ensure page-tables are allocated below 4GiB for the 32-bit
           page-table walker
      
         - Add new device-tree compatible strings
      
        AMD Vi:
      
         - Use try_cmpxchg64() instead of cmpxchg64() when updating pte
      
        Arm SMMUv2:
      
         - Print much more useful information on context faults
      
         - Fix Qualcomm TBU probing when CONFIG_ARM_SMMU_QCOM_DEBUG=n
      
         - Add new Qualcomm device-tree bindings
      
        Arm SMMUv3:
      
         - Support for hardware update of access/dirty bits and reporting via
           IOMMUFD
      
         - More driver rework from Jason, this time updating the PASID/SVA
           support to prepare for full IOMMUFD support
      
         - Add missing MODULE_DESCRIPTION() macro
      
         - Minor fixes and cleanups
      
        NVIDIA Tegra:
      
         - Fix for benign fwspec initialisation issue exposed by rework on the
           core branch
      
        Intel VT-d:
      
         - Use try_cmpxchg64() instead of cmpxchg64() when updating pte
      
         - Use READ_ONCE() to read volatile descriptor status
      
         - Remove support for handling Execute-Requested requests
      
         - Avoid calling iommu_domain_alloc()
      
         - Minor fixes and refactoring
      
        Qualcomm MSM:
      
         - Updates to the device-tree bindings"
      
      * tag 'iommu-updates-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux: (72 commits)
        iommu/tegra-smmu: Pass correct fwnode to iommu_fwspec_init()
        iommu/vt-d: Fix identity map bounds in si_domain_init()
        iommu: Move IOMMU_DIRTY_NO_CLEAR define
        dt-bindings: iommu: Convert msm,iommu-v0 to yaml
        iommu/vt-d: Fix aligned pages in calculate_psi_aligned_address()
        iommu/vt-d: Limit max address mask to MAX_AGAW_PFN_WIDTH
        docs: iommu: Remove outdated Documentation/userspace-api/iommu.rst
        arm64: dts: fvp: Enable PCIe ATS for Base RevC FVP
        iommu/of: Support ats-supported device-tree property
        dt-bindings: PCI: generic: Add ats-supported property
        iommu: Remove iommu_fwspec ops
        OF: Simplify of_iommu_configure()
        ACPI: Retire acpi_iommu_fwspec_ops()
        iommu: Resolve fwspec ops automatically
        iommu/mediatek-v1: Clean up redundant fwspec checks
        RDMA/usnic: Use iommu_paging_domain_alloc()
        wifi: ath11k: Use iommu_paging_domain_alloc()
        wifi: ath10k: Use iommu_paging_domain_alloc()
        drm/msm: Use iommu_paging_domain_alloc()
        vhost-vdpa: Use iommu_paging_domain_alloc()
        ...
      ebcfbf02
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 3d515209
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "Usual collection of small improvements and fixes:
      
         - Bug fixes and minor improvments in efa, irdma, mlx4, mlx5, rxe,
           hf1, qib, ocrdma
      
         - bnxt_re support for MSN, which is a new retransmit logic
      
         - Initial mana support for RC qps
      
         - Use after free bug and cleanups in iwcm
      
         - Reduce resource usage in mlx5 when RDMA verbs features are not used
      
         - New verb to drain shared recieve queues, similar to normal recieve
           queues. This is necessary to allow ULPs a clean shutdown. Used in
           the iscsi rdma target
      
         - mlx5 support for more than 16 bits of doorbell indexes
      
         - Doorbell moderation support for bnxt_re
      
         - IB multi-plane support for mlx5
      
         - New EFA adaptor PCI IDs
      
         - RDMA_NAME_ASSIGN_TYPE_USER to hint to userspace that it shouldn't
           rename the device
      
         - A collection of hns bugs
      
         - Fix long standing bug in bnxt_re with incorrect endian handling of
           immediate data"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (65 commits)
        IB/hfi1: Constify struct flag_table
        RDMA/mana_ib: Set correct device into ib
        bnxt_re: Fix imm_data endianness
        RDMA: Fix netdev tracker in ib_device_set_netdev
        RDMA/hns: Fix mbx timing out before CMD execution is completed
        RDMA/hns: Fix insufficient extend DB for VFs.
        RDMA/hns: Fix undifined behavior caused by invalid max_sge
        RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
        RDMA/hns: Fix missing pagesize and alignment check in FRMR
        RDMA/hns: Fix unmatch exception handling when init eq table fails
        RDMA/hns: Fix soft lockup under heavy CEQE load
        RDMA/hns: Check atomic wr length
        RDMA/ocrdma: Don't inline statistics functions
        RDMA/core: Introduce "name_assign_type" for an IB device
        RDMA/qib: Fix truncation compilation warnings in qib_verbs.c
        RDMA/qib: Fix truncation compilation warnings in qib_init.c
        RDMA/efa: Add EFA 0xefa3 PCI ID
        RDMA/mlx5: Support per-plane port IB counters by querying PPCNT register
        net/mlx5: mlx5_ifc update for accessing ppcnt register of plane ports
        RDMA/mlx5: Add plane index support when querying PTYS registers
        ...
      3d515209
    • Linus Torvalds's avatar
      Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · ef7c8f2b
      Linus Torvalds authored
      Pull iommufd updates from Jason Gunthorpe:
      
       - The iova_bitmap logic for efficiently reporting dirty pages back to
         userspace has a few more tricky corner case bugs that have been
         resolved and backed with new tests.
      
         The revised version has simpler logic.
      
       - Shared branch with iommu for handle support when doing domain attach.
      
         Handles allow the domain owner to include additional private data on
         a per-device basis.
      
       - IO Page Fault Reporting to userspace via iommufd. Page faults can be
         generated on fault capable HWPTs when a translation is not present.
      
         Routing them to userspace would allow a VMM to be able to virtualize
         them into an emulated vIOMMU. This is the next step to fully enabling
         vSVA support.
      
      * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd: (26 commits)
        iommufd: Put constants for all the uAPI enums
        iommufd: Fix error pointer checking
        iommufd: Add check on user response code
        iommufd: Remove IOMMUFD_PAGE_RESP_FAILURE
        iommufd: Require drivers to supply the cache_invalidate_user ops
        iommufd/selftest: Add coverage for IOPF test
        iommufd/selftest: Add IOPF support for mock device
        iommufd: Associate fault object with iommufd_hw_pgtable
        iommufd: Fault-capable hwpt attach/detach/replace
        iommufd: Add iommufd fault object
        iommufd: Add fault and response message definitions
        iommu: Extend domain attach group with handle support
        iommu: Add attach handle to struct iopf_group
        iommu: Remove sva handle list
        iommu: Introduce domain attachment handle
        iommufd/iova_bitmap: Remove iterator logic
        iommufd/iova_bitmap: Dynamic pinning on iova_bitmap_set()
        iommufd/iova_bitmap: Consolidate iova_bitmap_set exit conditionals
        iommufd/iova_bitmap: Move initial pinning to iova_bitmap_for_each()
        iommufd/iova_bitmap: Cache mapped length in iova_bitmap_map struct
        ...
      ef7c8f2b
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-6.11-rc1-roundtwo' of... · 07e773db
      Linus Torvalds authored
      Merge tag 'tpmdd-next-6.11-rc1-roundtwo' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
      
      Pull tpm fix from Jarkko Sakkinen:
       "An additional fix that supplements my earlier fixes for handling auth,
        which I unfortunately missed last time"
      
      * tag 'tpmdd-next-6.11-rc1-roundtwo' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        tpm: Use auth only after NULL check in tpm_buf_check_hmac_response()
      07e773db
    • Linus Torvalds's avatar
      Merge tag 'v6.11-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · c434e25b
      Linus Torvalds authored
      Pull crypto update from Herbert Xu:
       "API:
         - Test setkey in no-SIMD context
         - Add skcipher speed test for user-specified algorithm
      
        Algorithms:
         - Add x25519 support on ppc64le
         - Add VAES and AVX512 / AVX10 optimized AES-GCM on x86
         - Remove sm2 algorithm
      
        Drivers:
         - Add Allwinner H616 support to sun8i-ce
         - Use DMA in stm32
         - Add Exynos850 hwrng support to exynos"
      
      * tag 'v6.11-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (81 commits)
        hwrng: core - remove (un)register_miscdev()
        crypto: lib/mpi - delete unnecessary condition
        crypto: testmgr - generate power-of-2 lengths more often
        crypto: mxs-dcp - Ensure payload is zero when using key slot
        hwrng: Kconfig - Do not enable by default CN10K driver
        crypto: starfive - Fix nent assignment in rsa dec
        crypto: starfive - Align rsa input data to 32-bit
        crypto: qat - fix unintentional re-enabling of error interrupts
        crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
        Documentation: qat: fix auto_reset attribute details
        crypto: sun8i-ce - add Allwinner H616 support
        crypto: sun8i-ce - wrap accesses to descriptor address fields
        dt-bindings: crypto: sun8i-ce: Add compatible for H616
        hwrng: core - Fix wrong quality calculation at hw rng registration
        hwrng: exynos - Enable Exynos850 support
        hwrng: exynos - Add SMC based TRNG operation
        hwrng: exynos - Implement bus clock control
        hwrng: exynos - Use devm_clk_get_enabled() to get the clock
        hwrng: exynos - Improve coding style
        dt-bindings: rng: Add Exynos850 support to exynos-trng
        ...
      c434e25b
    • Hou Tao's avatar
      bpf, events: Use prog to emit ksymbol event for main program · 0be9ae54
      Hou Tao authored
      Since commit 0108a4e9 ("bpf: ensure main program has an extable"),
      prog->aux->func[0]->kallsyms is left as uninitialized. For BPF programs
      with subprogs, the symbol for the main program is missing just as shown
      in the output of perf script below:
      
       ffffffff81284b69 qp_trie_lookup_elem+0xb9 ([kernel.kallsyms])
       ffffffffc0011125 bpf_prog_a4a0eb0651e6af8b_lookup_qp_trie+0x5d (bpf...)
       ffffffff8127bc2b bpf_for_each_array_elem+0x7b ([kernel.kallsyms])
       ffffffffc00110a1 +0x25 ()
       ffffffff8121a89a trace_call_bpf+0xca ([kernel.kallsyms])
      
      Fix it by always using prog instead prog->aux->func[0] to emit ksymbol
      event for the main program. After the fix, the output of perf script
      will be correct:
      
       ffffffff81284b96 qp_trie_lookup_elem+0xe6 ([kernel.kallsyms])
       ffffffffc001382d bpf_prog_a4a0eb0651e6af8b_lookup_qp_trie+0x5d (bpf...)
       ffffffff8127bc2b bpf_for_each_array_elem+0x7b ([kernel.kallsyms])
       ffffffffc0013779 bpf_prog_245c55ab25cfcf40_qp_trie_lookup+0x25 (bpf...)
       ffffffff8121a89a trace_call_bpf+0xca ([kernel.kallsyms])
      
      Fixes: 0108a4e9 ("bpf: ensure main program has an extable")
      Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
      Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
      Tested-by: default avatarYonghong Song <yonghong.song@linux.dev>
      Reviewed-by: default avatarKrister Johansen <kjlx@templeofstupid.com>
      Reviewed-by: default avatarJiri Olsa <jolsa@kernel.org>
      Link: https://lore.kernel.org/bpf/20240714065533.1112616-1-houtao@huaweicloud.com
      0be9ae54
    • Qu Wenruo's avatar
      btrfs: change BTRFS_MOUNT_* flags to 64bit type · c3ece6b7
      Qu Wenruo authored
      Currently the BTRFS_MOUNT_* flags are already beyond 32 bits, this is
      going to cause compilation errors for some 32 bit systems, as their
      unsigned long is only 32 bits long, thus flag
      BTRFS_MOUNT_IGNORESUPERFLAGS overflows and can lead to errors.
      
      Fix the problem by:
      
      - Migrate all existing BTRFS_MOUNT_* flags to unsigned long long
      - Migrate all mount option related variables to unsigned long long
        * btrfs_fs_info::mount_opt
        * btrfs_fs_context::mount_opt
        * mount_opt parameter of btrfs_check_options()
        * old_opts parameter of btrfs_remount_begin()
        * old_opts parameter of btrfs_remount_cleanup()
        * mount_opt parameter of btrfs_check_mountopts_zoned()
        * mount_opt and opt parameters of check_ro_option()
      
      Fixes: 32e62165 ("btrfs: introduce new "rescue=ignoresuperflags" mount option")
      Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
      Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
      Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
      c3ece6b7