diff --git a/_posts/2024-07-16-12-06-49-rvlwn-100.md b/_posts/2024-07-16-12-06-49-rvlwn-100.md new file mode 100644 index 000000000..92b02748a --- /dev/null +++ b/_posts/2024-07-16-12-06-49-rvlwn-100.md @@ -0,0 +1,568 @@ +--- +layout: weekly +author: '呀呀呀' +title: 'RISC-V Linux 内核及周边技术动态第 100 期' +draft: false +group: 'news' +album: 'RISC-V Linux' +license: 'cc-by-nc-nd-4.0' +permalink: /rvlwn-100/ +description: 'RISC-V Linux 内核及周边技术动态第 100 期' +category: + - 开源项目 + - Risc-V +tags: + - Linux + - RISC-V + - dwmac + - TH1520 + - KVM + - Svade + - Svadu + - Sipeed + - LicheeRV + - Sophgo +--- + +> 时间:20240714
+> 编辑:晓瑜
+> 仓库:[RISC-V Linux 内核技术调研活动](https://gitee.com/tinylab/riscv-linux)
+> 赞助:PLCT Lab, ISCAS + +## 内核动态 + +### RISC-V 架构支持 + +**[v1: net-next: Add the dwmac driver support for T-HEAD TH1520 SoC.](http://lore.kernel.org/linux-riscv/20240713-thead-dwmac-v1-0-81f04480cd31@tenstorrent.com/)** + +> There was +> discussion about the syscon for the APB registers in Jisheng's v2. + +**[GIT PULL: KVM/riscv changes for 6.11](http://lore.kernel.org/linux-riscv/CAAhSdy0jae8TYcbChockXDJ9qL+HnA1p3YJQi32NHQsLUtCGDA@mail.gmail.com/)** + +> We have the following KVM RISC-V changes for 6.11 + +**[v7: Add Svade and Svadu Extensions Support](http://lore.kernel.org/linux-riscv/20240712083850.4242-1-yongxuan.wang@sifive.com/)** + +> Svade and Svadu extensions represent two schemes for managing the PTE A/D +> bit. + +**[v4: RISC-V: Detect and report speed of unaligned vector accesses](http://lore.kernel.org/linux-riscv/20240711215846.834365-1-jesse@rivosinc.com/)** + +> Adds support for detecting and reporting the speed of unaligned vector +> accesses on RISC-V CPUs. + +**[v4: Add board support for Sipeed LicheeRV Nano](http://lore.kernel.org/linux-riscv/20240711-sg2002-v4-0-d97ec2367095@bootlin.com/)** + +> Adds +> minimal device tree files for this board to make it boot to a basic +> shell. + +**[v1: riscv/mm: Add soft-dirty page tracking support](http://lore.kernel.org/linux-riscv/20240710033004.3923527-1-zhangchunyan@iscas.ac.cn/)** + +> This patch adds its standard handlers for +> PTE, PMD, and swap entry. + +**[v4: RISC-V: Parse DT for Zkr to seed KASLR](http://lore.kernel.org/linux-riscv/20240709173937.510084-1-jesse@rivosinc.com/)** + +> Add functions to pi/fdt_early.c to help parse the FDT to check if +> the isa string has the Zkr extension. + +**[v2: riscv: select ARCH_USE_SYM_ANNOTATIONS](http://lore.kernel.org/linux-riscv/20240709160536.3690-1-jszhang@kernel.org/)** + +> commit 76329c693924 ("riscv: Use SYM_*() assembly macros instead +> of deprecated ones"), most riscv has been to converted the new style +> SYM_ assembler annotations. + +**[v4: riscv: add initial support for SpacemiT K1](http://lore.kernel.org/linux-riscv/20240709-k1-01-basic-dt-v4-0-ae5bb5e56aaf@gentoo.org/)** + +> Add initial support for it to allow more +> people to participate in building drivers to mainline for it. + +**[v1: riscv/purgatory: align riscv_kernel_entry](http://lore.kernel.org/linux-riscv/20240709012606.748596-1-cyrevolt@gmail.com/)** + +> When alignment handling is delegated to the kernel, everything must be +> word-aligned in purgatory, since the trap handler is then set to the +> kexec one. + +**[GIT PULL: RISC-V Sophgo Devicetrees for v6.11](http://lore.kernel.org/linux-riscv/PN1P287MB281861EA2B1706B430D2FA3EFEDB2@PN1P287MB2818.INDP287.PROD.OUTLOOK.COM/)** + +> Please pull dt changes for RISC-V/Sophgo. + +**[v1: bpf-next: riscv, bpf: Optimize stack usage of trampoline](http://lore.kernel.org/linux-riscv/20240708114758.64414-1-puranjay@kernel.org/)** + +> Only reserve space for stacked arguments when BPF_TRAMP_F_CALL_ORIG is +> set. + +**[v3: riscv: stacktrace: Add USER_STACKTRACE support](http://lore.kernel.org/linux-riscv/20240708032847.2998158-1-ruanjinjie@huawei.com/)** + +> Add RISC-V USER_STACKTRACE support, and fix the fp alignment bug +> in perf_callchain_user() by the way as Björn pointed out. + +**[v1: riscv: cacheinfo: Add back init_cache_level() function](http://lore.kernel.org/linux-riscv/20240707003515.5058-1-spersvold@gmail.com/)** + +> commit 5944ce092b97 (arch_topology: Build cacheinfo from primary CPU) +> removed the init_cache_level() function from arch/riscv/kernel/cacheinfo.c +> and relies on the init_cpu_topology() function in drivers/base/arch_topology.c +> to call fetch_cache_info() which in turn calls init_of_cache_level() to +> populate the cache hierarchy information. + +**[v1: serial: 8250: don't lost port's default capabilities](http://lore.kernel.org/linux-riscv/20240706082928.2238-1-jszhang@kernel.org/)** + +> Commit b0b8c84cf58d ("serial: of_serial: Handle auto-flow-control +> property") added support for fifo-size and hw-flow-control properties +> to avoid adding new types to 8250.c for UARTs that are compatible with +> the standard types but that have different size fifo or support 16750 +> compatible auto flow control. + +### LoongArch 架构支持 + +**[v1: Add jump table support for objtool on LoongArch](http://lore.kernel.org/loongarch/20240712091506.28140-1-yangtiezhu@loongson.cn/)** + +> This RFC version is based on Linux 6.10-rc7, there are no detailed +> commit messages for each patch for now and the code are relatively +> clear and simple. + +**[GIT PULL: LoongArch KVM changes for v6.11](http://lore.kernel.org/loongarch/20240710104923.2569660-1-chenhuacai@loongson.cn/)** + +> Add ParaVirt steal time support. Add some VM migration enhancement. Add perf kvm-stat support for loongarch. + +**[GIT PULL: LoongArch KVM changes for v6.11](http://lore.kernel.org/loongarch/20240710084630.2553263-1-chenhuacai@loongson.cn/)** + +> The following changes since commit 256abd8e550ce977b728be79a74e1729438b4948 + +**[v4: v1: LoongArch: Add AVEC irqchip support](http://lore.kernel.org/loongarch/20240710043859.13053-1-zhangtianyang@loongson.cn/)** + +> Introduce the advanced extended interrupt controllers. + +### 进程调度 + +**[v3: sched/fair: Defer CFS throttle to user entry](http://lore.kernel.org/lkml/20240711130004.2157737-1-vschneid@redhat.com/)** + +> CFS tasks can end up throttled while holding locks that other, non-throttled +> tasks are blocking on. + +**[v1: sched/ext: Add BPF function to fetch rq](http://lore.kernel.org/lkml/7359b5cd17d56837bc15f4883b21837163c51d37.1720441953.git.hongyan.xia2@arm.com/)** + +> rq contains many useful fields to implement a custom scheduler. + +**[v6: Introduce --task-name and --fuzzy-name options in perf sched map](http://lore.kernel.org/lkml/20240707182716.22054-1-vineethr@linux.ibm.com/)** + +> This patch-set 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. + +**[v1: sched/autogroup: Improve readability and performance](http://lore.kernel.org/lkml/CANtevs+a-ec45oz1tJd0m2Qc+dU4ASj9BcdUbyhsQ5Hm94dEKQ@mail.gmail.com/)** + +> This patch improves the readability and performance of the autogroup +> scheduling code. + +### 内存管理 + +**[v2: binfmt_elf, coredump: Log the reason of the failed core dumps](http://lore.kernel.org/linux-mm/20240712215223.605363-1-romank@linux.microsoft.com/)** + +> A powerful way to diagnose crashes is to analyze the core dump produced upon +> the failure. + +**[v1: Address Space Isolation (ASI) 2024](http://lore.kernel.org/linux-mm/20240712-asi-rfc-24-v1-0-144b319a40d8@google.com/)** + +> This RFC demonstrates an implementation of Address Space Isolation +> (ASI), similar to Junaid Shahid’s proposal from 2022. + +**[v1: mm/x86/pat: Only untrack the pfn range if unmap region](http://lore.kernel.org/linux-mm/20240712144244.3090089-1-peterx@redhat.com/)** + +> This patch is one patch of an old series [1] that got reposted standalone +> here, with the hope to fix some reported untrack_pfn() issues reported +> recently [2,3], where there used to be other fix [4] but unfortunately +> which looks like to cause other issues. + +**[v3: Add XSAVE layout description to Core files for debuggers to support varying XSAVE layouts](http://lore.kernel.org/linux-mm/20240712094630.29757-1-vigbalas@amd.com/)** + +> This patch proposes to add an extra .note section in the corefile to dump the CPUID information of a machine. + +**[v1: mm: Ignore data-race in __swap_writepage](http://lore.kernel.org/linux-mm/20240711-bug13-v1-1-cea2b8ae8d76@gmail.com/)** + +> Syzbot reported a possible data race: + +**[v4: mm: swap: mTHP swap allocator base on swap cluster order](http://lore.kernel.org/linux-mm/20240711-swap-allocator-v4-0-0295a4d4c7aa@kernel.org/)** + +> This is the short term solutions "swap cluster order" listed +> in my "Swap Abstraction" discussion slice 8 in the recent +> LSF/MM conference. + +**[v1: Support direct I/O read and write for memory allocated by dmabuf](http://lore.kernel.org/linux-mm/20240710140948.25870-1-liulei.rjpt@vivo.com/)** + +> Use vm_insert_page to establish a mapping for the memory allocated +> by dmabuf, thus supporting direct I/O read and write; and fix the +> issue of incorrect memory statistics after mapping dmabuf memory. + +**[v2: mm: shmem: Rename mTHP shmem counters](http://lore.kernel.org/linux-mm/20240710095503.3193901-1-ryan.roberts@arm.com/)** + +> The legacy PMD-sized THP counters at /proc/vmstat include +> thp_file_alloc, thp_file_fallback and thp_file_fallback_charge, which +> rather confusingly refer to shmem THP and do not include any other types +> of file pages. + +**[v10: mm: shrink skip folio mapped by an exiting process](http://lore.kernel.org/linux-mm/20240710083641.546-1-justinjiang@vivo.com/)** + +> This patch is that shrink skips the non-shared anonymous folio solely +> mapped by an exting process and this folio is only released directly in +> the process exiting flow, which will save swap-out time and alleviate +> the load of the process exiting. + +**[v2: mm-unstable: mm/truncate: batch-clear shadow entries](http://lore.kernel.org/linux-mm/20240710060933.3979380-1-yuzhao@google.com/)** + +> Make clear_shadow_entry() clear shadow entries in `struct folio_batch` +> so that it can reduce contention on i_lock and i_pages locks, e.g., + +**[v1: mm/mmap: Align the length parameter of munmap with hugepage size](http://lore.kernel.org/linux-mm/20240710054558.1959243-1-jianghaoran@kylinos.cn/)** + +> munmap hugepge mappings, if the length of the range to munmap +> is not aligned with hugepage size,munmap will fail. + +**[v1: bpf-next: Harden and extend ELF build ID parsing logic](http://lore.kernel.org/linux-mm/20240709204245.3847811-1-andrii@kernel.org/)** + +> The goal of this patch set is to extend existing ELF build ID parsing logic, +> currently mostly used by BPF subsystem, with support for working in sleepable +> mode in which memory faults are allowed and can be relied upon to fetch +> relevant parts of ELF file to find and fetch .note.gnu.build-id information. + +**[v1: mm/cma: export total and free number of pages for CMA areas](http://lore.kernel.org/linux-mm/20240709163053.2514760-1-fvdl@google.com/)** + +> In addition to the number of allocations and releases, system +> management software may like to be aware of the size of CMA +> areas, and how many pages are available in it. + +**[v1: Unmapping guest_memfd from Direct Map](http://lore.kernel.org/linux-mm/20240709132041.3625501-1-roypat@amazon.co.uk/)** + +> This RFC series is a rough draft adding support for running +> non-confidential compute VMs in guest_memfd, based on prior discussions +> with Sean. + +### 文件系统 + +**[v4: fs/file.c: optimize the critical section of file_lock in](http://lore.kernel.org/linux-fsdevel/20240713023917.3967269-1-yu.ma@intel.com/)** + +> These 3 patches are created to reduce the critical section of file_lock +> in alloc_fd() and close_fd(). + +**[v1: virtio-fs: Add 'file' mount option](http://lore.kernel.org/linux-fsdevel/20240709111918.31233-1-hreitz@redhat.com/)** + +> We want to be able to mount filesystems that just consist of one regular +> file via virtio-fs, i.e. no root directory, just a file as the root +> node. + +**[v4: fs: multigrain timestamp redux](http://lore.kernel.org/linux-fsdevel/20240708-mgtime-v4-0-a0f3c6fb57f3@kernel.org/)** + +> The conversion of ctime to +> be a ktime_t value has been dropped, and we now use an unused bit in +> the nsec field as the QUERIED flag (like the earlier patchset did). + +**[v3: man2: Document RWF_ATOMIC](http://lore.kernel.org/linux-fsdevel/20240708114227.211195-1-john.g.garry@oracle.com/)** + +> We use RWF_ATOMIC as this is legacy name for similar feature proposed in +> the past. + +**[v1: inotify: Added pid and uid information in inotify event.](http://lore.kernel.org/linux-fsdevel/20240708101257.3367614-1-lizhigang.1220@bytedance.com/)** + +> The inotify event only contains file name information. + +**[v3: kpageflags: detect isolated KPF_THP folios](http://lore.kernel.org/linux-fsdevel/20240708062601.165215-1-ranxiaokai627@163.com/)** + +> Use folio_test_large_rmappable() instead to also include isolated folios. + +**[v1: blk: optimization for classic polling](http://lore.kernel.org/linux-fsdevel/3578876466-3733-1-git-send-email-nj.shetty@samsung.com/)** + +> This removes the dependency on interrupts to wake up task. + +### 网络设备 + +**[v4: net-next: net: dsa: vsc73xx: Implement VLAN operations](http://lore.kernel.org/netdev/20240713211620.1125910-1-paweldembicki@gmail.com/)** + +> This patch series is a result of splitting a larger patch series [0], +> where some parts was merged before. + +**[v10: net: af_packet: Handle outgoing VLAN packets without hardware offloading](http://lore.kernel.org/netdev/20240713114735.62360-1-chengen.du@canonical.com/)** + +> The issue initially stems from libpcap. + +**[v1: pull request (net-next): ipsec-next 2024-07-13](http://lore.kernel.org/netdev/20240713102416.3272997-1-steffen.klassert@secunet.com/)** + +> Support sending NAT keepalives in ESP in UDP states. +> Support IPsec crypto offload for IPv6 ESP and IPv4 UDP-encapsulated +> ESP data paths. + +**[v4: net-next: flower: rework TCA_FLOWER_KEY_ENC_FLAGS usage](http://lore.kernel.org/netdev/20240713021911.1631517-1-ast@fiberby.net/)** + +> This series reworks the recently added TCA_FLOWER_KEY_ENC_FLAGS +> attribute, to be more like TCA_FLOWER_KEY_FLAGS, and use the unused +> u32 flags field in FLOW_DISSECTOR_KEY_ENC_CONTROL, instead of adding +> a new flags field as FLOW_DISSECTOR_KEY_ENC_FLAGS. + +**[v1: bpf: xsk: require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len](http://lore.kernel.org/netdev/20240713015253.121248-1-sdf@fomichev.me/)** + +> Julian reports that commit 341ac980eab9 ("xsk: Support tx_metadata_len") +> can break existing use cases which don't zero-initialize xdp_umem_reg +> padding. + +**[GIT PULL: Networking for v6.10-rc8 (follow up)](http://lore.kernel.org/netdev/20240713012205.4143828-1-kuba@kernel.org/)** + +> A quick follow up to yesterday's PR. We got a regressions report for +> the bnxt patch as soon as it got to your tree. The ethtool fix is also +> good to have, although it's an older regression. + +**[v8: net-next: Introduce EN7581 ethernet support](http://lore.kernel.org/netdev/cover.1720818878.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: bonding: Return TX congested if no active slave](http://lore.kernel.org/netdev/20240712192405.505553-1-nnac123@linux.ibm.com/)** + +> We are seeing a rare TCP connection timeout after only +> 7.5 seconds of inactivity. This is mainly due to the ibmvnic driver hogging the RTNL lock for too long ( +> 2 seconds per ibmvnic device). We are working on getting the driver off the RTNL lock but figured the core of the issue should also be considered. + +**[v1: ethtool-next: module-eeprom: treat zero arguments like any other arguments for hex dump](http://lore.kernel.org/netdev/20240712180706.466124-1-kuba@kernel.org/)** + +> The code does not differentiate between user asking for page 0 and +> page not being set on the CLI at all. This is problematic because +> drivers don't support old type of dumping for newer module types. + +**[v12: net: phy: bcm5481x: add support for BroadR-Reach mode](http://lore.kernel.org/netdev/20240712150709.3134474-1-kamilh@axis.com/)** + +**[v2: iproute2-next: tc: f_flower: add support for matching on tunnel metadata](http://lore.kernel.org/netdev/560bcd549ca8ab24b1ad5abe352580a621f6d426.1720790774.git.dcaratti@redhat.com/)** + +> extend TC flower for matching on tunnel metadata. + +**[v1: net-next: bnx2x: turn off FCoE if storage MAC-address setup failed](http://lore.kernel.org/netdev/20240712132915.54710-1-kiryushin@ancud.ru/)** + +> This can lead to unexpected FCoE behavior (as address will be in unexpected +> state) without notice. + +**[v3: net-next: net: ti: icssg-prueth: Split out common object into module](http://lore.kernel.org/netdev/20240712120636.814564-1-danishanwar@ti.com/)** + +> Fix this by building a new module (icssg.o) for all the common objects. +> Both the driver can then depend on this common module. + +**[[Intel-wired-lan] v2: iwl-next: Add support for devlink health events](http://lore.kernel.org/netdev/20240712093251.18683-1-mateusz.polchlopek@intel.com/)** + +> Reports for two kinds of events are implemented, Malicious Driver +> Detection (MDD) and Tx hang. + +**[v5: iwl-next: igb: Add support for AF_XDP zero-copy](http://lore.kernel.org/netdev/20240711-b4-igb_zero_copy-v5-0-f3f455113b11@linutronix.de/)** + +> This is version 5 of the AF_XDP zero-copy support for igb. Since Sriram's +> duties changed I am sending this instead. Additionally, I've tested this on +> real hardware, Intel i210 . + +**[v4: ipsec-next: Support IPsec crypto offload for IPv6 ESP and IPv4 UDP-encapsulated ESP data paths](http://lore.kernel.org/netdev/20240712025125.1926249-1-yumike@google.com/)** + +> This patchset extends the crypto offload support to cover these two cases. + +**[v5: MCTP over PCC](http://lore.kernel.org/netdev/20240712023626.1010559-1-admiyo@os.amperecomputing.com/)** + +> This series adds support for the Management Control Transport Protocol (MCTP) +> over the Platform Communication Channel (PCC) mechanism. + +**[v3: net: bridge: mst: Check vlan state for egress decision](http://lore.kernel.org/netdev/20240712013134.717150-1-elliot.ayrey@alliedtelesis.co.nz/)** + +> If a port is blocking in the common instance but forwarding in an MST +> instance, traffic egressing the bridge will be dropped because the +> state of the common instance is overriding that of the MST instance. + +**[v9: af_packet: Handle outgoing VLAN packets without hardware offloading](http://lore.kernel.org/netdev/20240712012956.10408-1-chengen.du@canonical.com/)** + +> The issue initially stems from libpcap. The ethertype will be overwritten +> as the VLAN TPID if the network interface lacks hardware VLAN offloading. + +**[v3: net-next: mlx5 misc 2023-07-08 (sf max eq)](http://lore.kernel.org/netdev/20240712003310.355106-1-saeed@kernel.org/)** + +> This V3 includes only 4 patches out of the original 10 in V2, +> since Jakub asked to split the series and fix the commit message +> of the first patch. + +**[v2: net-next: eth: mlx5: expose NETIF_F_NTUPLE when ARFS is compiled out](http://lore.kernel.org/netdev/20240711223722.297676-1-kuba@kernel.org/)** + +> Drivers which don't support ARFS commonly still support NTUPLE +> filtering. mlx5 has a Kconfig option to disable ARFS (MLX5_EN_ARFS) +> and does not advertise NTUPLE filters as a feature at all when ARFS +> is compiled out. + +**[linux-next: duplicate patch in the bpf-next tree](http://lore.kernel.org/netdev/20240712083603.10cbdec3@canb.auug.org.au/)** + +> The following commit is also in the net tree as a different commit + +**[v1: net-next: eth: bnxt: use the new RSS API](http://lore.kernel.org/netdev/20240711220713.283778-1-kuba@kernel.org/)** + +> Convert bnxt from using the set_rxfh API to separate create/modify/remove +> callbacks. + +**[[GIT PULL mlx5-next] Introduce auxiliary bus IRQs sysfs](http://lore.kernel.org/netdev/20240711213140.256997-1-saeed@kernel.org/)** + +> Following the review of v10 and Greg's request to send this via netdev. +> This is a pull request that includes the 2 patches of adding IRQs sysfs +> to aux dev subsystem based on mlx5-next tree (6.10-rc3). + +**[v1: can: fsl,flexcan: add fsl,s32v234-flexcan and imx95 wakeup](http://lore.kernel.org/netdev/20240711-flexcan-v1-0-d5210ec0a34b@nxp.com/)** + +### 安全增强 + +**[v4: Add per-core RAPL energy counter support for AMD CPUs](http://lore.kernel.org/linux-hardening/20240711102436.4432-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. + +**[v1: media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt](http://lore.kernel.org/linux-hardening/20240710230728.work.977-kees@kernel.org/)** + +> This replaces the 1-element "fake" flexible array in struct +> hfi_session_release_buffer_pkt with a modern flexible array and adds +> the __counted_by annotation that was identified during the analysis. + +**[v1: slab: Allow for type introspection during allocation](http://lore.kernel.org/linux-hardening/20240708190924.work.846-kees@kernel.org/)** + +> This is an RFC for some changes I'd like to make to the kernel's +> allocators (starting with slab) that allow for type introspection, which +> has been a long-time gap in potential analysis capabilities available +> at compile-time. + +### 异步 IO + +**[v6: RESEND: io_uring: releasing CPU resources when polling](http://lore.kernel.org/io-uring/20240709092944.3208051-1-xue01.he@samsung.com/)** + +> This set a signal "IORING_SETUP_HY_POLL" to application, aim to provide +> a interface for user to enable a new hybrid polling at io_uring level. + +**[v6: io_uring: releasing CPU resources when polling](http://lore.kernel.org/io-uring/20240709081619.3177418-1-xue01.he@samsung.com/)** + +> This set a signal "IORING_SETUP_HY_POLL" to application, aim to provide +> a interface for user to enable a new hybrid polling at io_uring level. + +### Rust For Linux + +**[v4: Rust bindings for cpufreq and OPP core + sample driver](http://lore.kernel.org/rust-for-linux/cover.1720680252.git.viresh.kumar@linaro.org/)** + +> This adds initial rust bindings for two subsystems, cpufreq and operating +> performance points (OPP). The bindings are provided for most of the interface +> these subsystems expose. + +**[v1: drm: panthor: add dev_coredumpv support](http://lore.kernel.org/rust-for-linux/20240710225011.275153-1-daniel.almeida@collabora.com/)** + +> Dump the state of the GPU. This feature is useful for debugging purposes. + +**[v3: drm/panic: Add a QR code panic screen](http://lore.kernel.org/rust-for-linux/20240710140057.347384-1-jfalempe@redhat.com/)** + +> This series adds a new panic screen, with the kmsg data embedded in a QR code. + +**[v1: rust: types: Add explanation for ARef pattern](http://lore.kernel.org/rust-for-linux/20240710032447.2161189-1-boqun.feng@gmail.com/)** + +> As the usage of `ARef` and `AlwaysRefCounted` is growing, it makes sense +> to add explanation of the "ARef pattern" to cover the most "DO" and "DO +> NOT" cases when wrapping a self-refcounted C type. + +**[v2: Support several Rust toolchain versions](http://lore.kernel.org/rust-for-linux/20240709160615.998336-1-ojeda@kernel.org/)** + +> A few things improved here and there, and rebased on top of `rust-next`. + +**[v2: drm/panic: Add a qr_code panic screen](http://lore.kernel.org/rust-for-linux/20240709084458.158659-1-jfalempe@redhat.com/)** + +> This series adds a new panic screen, with the kmsg data embedded in a QR-code. + +### BPF + +**[v1: perf/bpf: Don't call bpf_overflow_handler() for tracing events](http://lore.kernel.org/bpf/20240713044645.10840-1-khuey@kylehuey.com/)** + +> It assumed that anytime event->prog +> is set bpf_overflow_handler() should be invoked to execute the attached bpf +> program. + +**[v2: bpf-next: handle errno ENOTSUPP](http://lore.kernel.org/bpf/cover.1720791488.git.tanggeliang@kylinos.cn/)** + +**[v2: bpf-next: use network helpers, part 9](http://lore.kernel.org/bpf/cover.1720767414.git.tanggeliang@kylinos.cn/)** + +**[linux-next: duplicate patch in the bpf-next tree](http://lore.kernel.org/bpf/20240712083603.10cbdec3@canb.auug.org.au/)** + +> The following commit is also in the net tree as a different commit +> (but the same patch) + +**[[RFC PATCH bpf-next RESEND 00/16] bpf: Checkpoint/Restore In eBPF (CRIB)](http://lore.kernel.org/bpf/AM6PR03MB58488045E4D0FA6AEDC8BDE099A52@AM6PR03MB5848.eurprd03.prod.outlook.com/)** + +> This patch series adds a new bpf program type CRIB (Checkpoint/Restore +> In eBPF) for better checkpoint/restore of processes. + +**[v4: bpf-next: Add return value range check for BPF LSM](http://lore.kernel.org/bpf/20240711111908.3817636-1-xukuohai@huaweicloud.com/)** + +> LSM BPF prog returning a positive number attached to the hook +> file_alloc_security makes kernel panic. + +**[v6: net-next: virtio/vsock: support datagrams](http://lore.kernel.org/bpf/20240710212555.1617795-1-amery.hung@bytedance.com/)** + +> This series introduces support for datagrams to virtio/vsock. + +**[v1: bpf: Checkpoint/Restore In eBPF (CRIB)](http://lore.kernel.org/bpf/AM6PR03MB58480B81F491E8A34241EB3E99A42@AM6PR03MB5848.eurprd03.prod.outlook.com/)** + +> This patch series adds a new bpf program type CRIB (Checkpoint/Restore +> In eBPF) for better checkpoint/restore of processes. + +**[v1: bpf: Ensure BPF programs testing skb context initialization](http://lore.kernel.org/bpf/20240710084633.2229015-1-michal.switala@infogain.com/)** + +> This commit addresses an issue where a netdevice was found to be uninitialized. + +**[v16: net-next: Device Memory TCP](http://lore.kernel.org/bpf/20240710001749.1388631-1-almasrymina@google.com/)** + +**[v14: Reduce overhead of LSMs with static calls](http://lore.kernel.org/bpf/20240710000500.208154-1-kpsingh@kernel.org/)** + +> LSM hooks (callbacks) are currently invoked as indirect function calls. These +> callbacks are registered into a linked list at boot time as the order of the +> LSMs can be configured on the kernel command line with the "lsm=" command line +> parameter. + +## 周边技术动态 + +### Qemu + +**[v2: qemu: target/riscv: Add Zilsd and Zcmlsd extension support](http://lore.kernel.org/qemu-devel/172075515999.22382.15550760745449625636-0@git.sr.ht/)** + +> In this version of the patch: +> 1. Adjusted the code formatting issue +> 2. Optimize the processing of all instructions + +**[v8: Add RISC-V ISA extension smcntrpmf support](http://lore.kernel.org/qemu-devel/20240711-smcntrpmf_v7-v8-0-b7c38ae7b263@rivosinc.com/)** + +> This patch series adds the support for RISC-V ISA extension smcntrpmf (cycle and +> privilege mode filtering) [1]. + +**[v2: RISC-V: Add preliminary textra trigger CSR functions](http://lore.kernel.org/qemu-devel/20240710100010.814934-1-alvinga@andestech.com/)** + +> This series support to write MHVALUE and MHSELECT fields into textra32 and +> textra64 trigger CSRs. + +**[v5: target/riscv: Expose RV32 cpu to RV64 QEMU](http://lore.kernel.org/qemu-devel/20240710022430.1306-1-zhiwei_liu@linux.alibaba.com/)** + + +**[v4: target/riscv: Support zimop/zcmop/zama16b/zabha](http://lore.kernel.org/qemu-devel/20240709113652.1239-1-zhiwei_liu@linux.alibaba.com/)** + +> This patch set has been queued to alistair/riscv-to-apply.next, but it is still not +> merged by the master branch. I think we had better fix it before merging into the +> master. + +**[v5: riscv: QEMU RISC-V IOMMU Support](http://lore.kernel.org/qemu-devel/20240708173501.426225-1-dbarboza@ventanamicro.com/)** + +> In this new version changes based on the suggestions made in v4 were +> made. + +### Buildroot + +**[package/gdb: add support for GDB 15.1](http://lore.kernel.org/buildroot/20240713155025.F39788655A@busybox.osuosl.org/)** + +> The patches from gdb 14.1 are all ported to 15.1, with some minor +> adaptation to 2 of them. + +**[package/tig: new package](http://lore.kernel.org/buildroot/20240712205752.67BBB8620F@busybox.osuosl.org/)** + +> Tig is an ncurses-based text-mode interface for git. It +> functions mainly as a Git repository browser, but can also +> assist in staging changes for commit at chunk level and act +> as a pager for output from various Git commands. + +