Skip to content
Snippets Groups Projects
  1. Apr 19, 2025
  2. Apr 18, 2025
  3. Apr 17, 2025
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.15-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · fc96b232
      Linus Torvalds authored
      Pull pci fix from Bjorn Helgaas:
      
       - Revert a reset patch that broke VFIO passthrough because devices
         ended up with no available reset mechanisms (Alex Williamson)
      
      * tag 'pci-v6.15-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
        Revert "PCI: Avoid reset when disabled via sysfs"
      fc96b232
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2025-04-17' of git://evilpiepirate.org/bcachefs · 9e99c1ac
      Linus Torvalds authored
      Pull bcachefs fixes from Kent Overstreet:
       "Usual set of small fixes/logging improvements.
      
        One bigger user reported fix, for inode <-> dirent inconsistencies
        reported in fsck, after moving a subvolume that had been snapshotted"
      
      * tag 'bcachefs-2025-04-17' of git://evilpiepirate.org/bcachefs:
        bcachefs: Fix snapshotting a subvolume, then renaming it
        bcachefs: Add missing READ_ONCE() for metadata replicas
        bcachefs: snapshot_node_missing is now autofix
        bcachefs: Log message when incompat version requested but not enabled
        bcachefs: Print version_incompat_allowed on startup
        bcachefs: Silence extent_poisoned error messages
        bcachefs: btree_root_unreadable_and_scan_found_nothing now AUTOFIX
        bcachefs: fix bch2_dev_usage_full_read_fast()
        bcachefs: Don't print data read retry success on non-errors
        bcachefs: Add missing error handling
        bcachefs: Prevent granting write refs when filesystem is read-only
      9e99c1ac
    • Linus Torvalds's avatar
      Merge tag 'vfio-v6.15-rc3' of https://github.com/awilliam/linux-vfio · 399537be
      Linus Torvalds authored
      Pull vfio fix from Alex Williamson:
      
       - Include devices where the platform indicates PCI INTx is not routed
         by setting pdev->irq to zero in the expanded virtualization of the
         PCI pin register. This provides consistency in the INFO and SET_IRQS
         ioctls (Alex Williamson)
      
      * tag 'vfio-v6.15-rc3' of https://github.com/awilliam/linux-vfio:
        vfio/pci: Virtualize zero INTx PIN if no pdev->irq
      399537be
    • Linus Torvalds's avatar
      Merge tag 'spi-fix-v6.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 272876d5
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A few more device specific fixes plus one trivial quirk.
      
        There's a couple of patches for Tegra which avoid some fairly
        spectacular log spam if the hardware breaks in ways which were
        actually seen in production, plus a fix for the i.MX driver to
        propagate errors properly when setting up the hardware.
      
        We also have a trivial patch marking the sun4i driver as being
        compatible with GPIO chip selects"
      
      * tag 'spi-fix-v6.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: spi-imx: Add check for spi_imx_setupxfer()
        spi: tegra210-quad: add rate limiting and simplify timeout error message
        spi: tegra210-quad: use WARN_ON_ONCE instead of WARN_ON for timeouts
        spi: sun4i: add support for GPIO chip select lines
      272876d5
    • Linus Torvalds's avatar
      Merge tag 'net-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · b5c6891b
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from Bluetooth, CAN and Netfilter.
      
        Current release - regressions:
      
         - two fixes for the netdev per-instance locking
      
         - batman-adv: fix double-hold of meshif when getting enabled
      
        Current release - new code bugs:
      
         - Bluetooth: increment TX timestamping tskey always for stream
           sockets
      
         - wifi: static analysis and build fixes for the new Intel sub-driver
      
        Previous releases - regressions:
      
         - net: fib_rules: fix iif / oif matching on L3 master (VRF) device
      
         - ipv6: add exception routes to GC list in rt6_insert_exception()
      
         - netfilter: conntrack: fix erroneous removal of offload bit
      
         - Bluetooth:
             - fix sending MGMT_EV_DEVICE_FOUND for invalid address
             - l2cap: process valid commands in too long frame
             - btnxpuart: Revert baudrate change in nxp_shutdown
      
        Previous releases - always broken:
      
         - ethtool: fix memory corruption during SFP FW flashing
      
         - eth:
             - hibmcge: fixes for link and MTU handling, pause frames etc
             - igc: fixes for PTM (PCIe timestamping)
      
         - dsa: b53: enable BPDU reception for management port
      
        Misc:
      
         - fixes for Netlink protocol schemas"
      
      * tag 'net-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (81 commits)
        net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings
        net: ethernet: mtk_eth_soc: correct the max weight of the queue limit for 100Mbps
        net: ethernet: mtk_eth_soc: reapply mdc divider on reset
        net: ti: icss-iep: Fix possible NULL pointer dereference for perout request
        net: ti: icssg-prueth: Fix possible NULL pointer dereference inside emac_xmit_xdp_frame()
        net: ti: icssg-prueth: Fix kernel warning while bringing down network interface
        netfilter: conntrack: fix erronous removal of offload bit
        net: don't try to ops lock uninitialized devs
        ptp: ocp: fix start time alignment in ptp_ocp_signal_set
        net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails
        net: dsa: free routing table on probe failure
        net: dsa: clean up FDB, MDB, VLAN entries on unbind
        net: dsa: mv88e6xxx: fix -ENOENT when deleting VLANs and MST is unsupported
        net: dsa: mv88e6xxx: avoid unregistering devlink regions which were never registered
        net: txgbe: fix memory leak in txgbe_probe() error path
        net: bridge: switchdev: do not notify new brentries as changed
        net: b53: enable BPDU reception for management port
        netlink: specs: rt-neigh: prefix struct nfmsg members with ndm
        netlink: specs: rt-link: adjust mctp attribute naming
        netlink: specs: rtnetlink: attribute naming corrections
        ...
      b5c6891b
    • Kent Overstreet's avatar
      bcachefs: Fix snapshotting a subvolume, then renaming it · 261592ba
      Kent Overstreet authored
      Subvolume roots and the dirents that point to them are special; they
      don't obey the normal snapshot versioning rules because they cross
      snapshot boundaries.
      
      We don't keep around older versions of subvolume dirents on rename - we
      don't need to, because subvolume dirents are only visible in the parent
      subvolume, and we wouldn't be able to match up the different dirent and
      inode versions due to crossing the snapshot ID boundary.
      
      That means that when we rename a subvolume, that's been snapshotted, the
      older version of the subvolume root will become dangling - it won't have
      a dirent that points to it.
      
      That's expected, we just need to tell fsck that this is ok.
      
      Fixes: https://github.com/koverstreet/bcachefs/issues/856
      
      
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      261592ba
    • Jens Axboe's avatar
      io_uring/rsrc: ensure segments counts are correct on kbuf buffers · b419bed4
      Jens Axboe authored
      
      kbuf imports have the front offset adjusted and segments removed, but
      the tail segments are still included in the segment count that gets
      passed in the iov_iter. As the segments aren't necessarily all the
      same size, move importing to a separate helper and iterate the
      mapped length to get an exact count.
      
      Reviewed-by: default avatarNitesh Shetty <nj.shetty@samsung.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      b419bed4
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.15a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 85a9793e
      Linus Torvalds authored
      Pull xen fix from Juergen Gross:
       "Just a single fix for the Xen multicall driver avoiding a percpu
        variable referencing initdata by its initializer"
      
      * tag 'for-linus-6.15a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: fix multicall debug feature
      85a9793e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-fwctl' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · e2516abf
      Linus Torvalds authored
      Pull fwctl fixes from Jason Gunthorpe:
       "Three small changes from further build testing:
      
         - Don't rely on the userspace uuid.h for the uapi header
      
         - Fix sparse warnings in pds
      
         - Typo in log message"
      
      * tag 'for-linus-fwctl' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        fwctl: Fix repeated device word in log message
        pds_fwctl: Fix type and endian complaints
        fwctl/cxl: Fix uuid_t usage in uapi
      e2516abf
    • Linus Torvalds's avatar
      Merge tag 'sound-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 8176e776
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of small fixes. All are device-specific like quirks, new
        IDs, and other safe (or rather boring) changes"
      
      * tag 'sound-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        firmware: cs_dsp: test_bin_error: Fix uninitialized data used as fw version
        ASoC: codecs: Add of_match_table for aw888081 driver
        ASoC: fsl: fsl_qmc_audio: Reset audio data pointers on TRIGGER_START event
        mailmap: Add entry for Srinivas Kandagatla
        MAINTAINERS: use kernel.org alias
        ASoC: cs42l43: Reset clamp override on jack removal
        ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
        ALSA: hda/cirrus_scodec_test: Don't select dependencies
        ALSA: azt2320: Replace deprecated strcpy() with strscpy()
        ASoC: hdmi-codec: use RTD ID instead of DAI ID for ELD entry
        ASoC: Intel: avs: Constrain path based on BE capabilities
        ALSA: hda/tas2781: Remove unnecessary NULL check before release_firmware()
        ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe()
        ASoC: fsl_asrc_dma: get codec or cpu dai from backend
        ASoC: qcom: Fix sc7280 lpass potential buffer overflow
        ASoC: dwc: always enable/disable i2s irqs
        ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
        ASoC: codecs:lpass-wsa-macro: Fix logic of enabling vi channels
        ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate
      8176e776
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.15-3' of... · 84998998
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform drivers fixes from Ilpo Järvinen:
       "Fixes:
         - amd/pmf: Fix STT limits
         - asus-laptop: Fix an uninitialized variable
         - intel_pmc_ipc: Allow building without ACPI
         - mlxbf-bootctl: Use sysfs_emit_at() in secure_boot_fuse_state_show()
         - msi-wmi-platform: Add locking to workaround ACPI firmware bug
      
        New HW support:
         - alienware-wmi-wmax:
            - Extended thermal control support to:
               - Alienware Area-51m R2
               - Alienware m16 R1
               - Alienware m16 R2
               - Dell G16 7630
               - Dell G5 5505 SE
            - G-Mode support to Alienware m16 R1
         - x86-android-tablets: Add Vexia Edu Atla 10 tablet 5V data"
      
      * tag 'platform-drivers-x86-v6.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: msi-wmi-platform: Workaround a ACPI firmware bug
        platform/x86: msi-wmi-platform: Rename "data" variable
        platform/x86: alienware-wmi-wmax: Extend support to more laptops
        platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1
        platform/x86: amd: pmf: Fix STT limits
        mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()
        platform/x86: x86-android-tablets: Add Vexia Edu Atla 10 tablet 5V data
        platform/x86: x86-android-tablets: Add "9v" to Vexia EDU ATLA 10 tablet symbols
        asus-laptop: Fix an uninitialized variable
        platform/x86: intel_pmc_ipc: add option to build without ACPI
      84998998
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 7adf8b1a
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Small drivers fixes, except for ufs which has two large updates, one
        for exposing the device level feature, which is a new addition to the
        device spec and the other reworking the exynos driver to fix coherence
        issues on some android phones"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: megaraid_sas: Driver version update to 07.734.00.00-rc1
        scsi: megaraid_sas: Block zero-length ATA VPD inquiry
        scsi: scsi_transport_srp: Replace min/max nesting with clamp()
        scsi: ufs: core: Add device level exception support
        scsi: ufs: core: Rename ufshcd_wb_presrv_usrspc_keep_vcc_on()
        scsi: smartpqi: Use is_kdump_kernel() to check for kdump
        scsi: pm80xx: Set phy_attached to zero when device is gone
        scsi: ufs: exynos: gs101: Put UFS device in reset on .suspend()
        scsi: ufs: exynos: Move phy calls to .exit() callback
        scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO
        scsi: ufs: exynos: Ensure consistent phy reference counts
        scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set
        scsi: ufs: exynos: Move UFS shareability value to drvdata
        scsi: ufs: exynos: Ensure pre_link() executes before exynos_ufs_phy_init()
        scsi: iscsi: Fix missing scsi_host_put() in error path
        scsi: ufs: core: Fix a race condition related to device commands
        scsi: hisi_sas: Fix I/O errors caused by hardware port ID changes
        scsi: hisi_sas: Enable force phy when SATA disk directly connected
      7adf8b1a
    • Linus Torvalds's avatar
      Merge tag 'ata-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux · ec4c6d1e
      Linus Torvalds authored
      Pull ata fix from Damien Le Moal:
      
       - Fix how sense data from the sense data for successfull NCQ commands
         log page is used to fully initialize the result_tf of a completed
         command, so that the sense data returned to the scsi layer is fully
         initialized with all the device provided information (from Niklas)
      
      * tag 'ata-6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
        ata: libata-sata: Save all fields from sense data descriptor
      ec4c6d1e
    • Linus Torvalds's avatar
      Merge tag 'xfs-fixes-6.15-rc3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 096384de
      Linus Torvalds authored
      Pull XFS fixes from Carlos Maiolino:
       "This mostly includes fixes and documentation for the zoned allocator
        feature merged during previous merge window, but it also adds a sysfs
        tunable for the zone garbage collector.
      
        There is also a fix for a regression to the RT device that we'd like
        to fix ASAP now that we're getting more users on the RT zoned
        allocator"
      
      * tag 'xfs-fixes-6.15-rc3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: document zoned rt specifics in admin-guide
        xfs: fix fsmap for internal zoned devices
        xfs: Fix spelling mistake "drity" -> "dirty"
        xfs: compute buffer address correctly in xmbuf_map_backing_mem
        xfs: add tunable threshold parameter for triggering zone GC
        xfs: mark xfs_buf_free as might_sleep()
        xfs: remove the leftover xfs_{set,clear}_li_failed infrastructure
      096384de
    • Linus Torvalds's avatar
      Merge tag 'for-6.15-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 0cb9ce06
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
      
       - handle encoded read ioctl returning EAGAIN so it does not mistakenly
         free the work structure
      
       - escape subvolume path in mount option list so it cannot be wrongly
         parsed when the path contains ","
      
       - remove folio size assertions when writing super block to device with
         enabled large folios
      
      * tag 'for-6.15-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: remove folio order ASSERT()s in super block writeback path
        btrfs: correctly escape subvol in btrfs_show_options()
        btrfs: ioctl: don't free iov when btrfs_encoded_read() returns -EAGAIN
      0cb9ce06
    • Linus Torvalds's avatar
      Merge tag 'slab-for-6.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab · a54f4a97
      Linus Torvalds authored
      Pull slab fix from Vlastimil Babka:
      
       - Stable fix adding zero initialization of slab->obj_ext to prevent
         crashes with allocation profiling (Suren Baghdasaryan)
      
      * tag 'slab-for-6.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
        slab: ensure slab->obj_exts is clear in a newly allocated slab page
      a54f4a97
    • Rafael J. Wysocki's avatar
      Merge tag 'amd-pstate-v6.15-2025-04-15' of... · dead17b1
      Rafael J. Wysocki authored
      Merge tag 'amd-pstate-v6.15-2025-04-15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux
      
      Merge amd-pstate content for 6.15 (4/15/25) from Mario Limonciello:
      
      "Add a fix for X3D processors where depending upon what BIOS was
       set initially rankings might be set improperly.
      
       Add a fix for changing min/max limits while on the performance
       governor."
      
      * tag 'amd-pstate-v6.15-2025-04-15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux:
        cpufreq/amd-pstate: Enable ITMT support after initializing core rankings
        cpufreq/amd-pstate: Fix min_limit perf and freq updation for performance governor
      dead17b1
    • Rafael J. Wysocki's avatar
      cpufreq: Avoid using inconsistent policy->min and policy->max · 7491cdf4
      Rafael J. Wysocki authored
      
      Since cpufreq_driver_resolve_freq() can run in parallel with
      cpufreq_set_policy() and there is no synchronization between them,
      the former may access policy->min and policy->max while the latter
      is updating them and it may see intermediate values of them due
      to the way the update is carried out.  Also the compiler is free
      to apply any optimizations it wants both to the stores in
      cpufreq_set_policy() and to the loads in cpufreq_driver_resolve_freq()
      which may result in additional inconsistencies.
      
      To address this, use WRITE_ONCE() when updating policy->min and
      policy->max in cpufreq_set_policy() and use READ_ONCE() for reading
      them in cpufreq_driver_resolve_freq().  Moreover, rearrange the update
      in cpufreq_set_policy() to avoid storing intermediate values in
      policy->min and policy->max with the help of the observation that
      their new values are expected to be properly ordered upfront.
      
      Also modify cpufreq_driver_resolve_freq() to take the possible reverse
      ordering of policy->min and policy->max, which may happen depending on
      the ordering of operations when this function and cpufreq_set_policy()
      run concurrently, into account by always honoring the max when it
      turns out to be less than the min (in case it comes from thermal
      throttling or similar).
      
      Fixes: 15171769 ("cpufreq: Make policy min/max hard requirements")
      Cc: 5.16+ <stable@vger.kernel.org> # 5.16+
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: default avatarChristian Loehle <christian.loehle@arm.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Link: https://patch.msgid.link/5907080.DvuYhMxLoT@rjwysocki.net
      7491cdf4
    • Rafael J. Wysocki's avatar
      cpufreq/sched: Set need_freq_update in ignore_dl_rate_limit() · 75da043d
      Rafael J. Wysocki authored
      
      Notice that ignore_dl_rate_limit() need not piggy back on the
      limits_changed handling to achieve its goal (which is to enforce a
      frequency update before its due time).
      
      Namely, if sugov_should_update_freq() is updated to check
      sg_policy->need_freq_update and return 'true' if it is set when
      sg_policy->limits_changed is not set, ignore_dl_rate_limit() may
      set the former directly instead of setting the latter, so it can
      avoid hitting the memory barrier in sugov_should_update_freq().
      
      Update the code accordingly.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: default avatarChristian Loehle <christian.loehle@arm.com>
      Link: https://patch.msgid.link/10666429.nUPlyArG6x@rjwysocki.net
      75da043d
    • Rafael J. Wysocki's avatar
      cpufreq/sched: Explicitly synchronize limits_changed flag handling · 79443a7e
      Rafael J. Wysocki authored
      
      The handling of the limits_changed flag in struct sugov_policy needs to
      be explicitly synchronized to ensure that cpufreq policy limits updates
      will not be missed in some cases.
      
      Without that synchronization it is theoretically possible that
      the limits_changed update in sugov_should_update_freq() will be
      reordered with respect to the reads of the policy limits in
      cpufreq_driver_resolve_freq() and in that case, if the limits_changed
      update in sugov_limits() clobbers the one in sugov_should_update_freq(),
      the new policy limits may not take effect for a long time.
      
      Likewise, the limits_changed update in sugov_limits() may theoretically
      get reordered with respect to the updates of the policy limits in
      cpufreq_set_policy() and if sugov_should_update_freq() runs between
      them, the policy limits change may be missed.
      
      To ensure that the above situations will not take place, add memory
      barriers preventing the reordering in question from taking place and
      add READ_ONCE() and WRITE_ONCE() annotations around all of the
      limits_changed flag updates to prevent the compiler from messing up
      with that code.
      
      Fixes: 600f5bad ("cpufreq: schedutil: Don't skip freq update when limits change")
      Cc: 5.3+ <stable@vger.kernel.org> # 5.3+
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: default avatarChristian Loehle <christian.loehle@arm.com>
      Link: https://patch.msgid.link/3376719.44csPzL39Z@rjwysocki.net
      79443a7e
Loading