# 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/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 9187210eee7d87eea37b45ea93454a88681894a4 # make -s -j 160 ARCH=sh O=/kisskb/build/linus_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- defconfig # < make -s -j 160 ARCH=sh O=/kisskb/build/linus_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linus_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linus_defconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/mm/cache-shx3.c:18:13: warning: no previous prototype for 'shx3_cache_init' [-Wmissing-prototypes] 18 | void __init shx3_cache_init(void) | ^~~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_spin_lock' [-Wmissing-prototypes] 68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS' 126 | BUILD_LOCK_OPS(spin, raw_spinlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_spin_lock_irqsave' [-Wmissing-prototypes] 80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS' 126 | BUILD_LOCK_OPS(spin, raw_spinlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_spin_lock_irq' [-Wmissing-prototypes] 98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS' 126 | BUILD_LOCK_OPS(spin, raw_spinlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_spin_lock_bh' [-Wmissing-prototypes] 103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:126:1: note: in expansion of macro 'BUILD_LOCK_OPS' 126 | BUILD_LOCK_OPS(spin, raw_spinlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_read_lock' [-Wmissing-prototypes] 68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS' 129 | BUILD_LOCK_OPS(read, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_read_lock_irqsave' [-Wmissing-prototypes] 80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS' 129 | BUILD_LOCK_OPS(read, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_read_lock_irq' [-Wmissing-prototypes] 98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS' 129 | BUILD_LOCK_OPS(read, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_read_lock_bh' [-Wmissing-prototypes] 103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:129:1: note: in expansion of macro 'BUILD_LOCK_OPS' 129 | BUILD_LOCK_OPS(read, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:68:17: warning: no previous prototype for '__raw_write_lock' [-Wmissing-prototypes] 68 | void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS' 130 | BUILD_LOCK_OPS(write, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:80:26: warning: no previous prototype for '__raw_write_lock_irqsave' [-Wmissing-prototypes] 80 | unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS' 130 | BUILD_LOCK_OPS(write, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:98:17: warning: no previous prototype for '__raw_write_lock_irq' [-Wmissing-prototypes] 98 | void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS' 130 | BUILD_LOCK_OPS(write, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/kernel/locking/spinlock.c:103:17: warning: no previous prototype for '__raw_write_lock_bh' [-Wmissing-prototypes] 103 | void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \ | ^~~~~~ /kisskb/src/kernel/locking/spinlock.c:130:1: note: in expansion of macro 'BUILD_LOCK_OPS' 130 | BUILD_LOCK_OPS(write, rwlock); | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/flush-sh4.c:106:13: warning: no previous prototype for 'sh4__flush_region_init' [-Wmissing-prototypes] 106 | void __init sh4__flush_region_init(void) | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/init.c:99:29: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes] 99 | void __attribute__ ((weak)) l2_cache_init(void) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/cache-sh4.c:384:13: warning: no previous prototype for 'sh4_cache_init' [-Wmissing-prototypes] 384 | void __init sh4_cache_init(void) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4/fpu.c:389:6: warning: no previous prototype for 'float_raise' [-Wmissing-prototypes] 389 | void float_raise(unsigned int flags) | ^~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh4/fpu.c:394:5: warning: no previous prototype for 'float_rounding_mode' [-Wmissing-prototypes] 394 | int float_rounding_mode(void) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:10:6: warning: no previous prototype for 'pgd_ctor' [-Wmissing-prototypes] 10 | void pgd_ctor(void *x) | ^~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:32:8: warning: no previous prototype for 'pgd_alloc' [-Wmissing-prototypes] 32 | pgd_t *pgd_alloc(struct mm_struct *mm) | ^~~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:37:6: warning: no previous prototype for 'pgd_free' [-Wmissing-prototypes] 37 | void pgd_free(struct mm_struct *mm, pgd_t *pgd) | ^~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:43:6: warning: no previous prototype for 'pud_populate' [-Wmissing-prototypes] 43 | void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) | ^~~~~~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:48:8: warning: no previous prototype for 'pmd_alloc_one' [-Wmissing-prototypes] 48 | pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/pgtable.c:53:6: warning: no previous prototype for 'pmd_free' [-Wmissing-prototypes] 53 | void pmd_free(struct mm_struct *mm, pmd_t *pmd) | ^~~~~~~~ /kisskb/src/arch/sh/kernel/return_address.c:49:7: warning: no previous prototype for 'return_address' [-Wmissing-prototypes] 49 | void *return_address(unsigned int depth) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/tlbex_32.c:22:1: warning: no previous prototype for 'handle_tlbmiss' [-Wmissing-prototypes] 22 | handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/sys_sh.c:58:16: warning: no previous prototype for 'sys_cacheflush' [-Wmissing-prototypes] 58 | asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) | ^~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/traps_32.c:735:6: warning: no previous prototype for 'per_cpu_trap_init' [-Wmissing-prototypes] 735 | void per_cpu_trap_init(void) | ^~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/smp.c:173:17: warning: no previous prototype for 'start_secondary' [-Wmissing-prototypes] 173 | asmlinkage void start_secondary(void) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/smp.c:324:5: warning: no previous prototype for 'setup_profiling_timer' [-Wmissing-prototypes] 324 | int setup_profiling_timer(unsigned int multiplier) | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/kprobes.c:52:16: warning: no previous prototype for 'arch_copy_kprobe' [-Wmissing-prototypes] 52 | void __kprobes arch_copy_kprobe(struct kprobe *p) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/kprobes.c:304:15: warning: no previous prototype for 'trampoline_probe_handler' [-Wmissing-prototypes] 304 | int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/hw_breakpoint.c:135:5: warning: no previous prototype for 'arch_bp_generic_fields' [-Wmissing-prototypes] 135 | int arch_bp_generic_fields(int sh_len, int sh_type, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /kisskb/src/fs/ext4/readpage.c:392:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] 392 | } | ^ /kisskb/src/arch/sh/boot/compressed/cache.c:2:5: warning: no previous prototype for 'cache_control' [-Wmissing-prototypes] 2 | int cache_control(unsigned int command) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/boot/compressed/misc.c:115:6: warning: no previous prototype for 'ftrace_stub' [-Wmissing-prototypes] 115 | void ftrace_stub(void) | ^~~~~~~~~~~ /kisskb/src/arch/sh/boot/compressed/misc.c:118:6: warning: no previous prototype for 'arch_ftrace_ops_list_func' [-Wmissing-prototypes] 118 | void arch_ftrace_ops_list_func(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/boot/compressed/misc.c:128:6: warning: no previous prototype for 'decompress_kernel' [-Wmissing-prototypes] 128 | void decompress_kernel(void) | ^~~~~~~~~~~~~~~~~ Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_defconfig_sh4-gcc13 # Build took: 0:00:37.602410