From 19c3d69a5719a4ef132a5ea3a0fe448cdf89474d Mon Sep 17 00:00:00 2001 From: Rory Li <736729045@qq.com> Date: Sun, 30 Jun 2024 14:17:34 +0000 Subject: [PATCH] update news/README.md. Signed-off-by: Rory Li <736729045@qq.com> --- news/README.md | 617 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 617 insertions(+) diff --git a/news/README.md b/news/README.md index 32e7cf0..703d001 100644 --- a/news/README.md +++ b/news/README.md @@ -8,6 +8,623 @@ * [2024 年 - 上半年](2024-1st-half.md) +## 20240630:第 98 期 + +### 内核动态 + +#### RISC-V 架构支持 + +**[v1: arch: riscv: thead: implement basic spi](http://lore.kernel.org/linux-riscv/20240630063845.116307-1-kanakshilledar@gmail.com/)** + +> implemented basic spi support for TH1520 SoC. +> created a fixed clock and a simple spi0 node. +> updated the matching binding to include thead,th1520-spi as compatible. +> added a spidev device in devicetree which will utilise the spi0 node. + +**[v4: Tracepoints and static branch in Rust](http://lore.kernel.org/linux-riscv/20240628-tracepoint-v4-0-353d523a9c15@google.com/)** + +> An important part of a production ready Linux kernel driver is +> tracepoints. + +**[v1: riscv: signal: abstract header saving for setup_sigcontext](http://lore.kernel.org/linux-riscv/20240628-dev-signal-refactor-v1-1-0c391b260261@sifive.com/)** + +> The function save_v_state() served two purposes. + +**[v1: riscv: vector: treat VS_INITIAL as discard](http://lore.kernel.org/linux-riscv/20240628-dev-vstate_discard-v1-1-18e1c5d7997e@sifive.com/)** + +> The purpose of riscv_v_vstate_discard() is to invalidate v context at +> entries of syscalls. + +**[v2: riscv: ftrace: atmoic patching and preempt improvements](http://lore.kernel.org/linux-riscv/20240628-dev-andyc-dyn-ftrace-v4-v2-0-1e5f4cb1f049@sifive.com/)** + +> This series makes atmoic code patching possible in riscv ftrace. + +**[v6: Add Svade and Svadu Extensions Support](http://lore.kernel.org/linux-riscv/20240628093711.11716-1-yongxuan.wang@sifive.com/)** + +> Svade and Svadu extensions represent two schemes for managing the PTE A/D +> bit. + +**[v7: riscv: mm: Add support for Svinval extension](http://lore.kernel.org/linux-riscv/20240627165327.7685-1-mchitale@ventanamicro.com/)** + +> The Svinval extension splits SFENCE.VMA instruction into finer-grained +> invalidation and ordering operations and is mandatory for RVA23S64 profile. + +**[v2: riscv: add initial support for SpacemiT K1](http://lore.kernel.org/linux-riscv/20240627-k1-01-basic-dt-v2-0-cc06c7555f07@gentoo.org/)** + +> SpacemiT K1 is an ideal chip for some new extension such as RISC-V Vector +> 1.0 and Zicond evaluation now. Add initial support for it to allow more +> people to participate in building drivers to mainline for it. + +**[v2: riscv: entry: always initialize regs->a0 to -ENOSYS](http://lore.kernel.org/linux-riscv/20240627142338.5114-2-CoelacanthusHex@gmail.com/)** + +> Otherwise when the tracer changes syscall number to -1, the kernel fails +> to initialize a0 with -ENOSYS and subsequently fails to return the error +> code of the failed syscall to userspace. + +**[v2: Zacas/Zabha support and qspinlocks](http://lore.kernel.org/linux-riscv/20240626130347.520750-1-alexghiti@rivosinc.com/)** + +> This implements [cmp]xchgXX() macros using Zacas and Zabha extensions +> and finally uses those newly introduced macros to add support for +> qspinlocks: note that this implementation of qspinlocks satisfies the +> forward progress guarantee. + +**[v7: Centralize _GNU_SOURCE definition into lib.mk](http://lore.kernel.org/linux-riscv/20240625223454.1586259-1-edliaw@google.com/)** + +> This is condensed into a single commit to avoid redefinition warnings +> from partial merges. + +**[v1: riscv: uaccess: optimizations](http://lore.kernel.org/linux-riscv/20240625040500.1788-1-jszhang@kernel.org/)** + +> This series tries to optimize riscv uaccess in the following way: + +**[v1: riscv: Randomize lower bits of stack address](http://lore.kernel.org/linux-riscv/20240625030502.68988-1-cuiyunhui@bytedance.com/)** + +> Implement arch_align_stack() to randomize the lower bits +> of the stack address. + +**[v3: RISC-V: Detect and report speed of unaligned vector accesses](http://lore.kernel.org/linux-riscv/20240625005001.37901-1-jesse@rivosinc.com/)** + +> The vec_misaligned_speed key keeps the same format +> as the scalar unaligned access speed key. + +**[v2: RISC-V: cmdline: Add support for 'memmap' parameter](http://lore.kernel.org/linux-riscv/20240624123739.43604-1-cuiyunhui@bytedance.com/)** + +> Add parsing of 'memmap' to use or reserve a specific region of memory. + +**[v2: irqchip/sifive-plic: ensure interrupt is enable before EOI](http://lore.kernel.org/linux-riscv/20240624113523.23-1-zhengyan@asrmicro.com/)** + +> The PLIC signals it has completed executing an interrupt handler by +> writing the interrupt ID it received from the claim to the claim/complete +> register. + +**[v1: riscv: Extend sv39 linear mapping max size to 128G](http://lore.kernel.org/linux-riscv/20240624112707.2183752-1-stuart.menefy@codasip.com/)** + +> This harmonizes all virtual addressing modes which can now all map +> (PGDIR_SIZE * PTRS_PER_PGD) / 4 of physical memory. + +**[v2: clk: thead: Add support for TH1520 AP_SUBSYS clock controller](http://lore.kernel.org/linux-riscv/20240623-th1520-clk-v2-0-ad8d6432d9fb@tenstorrent.com/)** + +> This series adds support for the AP sub-system clock controller in the +> T-Head TH1520 . + +**[v2: riscv: enable HAVE_ARCH_STACKLEAK](http://lore.kernel.org/linux-riscv/20240623235316.2010-1-jszhang@kernel.org/)** + +> Add support for the stackleak feature. Whenever the kernel returns to user +> space the kernel stack is filled with a poison value. + +**[v1: riscv: allwinner: ClockworkPi and DevTerm devicetrees](http://lore.kernel.org/linux-riscv/20240622150731.1105901-1-wens@kernel.org/)** + +> Here are a couple patches that were originally sent by Samuel, but later +> dropped due to the system LDO regulator bindings not getting merged. The +> regulator bindings were recently resent and landed [1], so now is the time +> to get the rest of the stragglers in. + + +#### LoongArch 架构支持 + +**[v1: LoongArch: uprobes: make UPROBE_SWBP_INSN/UPROBE_XOLBP_INSN constant](http://lore.kernel.org/loongarch/20240627160255.GA25374@redhat.com/)** + +> LoongArch defines UPROBE_SWBP_INSN as a function call and this breaks +> arch_uprobe_trampoline() which uses it to initialize a static variable. + +**[v4: LoongArch: KVM: Add Binary Translation extension support](http://lore.kernel.org/loongarch/20240626063239.3722175-1-maobibo@loongson.cn/)** + +> Loongson Binary Translation (LBT) is used to accelerate binary +> translation, which contains 4 scratch registers (scr0 to scr3), x86/ARM +> eflags (eflags) and x87 fpu stack pointer (ftop). + +**[v1: LoongArch: Automatically disable KASLR for hibernation](http://lore.kernel.org/loongarch/20240625061631.3461764-1-chenhuacai@loongson.cn/)** + +> Hibernation assumes the memory layout after resume be the same as that +> before sleep, so it expects the kernel is loaded at the same position. + +#### 进程调度 + +**[[PATCH-RT sched v2 0/2] Optimize the RT group scheduling](http://lore.kernel.org/lkml/20240629112812.243691-1-xavier_qy@163.com/)** + + +> The first patch optimizes the enqueue and dequeue of rt_se, the strategy +> employs a bottom-up removal approach. +> The second patch provides validation for the efficiency improvements made +> by patch 1. + +**[v1: ARM, sched/topology: Check return value of kcalloc()](http://lore.kernel.org/lkml/20240628194350.542376-2-thorsten.blum@toblux.com/)** + +> Check the return value of kcalloc() and return early if memory +> allocation fails. + +**[[PATCH-RT sched v1 0/2] Optimize the RT group scheduling](http://lore.kernel.org/lkml/20240627172156.235421-1-xavier_qy@163.com/)** + +> The first patch optimizes the enqueue and dequeue of rt_se, the strategy +> employs a bottom-up removal approach. +> The second patch provides validation for the efficiency improvements made +> by patch 1. The test case count the number of infinite loop executions for +> all threads. + +**[v2: sched: Initialize the vruntime of a new task when it is first enqueued](http://lore.kernel.org/lkml/20240627133359.1370598-1-zhangqiao22@huawei.com/)** + +> When creating a new task, we initialize vruntime of the newly task at +> sched_cgroup_fork(). + +**[v1: sched/core: defer printk() while rq lock is held](http://lore.kernel.org/lkml/b55e5f24-01ad-4a3d-94dc-e8a6bc15ac42@I-love.SAKURA.ne.jp/)** + +> syzbot is reporting circular locking dependency inside __bpf_prog_run() +> when trace_sched_switch() hook is called from __schedule(), for fault +> injection calls printk() despite rq lock is already held. + +**[v5: Introduce --task-name and --fuzzy-name options in perf sched map](http://lore.kernel.org/lkml/20240626091550.46707-1-vineethr@linux.ibm.com/)** + +> This patchset aims to reduce the amount of output printed on the terminal +> when using perf sched map, allowing users to focus only on the tasks of +> interest. + +**[v2: sched/fair: Make SCHED_IDLE entity be preempted in strict hierarchy](http://lore.kernel.org/lkml/20240626023505.1332596-1-dtcccc@linux.alibaba.com/)** + +> According to the cgroup hierarchy, A should preempt B. But current +> check_preempt_wakeup_fair() treats cgroup se and task separately, so B +> will preempt A unexpectedly. + +**[v1: sched/urgent: sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks](http://lore.kernel.org/lkml/ZntvFkBlLc9CIrpR@slm.duckdns.org/)** + +> Set_load_weight() is called with +> @update_load set. + +**[v1: sched/psi: Optimise psi_group_change a bit](http://lore.kernel.org/lkml/20240625135000.38652-1-tursulin@igalia.com/)** + +> The current code loops over the psi_states only to call a helper which +> then resolves back to the action needed for each state using a switch +> statement. + +**[v1: sched/eevdf: Augment comments to account for reality](http://lore.kernel.org/lkml/20240625-eevdf-doc-v1-1-215da9eb9354@linaro.org/)** + +> The references to "CFS" is a bit misleading these days since +> the scheduling principe is EEVDF. + +**[v1: sched/fair: Make SCHED_IDLE se be preempted in strict hierarchy](http://lore.kernel.org/lkml/20240624073900.10343-1-dtcccc@linux.alibaba.com/)** + +> According to the cgroup hierarchy, A should preempt B. + +#### 内存管理 + +**[v4: mm: support mTHP swap-in for zRAM-like swapfile](http://lore.kernel.org/linux-mm/20240629111010.230484-1-21cnbao@gmail.com/)** + +> In an embedded system like Android, more than half of anonymous memory is +> actually stored in swap devices such as zRAM. + +**[[v3 linus-tree PATCH] mm: gup: stop abusing try_grab_folio](http://lore.kernel.org/linux-mm/20240628191458.2605553-1-yang@os.amperecomputing.com/)** + +> A kernel warning was reported when pinning folio in CMA memory when +> launching SEV virtual machine. + +**[v2: Make core VMA operations internal and testable](http://lore.kernel.org/linux-mm/cover.1719584707.git.lstoakes@gmail.com/)** + +> There are a number of "core" VMA manipulation functions implemented in +> mm/mmap.c, notably those concerning VMA merging, splitting, modifying, +> expanding and shrinking, which logically don't belong there. + +**[v2: mm: introduce per-order mTHP split counters](http://lore.kernel.org/linux-mm/20240628130750.73097-1-ioworker0@gmail.com/)** + +> Currently, the split counters in THP statistics no longer include +> PTE-mapped mTHP. + +**[v1: support "THPeligible" semantics for mTHP with anonymous shmem](http://lore.kernel.org/linux-mm/20240628104926.34209-1-libang.li@antgroup.com/)** + +> After the commit 7fb1b252afb5 ("mm: shmem: add mTHP support for +> anonymous shmem"), we can configure different policies through +> the multi-size THP sysfs interface for anonymous shmem. + +**[v4: Improve the copy of task comm](http://lore.kernel.org/linux-mm/20240628085750.17367-1-laoar.shao@gmail.com/)** + +> Using {memcpy,strncpy,strcpy,kstrdup} to copy the task comm relies on the +> length of task comm. Changes in the task comm could result in a destination +> string that is overflow. + +**[v1: mm/zsmalloc: add zpdesc memory descriptor for zswap.zpool](http://lore.kernel.org/linux-mm/20240628031138.429622-1-alexs@kernel.org/)** + +> According to Metthew's plan, the page descriptor will be replace by a 8 +> bytes mem_desc on destination purpose. + +**[v1: New uid & gid mount option parsing helpers](http://lore.kernel.org/linux-mm/8dca3c11-99f4-446d-a291-35c50ed2dc14@redhat.com/)** + +> Multiple filesystems take uid and gid as options, and the code to +> create the ID from an integer and validate it is standard boilerplate +> that can be moved into common helper functions, so do that for +> consistency and less cut&paste. + +**[[v2 linus-tree PATCH] mm: gup: do not call try_grab_folio() in slow path](http://lore.kernel.org/linux-mm/20240627231601.1713119-1-yang@os.amperecomputing.com/)** + +> The try_grab_folio() is supposed to be used in fast path and it elevates +> folio refcount by using add ref unless zero. + +**[[v2 PATCH] mm: gup: do not call try_grab_folio() in slow path](http://lore.kernel.org/linux-mm/20240627221413.671680-1-yang@os.amperecomputing.com/)** + +> The try_grab_folio() is supposed to be used in fast path and it elevates +> folio refcount by using add ref unless zero. + +**[v1: cachestat: do not flush stats in recency check](http://lore.kernel.org/linux-mm/20240627201737.3506959-1-nphamcs@gmail.com/)** + +> This is done in the +> workingset_test_recent() step (which checks if the folio's eviction is +> recent). + +**[v6: ioctl()-based API to query VMAs from /proc//maps](http://lore.kernel.org/linux-mm/20240627170900.1672542-1-andrii@kernel.org/)** + +> Implement binary ioctl()-based interface to /proc//maps file to allow +> applications to query VMA information more efficiently than reading *all* VMAs +> nonselectively through text-based interface of /proc//maps file. + +**[v1: mm-unstable: mm/damon/core: ensure max threshold attempt for max_nr_regions violation](http://lore.kernel.org/linux-mm/20240627163153.75969-1-sj@kernel.org/)** + +> Fix this by stopping the loop by comparing the last-used threshold +> instead of the to-be-used threshold, and if the last-used threshold is +> same to or higher than the maximum possible threshold. + +**[v1: DRM resource management cgroup, try 2.](http://lore.kernel.org/linux-mm/20240627154754.74828-1-maarten.lankhorst@linux.intel.com/)** + +> This series allows setting limits on VRAM similar to system memory, +> with min/low/max limits. +> This allows various cgroups to have their own limits for usage. + +**[v7: mm: store zero pages to be swapped out in a bitmap](http://lore.kernel.org/linux-mm/20240627105730.3110705-1-usamaarif642@gmail.com/)** + +> As shown in the patchseries that introduced the zswap same-filled +> optimization , 10-20% of the pages stored in zswap are same-filled. + +**[v1: fs: multigrain timestamp redux](http://lore.kernel.org/linux-mm/20240626-mgtime-v1-0-a189352d0f8f@kernel.org/)** + +**[v1: swapfile: disable swapon for bs > ps devices](http://lore.kernel.org/linux-mm/20240627000924.2074949-1-mcgrof@kernel.org/)** + +> Devices which have a requirement for bs > ps cannot be supported for +> swap as swap still needs work. + +**[v1: mm-unstable: mm/damon/core: increase regions merge aggressiveness while respecting min_nr_regions](http://lore.kernel.org/linux-mm/20240626164753.46270-1-sj@kernel.org/)** + +> The access frequency threshold avoids merging two +> adjacent regions that having pretty different access frequency. + +**[v2: mm: vmalloc: Check if a hash-index is in cpu_possible_mask](http://lore.kernel.org/linux-mm/20240626140330.89836-1-urezki@gmail.com/)** + +> The problem is that there are systems where cpu_possible_mask +> has gaps between set CPUs, for example SPARC. + +**[v5: mm: migrate: support poison recover from migrate folio](http://lore.kernel.org/linux-mm/20240626085328.608006-1-wangkefeng.wang@huawei.com/)** + +> The folio migration is widely used in kernel, memory compaction, memory +> hotplug, soft offline page, numa balance, memory demote/promotion, etc, +> but once access a poisoned source folio when migrating, the kernel will +> panic. + +**[v1: mm: introduce gen information in /proc/xxx/smaps](http://lore.kernel.org/linux-mm/20240626084406.2106291-1-zhaoyang.huang@unisoc.com/)** + +> This commit would like to introduce the folios' gen +> information based on VMA block via which the userspace could query +> the VA's activity before madvise. + +**[v1: mm: Prevent derefencing NULL ptr in pfn_section_valid()](http://lore.kernel.org/linux-mm/20240626001639.1350646-1-longman@redhat.com/)** + +> Commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing +> memory_section->usage") changed pfn_section_valid() to add a READ_ONCE() +> call around "ms->usage" to fix a race with section_deactivate() where +> ms->usage can be cleared. + +**[v1: hugetlbfs: add MTE support](http://lore.kernel.org/linux-mm/20240625233717.2769975-1-yang@os.amperecomputing.com/)** + +> MTE can be supported on ram based filesystem. It is supported on tmpfs. +> There is use case to use MTE on hugetlbfs as well, adding MTE support. + +#### 文件系统 + +**[v1: vfs: rename parent_ino to d_parent_ino and make it use RCU](http://lore.kernel.org/linux-fsdevel/20240627161152.802567-1-mjguzik@gmail.com/)** + +> The routine is used by procfs through dir_emit_dots. + +**[v1: pidfs: allow retrieval of namespace descriptors](http://lore.kernel.org/linux-fsdevel/20240627-work-pidfs-v1-0-7e9ab6cc3bb1@kernel.org/)** + +> This adds support from deriving a namespace file descriptor from a +> pidfd for all namespace types. + +**[v3: fs/namespace: defer RCU sync for MNT_DETACH umount](http://lore.kernel.org/linux-fsdevel/20240626201129.272750-2-lkarpins@redhat.com/)** + +> Attached is v3 of the umount optimization. Please take a look at v1 for +> the original introduction to the problem. + +**[v2: Rosebush, a new hash table](http://lore.kernel.org/linux-fsdevel/20240625211803.2750563-1-willy@infradead.org/)** + +> Rosebush is a resizing, scalable, cache-aware, RCU optimised hash table. + +**[v2: fat: add support for directories without . and .. entries](http://lore.kernel.org/linux-fsdevel/20240625175133.922758-1-cascardo@igalia.com/)** + +> Some FAT filesystems do not have . and .. entries in some directories. + +**[v3: vfs: support statx(..., NULL, AT_EMPTY_PATH, ...)](http://lore.kernel.org/linux-fsdevel/20240625151807.620812-1-mjguzik@gmail.com/)** + +> The newly used helper also checks for empty ("") paths. + +**[v9: arm64/gcs: Provide support for GCS in userspace](http://lore.kernel.org/linux-fsdevel/20240625-arm64-gcs-v9-0-0f634469b8f0@kernel.org/)** + +> The arm64 Guarded Control Stack (GCS) feature provides support for +> hardware protected stacks of return addresses, intended to provide +> hardening against return oriented programming (ROP) attacks and to make +> it easier to gather call stacks for applications such as profiling. + + +#### 网络设备 + +**[v3: Add AP6275P wireless support](http://lore.kernel.org/netdev/20240630073605.2164346-1-jacobe.zang@wesion.com/)** + +> These add AP6275P wireless support on Khadas Edge2. Enable 32k clock +> for Wi-Fi module and extend the hardware IDs table in the brcmfmac +> driver for it to attach. + +**[v6: bpf-next: netfilter: Add the capability to offload flowtable in XDP layer](http://lore.kernel.org/netdev/cover.1719698275.git.lorenzo@kernel.org/)** + +> Introduce bpf_xdp_flow_lookup kfunc in order to perform the lookup of +> a given flowtable entry based on the fib tuple of incoming traffic. + +**[v4: Introduce EN7581 ethernet support](http://lore.kernel.org/netdev/cover.1719672695.git.lorenzo@kernel.org/)** + +> Add airoha_eth driver in order to introduce ethernet support for +> Airoha EN7581 SoC available on EN7581 development board. + +**[v1: net-next: pull-request: can-next 2024-06-29](http://lore.kernel.org/netdev/20240629114017.1080160-1-mkl@pengutronix.de/)** + +> this is a pull request of 14 patches for net-next/master. + +**[v1: net-next: gve: Add retry logic for recoverable adminq errors](http://lore.kernel.org/netdev/20240628204139.458075-1-rushilg@google.com/)** + +> This method keeps track of return codes for each queue and retries +> the commands for the queues that failed with ETIME. + +**[v3: net: sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket](http://lore.kernel.org/netdev/20240628203525.XyTsNaBIb4l-V1xlGXBeMUd7eP6S45oVNFYE81_k2p0@z/)** + +> When using a BPF program on kernel_connect(), the call can return -EPERM. This +> causes xs_tcp_setup_socket() to loop forever, filling up the syslog and causing +> the kernel to potentially freeze up. + +**[v1: gve: Add retry logic for recoverable adminq errors](http://lore.kernel.org/netdev/20240628185446.262191-1-rushilg@google.com/)** + +> An adminq command is retried if it fails with an ETIME error code +> which translates to the deadline exceeded error for the device. + +**[v1: net/socket: clamp negative backlog value to 0 in listen()](http://lore.kernel.org/netdev/20240628172836.19213-1-cosiekvfj@o2.pl/)** + +> If listen() is called with a backlog argument value that is less +> than 0, the function behaves as if it had been called with a +> backlog argument value of 0. + +**[[net-next PATCH] octeontx2-af: Sync NIX and NPA contexts from NDC to LLC/DRAM](http://lore.kernel.org/netdev/1719592286-24699-1-git-send-email-sbhatta@marvell.com/)** + +> Octeontx2 hardware uses Near Data Cache(NDC) block to cache +> contexts in it so that access to LLC/DRAM can be avoided. + +**[v1: net-next: net: tn40xx: add initial ethtool_ops support](http://lore.kernel.org/netdev/20240628134116.120209-1-fujita.tomonori@gmail.com/)** + +> Call phylink_ethtool_ksettings_get() for get_link_ksettings method and +> ethtool_op_get_link() for get_link method. + +**[v2: net-next: net: ethernet: ti: am65-cpsw: Add multi queue RX support](http://lore.kernel.org/netdev/20240628-am65-cpsw-multi-rx-v2-0-c399cb77db56@kernel.org/)** + +> This series adds multi-queue support. The driver starts with +> 1 RX queue by default. User can increase the RX queues via ethtool, + +**[v5: net-next: net: pse-pd: Add new PSE c33 features](http://lore.kernel.org/netdev/20240628-feature_poe_power_cap-v5-0-5e1375d3817a@bootlin.com/)** + +> This patch series adds new c33 features to the PSE API. + +**[v2: net: phy: aquantia: add missing include guards](http://lore.kernel.org/netdev/20240628075501.19090-1-brgl@bgdev.pl/)** + +> The header is missing the include guards so add them. + +**[v15: net-next: Device Memory TCP](http://lore.kernel.org/netdev/20240628003253.1694510-1-almasrymina@google.com/)** + +**[v6: landlock: Add abstract unix socket connect restriction](http://lore.kernel.org/netdev/Zn32CYZiu7pY+rdI@tahera-OptiPlex-5000/)** + +> Abstract unix sockets are used for local inter-process communications +> without a filesystem. + +**[v2: net-next: tcp_metrics: add netlink protocol spec in YAML](http://lore.kernel.org/netdev/20240627213551.3147327-1-kuba@kernel.org/)** + +> Add a netlink protocol spec for the tcp_metrics generic netlink family. +> First patch adjusts the uAPI header guards to make it easier to build +> tools/ with non-system headers. + +**[v2: net: tcp_metrics: validate source addr length](http://lore.kernel.org/netdev/20240627212500.3142590-1-kuba@kernel.org/)** + +**[v1: net-next: net: introduce TX shaping H/W offload API](http://lore.kernel.org/netdev/cover.1719518113.git.pabeni@redhat.com/)** + +> This series introduces new device APIs to configure in a flexible way +> TX shaping H/W offload. + +**[v4: net-next: enic: add ethtool get_channel support](http://lore.kernel.org/netdev/20240627202013.2398217-1-jon@nutanix.com/)** + +> Add .get_channel to enic_ethtool_ops to enable basic ethtool -l +> support to get the current channel configuration. + +**[v6: net/mlx5: Reclaim max 50K pages at once](http://lore.kernel.org/netdev/20240627182443.19254-1-anand.a.khoje@oracle.com/)** + +> This needs humongous number of cmd mailboxes, which to be released once +> the pages are reclaimed. Release of humongous number of cmd mailboxes is +> consuming cpu time running into many seconds. + +#### 安全增强 + +**[v2: mfd: omap-usb-tll: use struct_size to allocate tll](http://lore.kernel.org/linux-hardening/20240626-omap-usb-tll-counted_by-v2-1-4bedf20d1b51@gmail.com/)** + +> In particular, the allocation for the array of pointers was converted +> into a single-pointer allocation. + +**[v1: printk: Add a short description string to kmsg_dump()](http://lore.kernel.org/linux-hardening/20240625123954.211184-1-jfalempe@redhat.com/)** + +> This patch adds a new parameter "const char *desc" to the kmsg_dumper +> dump() callback, and update all drivers that are using it. + +**[v5: Add sy7802 flash led driver](http://lore.kernel.org/linux-hardening/20240624-sy7802-v5-0-7abc9d96bfa6@apitzsch.eu/)** + +> This series introduces a driver for the Silergy SY7802 charge pump used +> in the BQ Aquaris M5 and X5 smartphones. + +**[v3: Add per-core RAPL energy counter support for AMD CPUs](http://lore.kernel.org/linux-hardening/20240624055907.7720-1-Dhananjay.Ugwekar@amd.com/)** + +> This patchset adds a new "power_per_core" PMU alongside the existing +> "power" PMU, which will be responsible for collecting the new +> "energy-per-core" event. + +#### 异步 IO + +**[v5: io_uring/rsrc: coalescing multi-hugepage registered buffers](http://lore.kernel.org/io-uring/20240628084411.2371-1-cliang01.li@samsung.com/)** + +> This patch series enables coalescing registered buffers with more than +> one hugepages. It optimizes the DMA-mapping time and saves memory for +> these kind of buffers. + +**[v2: Read/Write with meta/integrity](http://lore.kernel.org/io-uring/20240626100700.3629-1-anuj20.g@samsung.com/)** + +> This adds a new io_uring interface to exchange meta along with read/write. +> + +**[v1: statx NULL path support](http://lore.kernel.org/io-uring/20240625110029.606032-1-mjguzik@gmail.com/)** + +> Generated against vfs/vfs.empty.path, uses the new vfs_empty_path +> helper. + +**[v1: io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI](http://lore.kernel.org/io-uring/caac8dc8-3794-461d-a7ec-de940b7110b9@kernel.dk/)** + +> Before SQPOLL was transitioned to managing its own task_work, the core +> used TWA_SIGNAL_NO_IPI to ensure that task_work was processed. + +#### Rust For Linux + +#### BPF + +**[v1: bpf-next: no_caller_saved_registers attribute for helper calls](http://lore.kernel.org/bpf/20240629094733.3863850-1-eddyz87@gmail.com/)** + +> This RFC seeks to allow using no_caller_saved_registers gcc/clang +> attribute with some BPF helper functions. + +**[v13: Reduce overhead of LSMs with static calls](http://lore.kernel.org/bpf/20240629084331.3807368-1-kpsingh@kernel.org/)** + +> With this patch-set some syscalls with lots of LSM hooks in their path +> benefitted at an average of +> 3% and I/O and Pipe based system calls benefitting +> the most. + +**[v6: bpf-next: use network helpers, part 8](http://lore.kernel.org/bpf/cover.1719623708.git.tanggeliang@kylinos.cn/)** + +**[v5: Faultable Tracepoints](http://lore.kernel.org/bpf/20240627152340.82413-1-mathieu.desnoyers@efficios.com/)** + +> Wire up the system call tracepoints with Tasks Trace RCU to allow +> the ftrace, perf, and eBPF tracers to handle page faults. + +**[v1: bpf-next: libbpf: Make btf_name_info.needs_size unsigned](http://lore.kernel.org/bpf/20240627090942.20127-1-iii@linux.ibm.com/)** + +> Resolve the issue by making needs_size unsigned. + +**[v1: bpf-next: s390/bpf: Implement arena](http://lore.kernel.org/bpf/20240627090900.20017-1-iii@linux.ibm.com/)** + +> This series adds arena support to the s390x JIT. + +**[v1: sched_ext/for-6.11: sched_ext: Disallow loading BPF scheduler if isolcpus= domain isolation is in effect](http://lore.kernel.org/bpf/Zny_5syk1K74HP0D@slm.duckdns.org/)** + +> sched_domains regulate the load balancing for sched_classes. + +**[v2: HID: HID: bpf_struct_ops, part 2](http://lore.kernel.org/bpf/20240626-hid_hw_req_bpf-v2-0-cfd60fb6c79f@kernel.org/)** + +> This series is a followup of the struct_ops conversion. + +**[v1: sched_ext/for-6.11: sched_ext: Account for idle policy when setting p->scx.weight in scx_ops_enable_task()](http://lore.kernel.org/bpf/Znt6sLf62JTIdGxR@slm.duckdns.org/)** + +> Update it to use WEIGHT_IDLEPRIO as the +> source weight for SCHED_IDLE tasks. + +**[v14: net-next: Device Memory TCP](http://lore.kernel.org/bpf/20240625195407.1922912-1-almasrymina@google.com/)** + +**[v1: bpf: defer printk() inside __bpf_prog_run()](http://lore.kernel.org/bpf/345098dc-8cb4-4808-98cf-fa9ab3af4fc4@I-love.SAKURA.ne.jp/)** + +> syzbot is reporting circular locking dependency inside __bpf_prog_run(), +> for fault injection calls printk() despite rq lock is already held. + +### 周边技术动态 + +#### Qemu + +**[v2: target/riscv: Support zimop/zcmop/zama16b/zabha](http://lore.kernel.org/qemu-devel/20240630030559.877-1-zhiwei_liu@linux.alibaba.com/)** + +> We have sent their implementations separately, and we have received few objective +> comments except for some ISA extensions order. So, I have put them together +> as one patch set to make it easier for merging. + +**[v1: util: Add cpuinfo support for riscv](http://lore.kernel.org/qemu-devel/20240627180350.128575-1-richard.henderson@linaro.org/)** + +> Do cpu feature detection in util, like other hosts. +> Support the OpenBSD ucontext_t. +> Support the Linux __riscv_hwprobe syscall. + +**[v1: riscv-to-apply queue](http://lore.kernel.org/qemu-devel/20240627100053.150937-1-alistair.francis@wdc.com/)** + +> The following changes since commit 3f044554b94fc0756d5b3cdbf84501e0eea0e629: + +**[v6: RISC-V: Modularize common match conditions for trigger](http://lore.kernel.org/qemu-devel/20240627031433.2216509-1-alvinga@andestech.com/)** + +> This series modularize the code for checking the privilege levels of +> type 2/3/6 triggers by implementing functions trigger_common_match() +> and trigger_priv_match(). + +**[v7: Add RISC-V ISA extension smcntrpmf support](http://lore.kernel.org/qemu-devel/20240626-smcntrpmf_v7-v7-0-bb0f10af7fa9@rivosinc.com/)** + +> This patch series adds the support for RISC-V ISA extension smcntrpmf (cycle and +> privilege mode filtering) . + +**[v1: disas/riscv: Add decode for Zawrs extension](http://lore.kernel.org/qemu-devel/20240626094153.27208-1-rbradford@rivosinc.com/)** + +> Add disassembly support for these instructions from Zawrs: + +**[v3: Support RISC-V CSR read/write in Qtest environment](http://lore.kernel.org/qemu-devel/20240625153555.104088-1-ivan.klokov@syntacore.com/)** + +> These patches add functionality for unit testing RISC-V-specific registers. + +**[v8: target/riscv/kvm/kvm-cpu.c: kvm_riscv_handle_sbi() fail with vendor-specific SBI](http://lore.kernel.org/qemu-devel/20240625150254.38790-1-alexei.filippov@syntacore.com/)** + +> Add new error path to provide proper error in case of +> qemu_chr_fe_read_all() may not return sizeof(ch). + +**[v2: target/riscv: Add support for machine specific pmu's events](http://lore.kernel.org/qemu-devel/20240625144643.34733-1-alexei.filippov@syntacore.com/)** + +> Was added call backs for machine specific pmu events. + +**[v4: riscv: QEMU RISC-V IOMMU Support](http://lore.kernel.org/qemu-devel/20240624201825.1054980-1-dbarboza@ventanamicro.com/)** + +> This new version contains changes based on suggestions made during the +> v3 review. + +#### Buildroot + +**[package/xz: explicitly specify all autoconf options](http://lore.kernel.org/buildroot/20240624135304.6263482B31@busybox.osuosl.org/)** + +> Explicitly specify all autoconf options with their default values, with +> the following special cases + + + ## 20240623:第 97 期 ### 内核动态 -- Gitee