1. 28 May, 2022 3 commits
  2. 27 May, 2022 15 commits
  3. 26 May, 2022 12 commits
  4. 25 May, 2022 10 commits
    • Linus Torvalds's avatar
      Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · 7e062cda
      Linus Torvalds authored
      Pull networking updates from Jakub Kicinski:
       "Core
        ----
      
         - Support TCPv6 segmentation offload with super-segments larger than
           64k bytes using the IPv6 Jumbogram extension header (AKA BIG TCP).
      
         - Generalize skb freeing deferral to per-cpu lists, instead of
           per-socket lists.
      
         - Add a netdev statistic for packets dropped due to L2 address
           mismatch (rx_otherhost_dropped).
      
         - Continue work annotating skb drop reasons.
      
         - Accept alternative netdev names (ALT_IFNAME) in more netlink
           requests.
      
         - Add VLAN support for AF_PACKET SOCK_RAW GSO.
      
         - Allow receiving skb mark from the socket as a cmsg.
      
         - Enable memcg accounting for veth queues, sysctl tables and IPv6.
      
        BPF
        ---
      
         - Add libbpf support for User Statically-Defined Tracing (USDTs).
      
         - Speed up symbol resolution for kprobes multi-link attachments.
      
         - Support storing typed pointers to referenced and unreferenced
           objects in BPF maps.
      
         - Add support for BPF link iterator.
      
         - Introduce access to remote CPU map elements in BPF per-cpu map.
      
         - Allow middle-of-the-road settings for the
           kernel.unprivileged_bpf_disabled sysctl.
      
         - Implement basic types of dynamic pointers e.g. to allow for
           dynamically sized ringbuf reservations without extra memory copies.
      
        Protocols
        ---------
      
         - Retire port only listening_hash table, add a second bind table
           hashed by port and address. Avoid linear list walk when binding to
           very popular ports (e.g. 443).
      
         - Add bridge FDB bulk flush filtering support allowing user space to
           remove all FDB entries matching a condition.
      
         - Introduce accept_unsolicited_na sysctl for IPv6 to implement
           router-side changes for RFC9131.
      
         - Support for MPTCP path manager in user space.
      
         - Add MPTCP support for fallback to regular TCP for connections that
           have never connected additional subflows or transmitted
           out-of-sequence data (partial support for RFC8684 fallback).
      
         - Avoid races in MPTCP-level window tracking, stabilize and improve
           throughput.
      
         - Support lockless operation of GRE tunnels with seq numbers enabled.
      
         - WiFi support for host based BSS color collision detection.
      
         - Add support for SO_TXTIME/SCM_TXTIME on CAN sockets.
      
         - Support transmission w/o flow control in CAN ISOTP (ISO 15765-2).
      
         - Support zero-copy Tx with TLS 1.2 crypto offload (sendfile).
      
         - Allow matching on the number of VLAN tags via tc-flower.
      
         - Add tracepoint for tcp_set_ca_state().
      
        Driver API
        ----------
      
         - Improve error reporting from classifier and action offload.
      
         - Add support for listing line cards in switches (devlink).
      
         - Add helpers for reporting page pool statistics with ethtool -S.
      
         - Add support for reading clock cycles when using PTP virtual clocks,
           instead of having the driver convert to time before reporting. This
           makes it possible to report time from different vclocks.
      
         - Support configuring low-latency Tx descriptor push via ethtool.
      
         - Separate Clause 22 and Clause 45 MDIO accesses more explicitly.
      
        New hardware / drivers
        ----------------------
      
         - Ethernet:
            - Marvell's Octeon NIC PCI Endpoint support (octeon_ep)
            - Sunplus SP7021 SoC (sp7021_emac)
            - Add support for Renesas RZ/V2M (in ravb)
            - Add support for MediaTek mt7986 switches (in mtk_eth_soc)
      
         - Ethernet PHYs:
            - ADIN1100 industrial PHYs (w/ 10BASE-T1L and SQI reporting)
            - TI DP83TD510 PHY
            - Microchip LAN8742/LAN88xx PHYs
      
         - WiFi:
            - Driver for pureLiFi X, XL, XC devices (plfxlc)
            - Driver for Silicon Labs devices (wfx)
            - Support for WCN6750 (in ath11k)
            - Support Realtek 8852ce devices (in rtw89)
      
         - Mobile:
            - MediaTek T700 modems (Intel 5G 5000 M.2 cards)
      
         - CAN:
            - ctucanfd: add support for CTU CAN FD open-source IP core from
              Czech Technical University in Prague
      
        Drivers
        -------
      
         - Delete a number of old drivers still using virt_to_bus().
      
         - Ethernet NICs:
            - intel: support TSO on tunnels MPLS
            - broadcom: support multi-buffer XDP
            - nfp: support VF rate limiting
            - sfc: use hardware tx timestamps for more than PTP
            - mlx5: multi-port eswitch support
            - hyper-v: add support for XDP_REDIRECT
            - atlantic: XDP support (including multi-buffer)
            - macb: improve real-time perf by deferring Tx processing to NAPI
      
         - High-speed Ethernet switches:
            - mlxsw: implement basic line card information querying
            - prestera: add support for traffic policing on ingress and egress
      
         - Embedded Ethernet switches:
            - lan966x: add support for packet DMA (FDMA)
            - lan966x: add support for PTP programmable pins
            - ti: cpsw_new: enable bc/mc storm prevention
      
         - Qualcomm 802.11ax WiFi (ath11k):
            - Wake-on-WLAN support for QCA6390 and WCN6855
            - device recovery (firmware restart) support
            - support setting Specific Absorption Rate (SAR) for WCN6855
            - read country code from SMBIOS for WCN6855/QCA6390
            - enable keep-alive during WoWLAN suspend
            - implement remain-on-channel support
      
         - MediaTek WiFi (mt76):
            - support Wireless Ethernet Dispatch offloading packet movement
              between the Ethernet switch and WiFi interfaces
            - non-standard VHT MCS10-11 support
            - mt7921 AP mode support
            - mt7921 IPv6 NS offload support
      
         - Ethernet PHYs:
            - micrel: ksz9031/ksz9131: cabletest support
            - lan87xx: SQI support for T1 PHYs
            - lan937x: add interrupt support for link detection"
      
      * tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1809 commits)
        ptp: ocp: Add firmware header checks
        ptp: ocp: fix PPS source selector debugfs reporting
        ptp: ocp: add .init function for sma_op vector
        ptp: ocp: vectorize the sma accessor functions
        ptp: ocp: constify selectors
        ptp: ocp: parameterize input/output sma selectors
        ptp: ocp: revise firmware display
        ptp: ocp: add Celestica timecard PCI ids
        ptp: ocp: Remove #ifdefs around PCI IDs
        ptp: ocp: 32-bit fixups for pci start address
        Revert "net/smc: fix listen processing for SMC-Rv2"
        ath6kl: Use cc-disable-warning to disable -Wdangling-pointer
        selftests/bpf: Dynptr tests
        bpf: Add dynptr data slices
        bpf: Add bpf_dynptr_read and bpf_dynptr_write
        bpf: Dynptr support for ring buffers
        bpf: Add bpf_dynptr_from_mem for local dynptrs
        bpf: Add verifier support for dynptrs
        bpf: Suppress 'passing zero to PTR_ERR' warning
        bpf: Introduce bpf_arch_text_invalidate for bpf_prog_pack
        ...
      7e062cda
    • Linus Torvalds's avatar
      Merge branch 'for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · 5d1772b1
      Linus Torvalds authored
      Pull workqueue update from Tejun Heo:
       "A lone commit fixing CPU offline handling for per-cpu wq workers so
        that they don't bother isolated CPUs"
      
      * 'for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: Restrict kworker in the offline CPU pool running on housekeeping CPUs
      5d1772b1
    • Linus Torvalds's avatar
      Merge branch 'for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 8b49c4b1
      Linus Torvalds authored
      Pull cgroup updates from Tejun Heo:
       "Nothing too interesting. This adds cpu controller selftests and there
        are a couple code cleanup patches"
      
      * 'for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: remove the superfluous judgment
        cgroup: Make cgroup_debug static
        kseltest/cgroup: Make test_stress.sh work if run interactively
        kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
        cgroup: Add config file to cgroup selftest suite
        cgroup: Add test_cpucg_max_nested() testcase
        cgroup: Add test_cpucg_max() testcase
        cgroup: Add test_cpucg_nested_weight_underprovisioned() testcase
        cgroup: Adding test_cpucg_nested_weight_overprovisioned() testcase
        cgroup: Add test_cpucg_weight_underprovisioned() testcase
        cgroup: Add test_cpucg_weight_overprovisioned() testcase
        cgroup: Add test_cpucg_stats() testcase to cgroup cpu selftests
        cgroup: Add new test_cpu.c test suite in cgroup selftests
      8b49c4b1
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-5.19-rc1' of... · 64e34b50
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit updates from Shuah Khan:
       "Several fixes, cleanups, and enhancements to tests and framework:
      
         - introduce _NULL and _NOT_NULL macros to pointer error checks
      
         - rework kunit_resource allocation policy to fix memory leaks when
           caller doesn't specify free() function to be used when allocating
           memory using kunit_add_resource() and kunit_alloc_resource() funcs.
      
         - add ability to specify suite-level init and exit functions"
      
      * tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (41 commits)
        kunit: tool: Use qemu-system-i386 for i386 runs
        kunit: fix executor OOM error handling logic on non-UML
        kunit: tool: update riscv QEMU config with new serial dependency
        kcsan: test: use new suite_{init,exit} support
        kunit: tool: Add list of all valid test configs on UML
        kunit: take `kunit_assert` as `const`
        kunit: tool: misc cleanups
        kunit: tool: minor cosmetic cleanups in kunit_parser.py
        kunit: tool: make parser stop overwriting status of suites w/ no_tests
        kunit: tool: remove dead parse_crash_in_log() logic
        kunit: tool: print clearer error message when there's no TAP output
        kunit: tool: stop using a shell to run kernel under QEMU
        kunit: tool: update test counts summary line format
        kunit: bail out of test filtering logic quicker if OOM
        lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTS
        kunit: Rework kunit_resource allocation policy
        kunit: fix debugfs code to use enum kunit_status, not bool
        kfence: test: use new suite_{init/exit} support, add .kunitconfig
        kunit: add ability to specify suite-level init and exit functions
        kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite)
        ...
      64e34b50
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-5.19-rc1' of... · 1c6d2ead
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest updates from Shuah Khan:
       "Several fixes, cleanups, and enhancements to tests:
      
         - add mips support for kprobe args string and syntax tests
      
         - updates to resctrl test to use kselftest framework
      
         - fixes, cleanups, and enhancements to tests"
      
      * tag 'linux-kselftest-next-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kselftests/ir : Improve readability of modprobe error message
        selftests/resctrl: Fix null pointer dereference on open failed
        selftests/resctrl: Add missing SPDX license to Makefile
        selftests/resctrl: Update README about using kselftest framework to build/run resctrl_tests
        selftests/resctrl: Make resctrl_tests run using kselftest framework
        selftests/resctrl: Fix resctrl_tests' return code to work with selftest framework
        selftests/resctrl: Change the default limited time to 120 seconds
        selftests/resctrl: Kill child process before parent process terminates if SIGTERM is received
        selftests/resctrl: Print a message if the result of MBM&CMT tests is failed on Intel CPU
        selftests/resctrl: Extend CPU vendor detection
        selftests/x86/corrupt_xstate_header: Use provided __cpuid_count() macro
        selftests/x86/amx: Use provided __cpuid_count() macro
        selftests/vm/pkeys: Use provided __cpuid_count() macro
        selftests: Provide local define of __cpuid_count()
        selftests/damon: add damon to selftests root Makefile
        selftests/binderfs: Improve message to provide more info
        selftests: mqueue: drop duplicate min definition
        selftests/ftrace: add mips support for kprobe args syntax tests
        selftests/ftrace: add mips support for kprobe args string tests
      1c6d2ead
    • Linus Torvalds's avatar
      Merge tag 'docs-5.19' of git://git.lwn.net/linux · 88a61892
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "It was a moderately busy cycle for documentation; highlights include:
      
         - After a long period of inactivity, the Japanese translations are
           seeing some much-needed maintenance and updating.
      
         - Reworked IOMMU documentation
      
         - Some new documentation for static-analysis tools
      
         - A new overall structure for the memory-management documentation.
           This is an LSFMM outcome that, it is hoped, will help encourage
           developers to fill in the many gaps. Optimism is eternal...but
           hopefully it will work.
      
         - More Chinese translations.
      
        Plus the usual typo fixes, updates, etc"
      
      * tag 'docs-5.19' of git://git.lwn.net/linux: (70 commits)
        docs: pdfdocs: Add space for chapter counts >= 100 in TOC
        docs/zh_CN: Add dev-tools/gdb-kernel-debugging.rst Chinese translation
        input: Docs: correct ntrig.rst typo
        input: Docs: correct atarikbd.rst typos
        MAINTAINERS: Become the docs/zh_CN maintainer
        docs/zh_CN: fix devicetree usage-model translation
        mm,doc: Add new documentation structure
        Documentation: drop more IDE boot options and ide-cd.rst
        Documentation/process: use scripts/get_maintainer.pl on patches
        MAINTAINERS: Add entry for DOCUMENTATION/JAPANESE
        docs/trans/ja_JP/howto: Don't mention specific kernel versions
        docs/ja_JP/SubmittingPatches: Request summaries for commit references
        docs/ja_JP/SubmittingPatches: Add Suggested-by as a standard signature
        docs/ja_JP/SubmittingPatches: Randy has moved
        docs/ja_JP/SubmittingPatches: Suggest the use of scripts/get_maintainer.pl
        docs/ja_JP/SubmittingPatches: Update GregKH links
        Documentation/sysctl: document max_rcu_stall_to_panic
        Documentation: add missing angle bracket in cgroup-v2 doc
        Documentation: dev-tools: use literal block instead of code-block
        docs/zh_CN: add vm numa translation
        ...
      88a61892
    • Linus Torvalds's avatar
      Merge tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · 537e62c8
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - Offload writing printk() messages on consoles to per-console
         kthreads.
      
         It prevents soft-lockups when an extensive amount of messages is
         printed. It was observed, for example, during boot of large systems
         with a lot of peripherals like disks or network interfaces.
      
         It prevents live-lockups that were observed, for example, when
         messages about allocation failures were reported and a CPU handled
         consoles instead of reclaiming the memory. It was hard to solve even
         with rate limiting because it would need to take into account the
         amount of messages and the speed of all consoles.
      
         It is a must to have for real time. Otherwise, any printk() might
         break latency guarantees.
      
         The per-console kthreads allow to handle each console on its own
         speed. Slow consoles do not longer slow down faster ones. And
         printk() does not longer unpredictably slows down various code paths.
      
         There are situations when the kthreads are either not available or
         not reliable, for example, early boot, suspend, or panic. In these
         situations, printk() uses the legacy mode and tries to handle
         consoles immediately.
      
       - Add documentation for the printk index.
      
      * tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        printk, tracing: fix console tracepoint
        printk: remove @console_locked
        printk: extend console_lock for per-console locking
        printk: add kthread console printers
        printk: add functions to prefer direct printing
        printk: add pr_flush()
        printk: move buffer definitions into console_emit_next_record() caller
        printk: refactor and rework printing logic
        printk: add con_printk() macro for console details
        printk: call boot_delay_msec() in printk_delay()
        printk: get caller_id/timestamp after migration disable
        printk: wake waiters for safe and NMI contexts
        printk: wake up all waiters
        printk: add missing memory barrier to wake_up_klogd()
        printk: cpu sync always disable interrupts
        printk: rename cpulock functions
        printk/index: Printk index feature documentation
        MAINTAINERS: Add printk indexing maintainers on mention of printk_index
      537e62c8
    • Linus Torvalds's avatar
      Merge tag 'slab-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab · 2e17ce11
      Linus Torvalds authored
      Pull slab updates from Vlastimil Babka:
      
       - Conversion of slub_debug stack traces to stackdepot, allowing more
         useful debugfs-based inspection for e.g. memory leak debugging.
         Allocation and free debugfs info now includes full traces and is
         sorted by the unique trace frequency.
      
         The stackdepot conversion was already attempted last year but
         reverted by ae14c63a. The memory overhead (while not actually
         enabled on boot) has been meanwhile solved by making the large
         stackdepot allocation dynamic. The xfstest issues haven't been
         reproduced on current kernel locally nor in -next, so the slab cache
         layout changes that originally made that bug manifest were probably
         not the root cause.
      
       - Refactoring of dma-kmalloc caches creation.
      
       - Trivial cleanups such as removal of unused parameters, fixes and
         clarifications of comments.
      
       - Hyeonggon Yoo joins as a reviewer.
      
      * tag 'slab-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
        MAINTAINERS: add myself as reviewer for slab
        mm/slub: remove unused kmem_cache_order_objects max
        mm: slab: fix comment for __assume_kmalloc_alignment
        mm: slab: fix comment for ARCH_KMALLOC_MINALIGN
        mm/slub: remove unneeded return value of slab_pad_check
        mm/slab_common: move dma-kmalloc caches creation into new_kmalloc_cache()
        mm/slub: remove meaningless node check in ___slab_alloc()
        mm/slub: remove duplicate flag in allocate_slab()
        mm/slub: remove unused parameter in setup_object*()
        mm/slab.c: fix comments
        slab, documentation: add description of debugfs files for SLUB caches
        mm/slub: sort debugfs output by frequency of stack traces
        mm/slub: distinguish and print stack traces in debugfs files
        mm/slub: use stackdepot to save stack trace in objects
        mm/slub: move struct track init out of set_track()
        lib/stackdepot: allow requesting early initialization dynamically
        mm/slub, kunit: Make slub_kunit unaffected by user specified flags
        mm/slab: remove some unused functions
      2e17ce11
    • Linus Torvalds's avatar
      linux/types.h: reinstate "__bitwise__" macro for user space use · caa28984
      Linus Torvalds authored
      Commit c724c866 ("linux/types.h: remove unnecessary __bitwise__")
      was right that there are no users of __bitwise__ in the kernel, but it
      turns out there are user space users of it that do expect it.
      
      It is, after all, in the uapi directory, so user space usage is to be
      expected.
      
      Instead of reverting the commit completely, let's just clarify the
      situation so that it doesn't happen again, and have some in-code
      explanations for why that "__bitwise__" still exists.
      Reported-by: default avatarJiri Slaby <jirislaby@kernel.org>
      Cc: Bjorn Helgaas <helgaas@kernel.org>
      Link: https://lore.kernel.org/all/b5c0a68d-8387-4909-beea-f70ab9e6e3d5@kernel.org/Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      caa28984
    • Sean Young's avatar
      media: lirc: revert removal of unused feature flags · e5499dd7
      Sean Young authored
      Commit b2a90f4f ("media: lirc: remove unused lirc features") removed
      feature flags which were never implemented, but they are still used by
      the lirc daemon went built from source.
      
      Reinstate these symbols in order not to break the lirc build.
      
      Fixes: b2a90f4f ("media: lirc: remove unused lirc features")
      Link: https://lore.kernel.org/all/a0470450-ecfd-2918-e04a-7b57c1fd7694@kernel.org/Reported-by: default avatarJiri Slaby <jirislaby@kernel.org>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Signed-off-by: default avatarSean Young <sean@mess.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e5499dd7