1. Feb 23, 2024
    • Linus Torvalds's avatar
      Merge tag 'block-6.8-2024-02-22' of git://git.kernel.dk/linux · ffd2cb6b
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Mostly just fixlets for md, but also a sed-opal parsing fix"
      
      * tag 'block-6.8-2024-02-22' of git://git.kernel.dk/linux:
        block: sed-opal: handle empty atoms when parsing response
        md: Don't suspend the array for interrupted reshape
        md: Don't register sync_thread for reshape directly
        md: Make sure md_do_sync() will set MD_RECOVERY_DONE
        md: Don't ignore read-only array in md_check_recovery()
        md: Don't ignore suspended array in md_check_recovery()
        md: Fix missing release of 'active_io' for flush
      ffd2cb6b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · 4c36fbb4
      Linus Torvalds authored
      Pull iommufd fixes from Jason Gunthorpe:
      
       - Fix dirty tracking bitmap collection when using reporting bitmaps
         that are not neatly aligned to u64's or match the IO page table radix
         tree layout.
      
       - Add self tests to cover the cases that were found to be broken.
      
       - Add missing enforcement of invalidation type in the uapi.
      
       - Fix selftest config generation
      
      * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd:
        selftests/iommu: fix the config fragment
        iommufd: Reject non-zero data_type if no data_len is provided
        iommufd/iova_bitmap: Consider page offset for the pages to be pinned
        iommufd/selftest: Add mock IO hugepages tests
        iommufd/selftest: Hugepage mock domain support
        iommufd/selftest: Refactor mock_domain_read_and_clear_dirty()
        iommufd/selftest: Refactor dirty bitmap tests
        iommufd/iova_bitmap: Handle recording beyond the mapped pages
        iommufd/selftest: Test u64 unaligned bitmaps
        iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 array
        iommufd/iova_bitmap: Bounds check mapped::pages access
      4c36fbb4
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.8-3' of... · c7138f7a
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fixes from Hans de Goede:
       "Regression fixes:
      
         - Fix INT0002 vGPIO events no longer working after 6.8 ACPI SCI
           changes
      
         - AMD-PMF: Fix laptops (e.g. Framework 13 AMD) hanging on suspend
      
         - x86-android-tablets: Fix touchscreen no longer working on Lenovo
           Yogabook
      
         - x86-android-tablets: Fix serdev instantiation regression
      
         - intel-vbtn: Fix ThinkPad X1 Tablet Gen2 no longer suspending
      
        Bug fixes:
      
         - think-lmi: Fix changing BIOS settings on Lenovo workstations
      
         - touchscreen_dmi: Fix Hi8 Air touchscreen data sometimes missing
      
         - AMD-PMF: Fix Smart PC support not working after suspend/resume
      
        Other misc small fixes"
      
      * tag 'platform-drivers-x86-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: thinkpad_acpi: Only update profile if successfully converted
        platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
        platform/x86: x86-android-tablets: Fix acer_b1_750_goodix_gpios name
        platform/x86: x86-android-tablets: Fix serdev instantiation no longer working
        platform/x86: Add new get_serdev_controller() helper
        platform/x86: x86-android-tablets: Fix keyboard touchscreen on Lenovo Yogabook1 X90
        platform/x86/amd/pmf: Fix a potential race with policy binary sideload
        platform/x86/amd/pmf: Fixup error handling for amd_pmf_init_smart_pc()
        platform/x86/amd/pmf: Add debugging message for missing policy data
        platform/x86/amd/pmf: Fix a suspend hang on Framework 13
        platform/x86/amd/pmf: Fix TEE enact command failure after suspend and resume
        platform/x86/amd/pmf: Remove smart_pc_status enum
        platform/x86: touchscreen_dmi: Consolidate Goodix upside-down touchscreen data
        platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names
        platform/x86: intel: int0002_vgpio: Pass IRQF_ONESHOT to request_irq()
        platform/x86: think-lmi: Fix password opcode ordering for workstations
      c7138f7a
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 88953761
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "Here are some Samsung clk driver fixes I've been sitting on for far
        too long.
      
        They fix the bindings and clk driver for the Google GS101 SoC"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: samsung: clk-gs101: comply with the new dt cmu_misc clock names
        dt-bindings: clock: gs101: rename cmu_misc clock-names
      88953761
    • Linus Torvalds's avatar
      Merge tag 'vfs-6.8-rc6.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · 1c892cdd
      Linus Torvalds authored
      Pull vfs fixes from Christian Brauner:
      
       - Fix a memory leak in cachefiles
      
       - Restrict aio cancellations to I/O submitted through the aio
         interfaces as this is otherwise causing issues for I/O submitted
         via io_uring
      
       - Increase buffer for afs volume status to avoid overflow
      
       - Fix a missing zero-length check in unbuffered writes in the
         netfs library. If generic_write_checks() returns zero make
         netfs_unbuffered_write_iter() return right away
      
       - Prevent a leak in i_dio_count caused by netfs_begin_read() operating
         past i_size. It will return early and leave i_dio_count incremented
      
       - Account for ipv4 addresses as well as ipv6 addresses when processing
         incoming callbacks in afs
      
      * tag 'vfs-6.8-rc6.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
        afs: Increase buffer size in afs_update_volume_status()
        afs: Fix ignored callbacks over ipv4
        cachefiles: fix memory leak in cachefiles_add_cache()
        netfs: Fix missing zero-length check in unbuffered write
        netfs: Fix i_dio_count leak on DIO read past i_size
      1c892cdd
    • Linus Torvalds's avatar
      Merge tag 'net-6.8.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 6714ebb9
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from bpf and netfilter.
      
        Current release - regressions:
      
         - af_unix: fix another unix GC hangup
      
        Previous releases - regressions:
      
         - core: fix a possible AF_UNIX deadlock
      
         - bpf: fix NULL pointer dereference in sk_psock_verdict_data_ready()
      
         - netfilter: nft_flow_offload: release dst in case direct xmit path
           is used
      
         - bridge: switchdev: ensure MDB events are delivered exactly once
      
         - l2tp: pass correct message length to ip6_append_data
      
         - dccp/tcp: unhash sk from ehash for tb2 alloc failure after
           check_estalblished()
      
         - tls: fixes for record type handling with PEEK
      
         - devlink: fix possible use-after-free and memory leaks in
           devlink_init()
      
        Previous releases - always broken:
      
         - bpf: fix an oops when attempting to read the vsyscall page through
           bpf_probe_read_kernel
      
         - sched: act_mirred: use the backlog for mirred ingress
      
         - netfilter: nft_flow_offload: fix dst refcount underflow
      
         - ipv6: sr: fix possible use-after-free and null-ptr-deref
      
         - mptcp: fix several data races
      
         - phonet: take correct lock to peek at the RX queue
      
        Misc:
      
         - handful of fixes and reliability improvements for selftests"
      
      * tag 'net-6.8.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (72 commits)
        l2tp: pass correct message length to ip6_append_data
        net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY
        selftests: ioam: refactoring to align with the fix
        Fix write to cloned skb in ipv6_hop_ioam()
        phonet/pep: fix racy skb_queue_empty() use
        phonet: take correct lock to peek at the RX queue
        net: sparx5: Add spinlock for frame transmission from CPU
        net/sched: flower: Add lock protection when remove filter handle
        devlink: fix port dump cmd type
        net: stmmac: Fix EST offset for dwmac 5.10
        tools: ynl: don't leak mcast_groups on init error
        tools: ynl: make sure we always pass yarg to mnl_cb_run
        net: mctp: put sock on tag allocation failure
        netfilter: nf_tables: use kzalloc for hook allocation
        netfilter: nf_tables: register hooks last when adding new chain/flowtable
        netfilter: nft_flow_offload: release dst in case direct xmit path is used
        netfilter: nft_flow_offload: reset dst in route object after setting up flow
        netfilter: nf_tables: set dormant flag on hook register failure
        selftests: tls: add test for peeking past a record of a different type
        selftests: tls: add test for merging of same-type control messages
        ...
      6714ebb9
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · efa80dcb
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
      
       - While working on the ring buffer I noticed that the counter used for
         knowing where the end of the data is on a sub-buffer was not a full
         "int" but just 20 bits. It was masked out to 0xfffff.
      
         With the new code that allows the user to change the size of the
         sub-buffer, it is theoretically possible to ask for a size bigger
         than 2^20. If that happens, unexpected results may occur as there's
         no code checking if the counter overflowed the 20 bits of the write
         mask. There are other checks to make sure events fit in the
         sub-buffer, but if the sub-buffer itself is too big, that is not
         checked.
      
         Add a check in the resize of the sub-buffer to make sure that it
         never goes beyond the size of the counter that holds how much data is
         on it.
      
      * tag 'trace-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        ring-buffer: Do not let subbuf be bigger than write mask
      efa80dcb
  2. Feb 22, 2024