# git rev-parse -q --verify 9187210eee7d87eea37b45ea93454a88681894a4^{commit} 9187210eee7d87eea37b45ea93454a88681894a4 already have revision, skipping fetch # git checkout -q -f -B kisskb 9187210eee7d87eea37b45ea93454a88681894a4 # git clean -qxdf # < git log -1 # commit 9187210eee7d87eea37b45ea93454a88681894a4 # Merge: 1f440397665f ed1f164038b5 # Author: Linus Torvalds # Date: Tue Mar 12 17:44:08 2024 -0700 # # Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next # # Pull networking updates from Jakub Kicinski: # "Core & protocols: # # - Large effort by Eric to lower rtnl_lock pressure and remove locks: # # - Make commonly used parts of rtnetlink (address, route dumps # etc) lockless, protected by RCU instead of rtnl_lock. # # - Add a netns exit callback which already holds rtnl_lock, # allowing netns exit to take rtnl_lock once in the core instead # of once for each driver / callback. # # - Remove locks / serialization in the socket diag interface. # # - Remove 6 calls to synchronize_rcu() while holding rtnl_lock. # # - Remove the dev_base_lock, depend on RCU where necessary. # # - Support busy polling on a per-epoll context basis. Poll length and # budget parameters can be set independently of system defaults. # # - Introduce struct net_hotdata, to make sure read-mostly global # config variables fit in as few cache lines as possible. # # - Add optional per-nexthop statistics to ease monitoring / debug of # ECMP imbalance problems. # # - Support TCP_NOTSENT_LOWAT in MPTCP. # # - Ensure that IPv6 temporary addresses' preferred lifetimes are long # enough, compared to other configured lifetimes, and at least 2 sec. # # - Support forwarding of ICMP Error messages in IPSec, per RFC 4301. # # - Add support for the independent control state machine for bonding # per IEEE 802.1AX-2008 5.4.15 in addition to the existing coupled # control state machine. # # - Add "network ID" to MCTP socket APIs to support hosts with multiple # disjoint MCTP networks. # # - Re-use the mono_delivery_time skbuff bit for packets which user # space wants to be sent at a specified time. Maintain the timing # information while traversing veth links, bridge etc. # # - Take advantage of MSG_SPLICE_PAGES for RxRPC DATA and ACK packets. # # - Simplify many places iterating over netdevs by using an xarray # instead of a hash table walk (hash table remains in place, for use # on fastpaths). # # - Speed up scanning for expired routes by keeping a dedicated list. # # - Speed up "generic" XDP by trying harder to avoid large allocations. # # - Support attaching arbitrary metadata to netconsole messages. # # Things we sprinkled into general kernel code: # # - Enforce VM_IOREMAP flag and range in ioremap_page_range and # introduce VM_SPARSE kind and vm_area_[un]map_pages (used by # bpf_arena). # # - Rework selftest harness to enable the use of the full range of ksft # exit code (pass, fail, skip, xfail, xpass). # # Netfilter: # # - Allow userspace to define a table that is exclusively owned by a # daemon (via netlink socket aliveness) without auto-removing this # table when the userspace program exits. Such table gets marked as # orphaned and a restarting management daemon can re-attach/regain # ownership. # # - Speed up element insertions to nftables' concatenated-ranges set # type. Compact a few related data structures. # # BPF: # # - Add BPF token support for delegating a subset of BPF subsystem # functionality from privileged system-wide daemons such as systemd # through special mount options for userns-bound BPF fs to a trusted # & unprivileged application. # # - Introduce bpf_arena which is sparse shared memory region between # BPF program and user space where structures inside the arena can # have pointers to other areas of the arena, and pointers work # seamlessly for both user-space programs and BPF programs. # # - Introduce may_goto instruction that is a contract between the # verifier and the program. The verifier allows the program to loop # assuming it's behaving well, but reserves the right to terminate # it. # # - Extend the BPF verifier to enable static subprog calls in spin lock # critical sections. # # - Support registration of struct_ops types from modules which helps # projects like fuse-bpf that seeks to implement a new struct_ops # type. # # - Add support for retrieval of cookies for perf/kprobe multi links. # # - Support arbitrary TCP SYN cookie generation / validation in the TC # layer with BPF to allow creating SYN flood handling in BPF # firewalls. # # - Add code generation to inline the bpf_kptr_xchg() helper which # improves performance when stashing/popping the allocated BPF # objects. # # Wireless: # # - Add SPP (signaling and payload protected) AMSDU support. # # - Support wider bandwidth OFDMA, as required for EHT operation. # # Driver API: # # - Major overhaul of the Energy Efficient Ethernet internals to # support new link modes (2.5GE, 5GE), share more code between # drivers (especially those using phylib), and encourage more # uniform behavior. Convert and clean up drivers. # # - Define an API for querying per netdev queue statistics from # drivers. # # - IPSec: account in global stats for fully offloaded sessions. # # - Create a concept of Ethernet PHY Packages at the Device Tree level, # to allow parameterizing the existing PHY package code. # # - Enable Rx hashing (RSS) on GTP protocol fields. # # Misc: # # - Improvements and refactoring all over networking selftests. # # - Create uniform module aliases for TC classifiers, actions, and # packet schedulers to simplify creating modprobe policies. # # - Address all missing MODULE_DESCRIPTION() warnings in networking. # # - Extend the Netlink descriptions in YAML to cover message # encapsulation or "Netlink polymorphism", where interpretation of # nested attributes depends on link type, classifier type or some # other "class type". # # Drivers: # # - Ethernet high-speed NICs: # - Add a new driver for Marvell's Octeon PCI Endpoint NIC VF. # - Intel (100G, ice, idpf): # - support E825-C devices # - nVidia/Mellanox: # - support devices with one port and multiple PCIe links # - Broadcom (bnxt): # - support n-tuple filters # - support configuring the RSS key # - Wangxun (ngbe/txgbe): # - implement irq_domain for TXGBE's sub-interrupts # - Pensando/AMD: # - support XDP # - optimize queue submission and wakeup handling (+17% bps) # - optimize struct layout, saving 28% of memory on queues # # - Ethernet NICs embedded and virtual: # - Google cloud vNIC: # - refactor driver to perform memory allocations for new queue # config before stopping and freeing the old queue memory # - Synopsys (stmmac): # - obey queueMaxSDU and implement counters required by 802.1Qbv # - Renesas (ravb): # - support packet checksum offload # - suspend to RAM and runtime PM support # # - Ethernet switches: # - nVidia/Mellanox: # - support for nexthop group statistics # - Microchip: # - ksz8: implement PHY loopback # - add support for KSZ8567, a 7-port 10/100Mbps switch # # - PTP: # - New driver for RENESAS FemtoClock3 Wireless clock generator. # - Support OCP PTP cards designed and built by Adva. # # - CAN: # - Support recvmsg() flags for own, local and remote traffic on CAN # BCM sockets. # - Support for esd GmbH PCIe/402 CAN device family. # - m_can: # - Rx/Tx submission coalescing # - wake on frame Rx # # - WiFi: # - Intel (iwlwifi): # - enable signaling and payload protected A-MSDUs # - support wider-bandwidth OFDMA # - support for new devices # - bump FW API to 89 for AX devices; 90 for BZ/SC devices # - MediaTek (mt76): # - mt7915: newer ADIE version support # - mt7925: radio temperature sensor support # - Qualcomm (ath11k): # - support 6 GHz station power modes: Low Power Indoor (LPI), # Standard Power) SP and Very Low Power (VLP) # - QCA6390 & WCN6855: support 2 concurrent station interfaces # - QCA2066 support # - Qualcomm (ath12k): # - refactoring in preparation for Multi-Link Operation (MLO) # support # - 1024 Block Ack window size support # - firmware-2.bin support # - support having multiple identical PCI devices (firmware needs # to have ATH12K_FW_FEATURE_MULTI_QRTR_ID) # - QCN9274: support split-PHY devices # - WCN7850: enable Power Save Mode in station mode # - WCN7850: P2P support # - RealTek: # - rtw88: support for more rtw8811cu and rtw8821cu devices # - rtw89: support SCAN_RANDOM_SN and SET_SCAN_DWELL # - rtlwifi: speed up USB firmware initialization # - rtwl8xxxu: # - RTL8188F: concurrent interface support # - Channel Switch Announcement (CSA) support in AP mode # - Broadcom (brcmfmac): # - per-vendor feature support # - per-vendor SAE password setup # - DMI nvram filename quirk for ACEPC W5 Pro" # # * tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2255 commits) # nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=y # nexthop: Fix out-of-bounds access during attribute validation # nexthop: Only parse NHA_OP_FLAGS for dump messages that require it # nexthop: Only parse NHA_OP_FLAGS for get messages that require it # bpf: move sleepable flag from bpf_prog_aux to bpf_prog # bpf: hardcode BPF_PROG_PACK_SIZE to 2MB * num_possible_nodes() # selftests/bpf: Add kprobe multi triggering benchmarks # ptp: Move from simple ida to xarray # vxlan: Remove generic .ndo_get_stats64 # vxlan: Do not alloc tstats manually # devlink: Add comments to use netlink gen tool # nfp: flower: handle acti_netdevs allocation failure # net/packet: Add getsockopt support for PACKET_COPY_THRESH # net/netlink: Add getsockopt support for NETLINK_LISTEN_ALL_NSID # selftests/bpf: Add bpf_arena_htab test. # selftests/bpf: Add bpf_arena_list test. # selftests/bpf: Add unit tests for bpf_arena_alloc/free_pages # bpf: Add helper macro bpf_addr_space_cast() # libbpf: Recognize __arena global variables. # bpftool: Recognize arena map type # ... # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 9187210eee7d87eea37b45ea93454a88681894a4 # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 defconfig # < make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes] 17 | void foo(void) | ^~~ In file included from /kisskb/src/arch/um/kernel/asm-offsets.c:1: /kisskb/src/arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes] 9 | void foo(void) | ^~~ /kisskb/src/arch/x86/um/bugs_64.c:9:6: warning: no previous prototype for ‘arch_check_bugs’ [-Wmissing-prototypes] 9 | void arch_check_bugs(void) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/bugs_64.c:13:6: warning: no previous prototype for ‘arch_examine_signal’ [-Wmissing-prototypes] 13 | void arch_examine_signal(int sig, struct uml_pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/fault.c:18:5: warning: no previous prototype for ‘arch_fixup’ [-Wmissing-prototypes] 18 | int arch_fixup(unsigned long address, struct uml_pt_regs *regs) | ^~~~~~~~~~ /kisskb/src/arch/x86/um/os-Linux/registers.c:146:15: warning: no previous prototype for ‘get_thread_reg’ [-Wmissing-prototypes] 146 | unsigned long get_thread_reg(int reg, jmp_buf *buf) | ^~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/vdso/um_vdso.c:16:5: warning: no previous prototype for ‘__vdso_clock_gettime’ [-Wmissing-prototypes] 16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/vdso/um_vdso.c:30:5: warning: no previous prototype for ‘__vdso_gettimeofday’ [-Wmissing-prototypes] 30 | int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/vdso/um_vdso.c:44:21: warning: no previous prototype for ‘__vdso_time’ [-Wmissing-prototypes] 44 | __kernel_old_time_t __vdso_time(__kernel_old_time_t *t) | ^~~~~~~~~~~ /kisskb/src/arch/x86/um/vdso/um_vdso.c:57:1: warning: no previous prototype for ‘__vdso_getcpu’ [-Wmissing-prototypes] 57 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) | ^~~~~~~~~~~~~ /kisskb/src/arch/x86/um/os-Linux/mcontext.c:7:6: warning: no previous prototype for ‘get_regs_from_mc’ [-Wmissing-prototypes] 7 | void get_regs_from_mc(struct uml_pt_regs *regs, mcontext_t *mc) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/skas/mmu.c:17:5: warning: no previous prototype for ‘init_new_context’ [-Wmissing-prototypes] 17 | int init_new_context(struct task_struct *task, struct mm_struct *mm) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/skas/mmu.c:60:6: warning: no previous prototype for ‘destroy_context’ [-Wmissing-prototypes] 60 | void destroy_context(struct mm_struct *mm) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for ‘poke_user’ [-Wmissing-prototypes] 111 | int poke_user(struct task_struct *child, long addr, long data) | ^~~~~~~~~ /kisskb/src/arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for ‘peek_user’ [-Wmissing-prototypes] 171 | int peek_user(struct task_struct *child, long addr, long data) | ^~~~~~~~~ /kisskb/src/arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes] 560 | long sys_rt_sigreturn(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/drivers/ethertap_kern.c:66:5: warning: no previous prototype for ‘ethertap_setup’ [-Wmissing-prototypes] 66 | int ethertap_setup(char *str, char **mac_out, void *data) | ^~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/skas/process.c:36:12: warning: no previous prototype for ‘start_uml’ [-Wmissing-prototypes] 36 | int __init start_uml(void) | ^~~~~~~~~ /kisskb/src/arch/um/os-Linux/drivers/tuntap_kern.c:56:5: warning: no previous prototype for ‘tuntap_setup’ [-Wmissing-prototypes] 56 | int tuntap_setup(char *str, char **mac_out, void *data) | ^~~~~~~~~~~~ /kisskb/src/arch/x86/um/syscalls_64.c:48:6: warning: no previous prototype for ‘arch_switch_to’ [-Wmissing-prototypes] 48 | void arch_switch_to(struct task_struct *to) | ^~~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/skas/process.c:107:6: warning: no previous prototype for ‘wait_stub_done’ [-Wmissing-prototypes] 107 | void wait_stub_done(int pid) | ^~~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/skas/process.c:683:6: warning: no previous prototype for ‘__switch_mm’ [-Wmissing-prototypes] 683 | void __switch_mm(struct mm_id *mm_idp) | ^~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/main.c:187:7: warning: no previous prototype for ‘__wrap_malloc’ [-Wmissing-prototypes] 187 | void *__wrap_malloc(int size) | ^~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/main.c:208:7: warning: no previous prototype for ‘__wrap_calloc’ [-Wmissing-prototypes] 208 | void *__wrap_calloc(int n, int size) | ^~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/main.c:222:6: warning: no previous prototype for ‘__wrap_free’ [-Wmissing-prototypes] 222 | void __wrap_free(void *ptr) | ^~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/mem.c:28:6: warning: no previous prototype for ‘kasan_map_memory’ [-Wmissing-prototypes] 28 | void kasan_map_memory(void *start, size_t len) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/mem.c:212:13: warning: no previous prototype for ‘check_tmpexec’ [-Wmissing-prototypes] 212 | void __init check_tmpexec(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/signal.c:75:6: warning: no previous prototype for ‘sig_handler’ [-Wmissing-prototypes] 75 | void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) | ^~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/signal.c:111:6: warning: no previous prototype for ‘timer_alarm_handler’ [-Wmissing-prototypes] 111 | void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/os-Linux/start_up.c:301:12: warning: no previous prototype for ‘parse_iomem’ [-Wmissing-prototypes] 301 | int __init parse_iomem(char *str, int *add) | ^~~~~~~~~~~ /kisskb/src/arch/um/kernel/mem.c:202:8: warning: no previous prototype for ‘pgd_alloc’ [-Wmissing-prototypes] 202 | pgd_t *pgd_alloc(struct mm_struct *mm) | ^~~~~~~~~ /kisskb/src/arch/um/kernel/mem.c:215:7: warning: no previous prototype for ‘uml_kmalloc’ [-Wmissing-prototypes] 215 | void *uml_kmalloc(int size, int flags) | ^~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:51:5: warning: no previous prototype for ‘pid_to_processor_id’ [-Wmissing-prototypes] 51 | int pid_to_processor_id(int pid) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:87:7: warning: no previous prototype for ‘__switch_to’ [-Wmissing-prototypes] 87 | void *__switch_to(struct task_struct *from, struct task_struct *to) | ^~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:140:6: warning: no previous prototype for ‘fork_handler’ [-Wmissing-prototypes] 140 | void fork_handler(void) | ^~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:217:6: warning: no previous prototype for ‘arch_cpu_idle’ [-Wmissing-prototypes] 217 | void arch_cpu_idle(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:253:5: warning: no previous prototype for ‘copy_to_user_proc’ [-Wmissing-prototypes] 253 | int copy_to_user_proc(void __user *to, void *from, int size) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:263:5: warning: no previous prototype for ‘clear_user_proc’ [-Wmissing-prototypes] 263 | int clear_user_proc(void __user *buf, int size) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:271:6: warning: no previous prototype for ‘set_using_sysemu’ [-Wmissing-prototypes] 271 | void set_using_sysemu(int value) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:278:5: warning: no previous prototype for ‘get_using_sysemu’ [-Wmissing-prototypes] 278 | int get_using_sysemu(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:316:12: warning: no previous prototype for ‘make_proc_sysemu’ [-Wmissing-prototypes] 316 | int __init make_proc_sysemu(void) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/process.c:348:15: warning: no previous prototype for ‘arch_align_stack’ [-Wmissing-prototypes] 348 | unsigned long arch_align_stack(unsigned long sp) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/reboot.c:45:6: warning: no previous prototype for ‘machine_restart’ [-Wmissing-prototypes] 45 | void machine_restart(char * __unused) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/reboot.c:51:6: warning: no previous prototype for ‘machine_power_off’ [-Wmissing-prototypes] 51 | void machine_power_off(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/reboot.c:57:6: warning: no previous prototype for ‘machine_halt’ [-Wmissing-prototypes] 57 | void machine_halt(void) | ^~~~~~~~~~~~ /kisskb/src/arch/um/kernel/tlb.c:579:6: warning: no previous prototype for ‘flush_tlb_mm_range’ [-Wmissing-prototypes] 579 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/tlb.c:594:6: warning: no previous prototype for ‘force_flush_all’ [-Wmissing-prototypes] 594 | void force_flush_all(void) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/um_arch.c:408:19: warning: no previous prototype for ‘read_initrd’ [-Wmissing-prototypes] 408 | int __init __weak read_initrd(void) | ^~~~~~~~~~~ /kisskb/src/arch/um/kernel/um_arch.c:461:7: warning: no previous prototype for ‘text_poke’ [-Wmissing-prototypes] 461 | void *text_poke(void *addr, const void *opcode, size_t len) | ^~~~~~~~~ /kisskb/src/arch/um/kernel/um_arch.c:473:6: warning: no previous prototype for ‘text_poke_sync’ [-Wmissing-prototypes] 473 | void text_poke_sync(void) | ^~~~~~~~~~~~~~ /kisskb/src/arch/um/kernel/kmsg_dump.c:60:12: warning: no previous prototype for ‘kmsg_dumper_stdout_init’ [-Wmissing-prototypes] 60 | int __init kmsg_dumper_stdout_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ LINK linux Completed OK # rm -rf /kisskb/build/linus_defconfig_um-x86_64-gcc12 # Build took: 0:00:48.150288