泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

基于泰晓RISC-V实验箱的Linux公开课
请稍侯

泰晓资讯·5 月 / 第三期 / 2022

unicornx 创作于 2022/05/12

“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。

  • Linux 内核最新消息

https://lkml.org/lkml/2022/5/8/311

Linus Torvalds 刚刚发布了 Linux 5.18-rc6,Torvalds 对这个新的 Linux 5.18-rc6 的评价是:

So 5.18 is looking like it’s going to be one of the larger releases in numbers of commits (we’ll see where it ends up - it’s going to be neck-and-neck with 5.14 right now, but won’t be as big as 5.13 was). But despite the merge window being big, the release candidates have generally been quite modest in size, and rc6 continues that trend. I keep expecting the other shoe to drop, but 5.18 just seems to be quite well-behaved.

Let’s see if this jinxes it, but nothing looks particularly scary here. rc6 looks to be mostly some driver updates (network drivers and rdma stand out, small random fixes elsewhere), with the usual smattering of architecture updates (x86 kvm fixes, but also a long-standing x86 kernel FP use issue, and a smattering of parisc and powerpc fixes). And some wireguard selftest updates.

5.18 看起来是一个提交数量较大的版本(已经快要赶上 5.14,但还比不上 5.13)。rc6 中主要是一些驱动程序更新(网络驱动程序和 rdma 脱颖而出,以及其他一些小的随机修复),当然还少不了一些架构方面的更新(譬如 x86 kvm 修复,长期存在的 x86 内核 FP 使用问题,以及少量针对 parisc 和 powerpc 的修复)。除此之外还有一些和 wireguard 有关的自检更新。

Linux 5.18 稳定版预计将在 2 到 3 周内发布,但具体取决于剩余的 RC 版本的测试情况。

https://www.kernel.org/ updated by 2022/5/12

分支类型版本发布时间
mainline5.18-rc62022-05-08
stable5.17.62022-05-09
stable5.16.20 [EOL]2022-04-13
longterm5.15.382022-05-09
longterm5.10.1142022-05-09
longterm5.4.1922022-05-09
longterm4.19.2412022-05-01
longterm4.14.2772022-04-27
longterm4.9.3122022-04-27
linux-nextnext-202205112022-05-11

关键词: Linux

  • Linux 5.19 中将新增对 MediaTek MT8186 支持

MediaTek has not officially announced the MT8186 SoC yet but there has been references to it within Chrome OS sources for months and various speculations about this new Chromebook-focused SoC. With Linux 5.19 there is going to be a lot of MT8186 enablement code landing.

MediaTek(联发科) 尚未正式发布 MT8186 这款 SoC,但在 Chrome OS 的源码中对其支持的代码已经存在了好几个月了,坊间流传着对这款针对 Chromebook 设计的新 SoC 的各种猜测。Linux 5.19 中预期将会加入大量支持 MT8186 的代码。

上周四 MediaTek 发布了面向下一个 Linux 内核版本 5.19 的更新。其中最值得注意的是 MT8186 SoC 上显示驱动相关的开源驱动程序部分。

最近几天,还发布了许多针对 MediaTek MT8186 SoC 上其他功能的 Linux 驱动程序补丁。最近几天的其他 MT8186 Linux 补丁包括对该芯片的基本 SoC 支持,该芯片具有六个 A55 内核和两个 A78 内核,这些补丁看上去与其他 MediaTek 的 MT65xx 系列硬件和其他 MediaTek 的 IP 有很多共同之处。除此之外还有用于声音驱动程序的补丁、用于 CPU 频率动态调整的 CPUFreq 等。

大部分针对 MediaTek MT8186 支持应该在 Linux 5.19 上合入,以便为即将推出的 Google Chromebook 做好准备。

更多介绍请阅读新闻出处,“MediaTek MT8186 Display Support, Other SoC Enablement Coming To Linux 5.19​”: https://www.phoronix.com/scan.php?page=news_item&px=MediaTek-MT8186-Linux-5.19

关键词: Linux, MediaTek, MT8186, Chromebook

  • Intel 再提为 Linux 内核实现线性地址屏蔽

Back in December 2020 Intel’s programming reference manual was updated to cover Linear Address Masking (LAM) as a future CPU feature and there was some GNU toolchain activity around LAM while not much to report on the effort since then – until today. A revised “request for comments” has been posted on the Intel Linear Address Masking enabling for the Linux kernel that allows for using untranslated address bits of 64-bit linear addresses to be used for storing arbitrary software metadata.

早在 2020 年 12 月,Intel 的编程参考手册就进行了更新,将线性地址掩码 (Linear Address Masking,简称 LAM) 作为未来的 CPU 功能特性进行了介绍,并且围绕 LAM 开展了一些针对 GNU 工具链的开发工作,但从那时起直到今天,关于这项工作的报道并不多。但最近 Intel 提交了一份改进版本的 RFC(“Request For Comments”),再次提出为 Linux 内核开发 LAM 功能,基于该特性,Linux 内核可以使用 64 位未翻译的线性地址来存储任意大小的数据(在当前认知范围内)。

这个方案继承了当年第一版的原始补丁。11 日发布的修订补丁允许将用户空间地址的未翻译地址位用于元数据。新的内核代码提供了一个基于 arch_prctl 的 API,在 /proc/$PID/arch_status 下可获取 LAM 的状态和其他功能,最新的补丁代码已经 catch up 了最新的上游内核代码。

Intel 还提供了一个 QEMU 的补丁,可以模拟 LAM,用于测试,但还没有提交进入上游。即将推出的 Xeon “Sapphire Rapids” 处理器很可能会支持 LAM 功能。与此同时,AMD 正在为 Zen 4 开发一个称之为 Upper Address Ignore (UAI) 的特性,听起来和 Intel 的 LAM 特性很类似。

更多介绍请阅读新闻出处,“Intel Gets Back To Working On Linear Address Masking Support For The Linux Kernel​”: https://www.phoronix.com/scan.php?page=news_item&px=Intel-LAM-Linux-Kernel-May-2022

关键词: Linux, Intel,LAM

  • Rust for the Linux 补丁发布第 6 版

Making for an exciting Saturday morning, Miguel Ojeda has posted the latest patch series plumbing Rust language support into the Linux kernel. The “Rust for the Linux kernel” patches are now up to their sixth version for adding the necessary infrastructure for this second, optional language to the kernel plus continuing to add more sample code / basic functionality for showing off use of this memory-safety-focused language for kernel purposes.

上周六,也就是 7 号,是一个令人激动人心的周六,一大早,Miguel Ojeda 发布了 Rust for the Linux 补丁系列的最新版本 - 第 6 版,该补丁致力于支持我们采用除 C 语言之外第二种语言,即 Rust 来开发 Linux 内核代码。

Rust for Linux 补丁进展继续保持强劲势头,许多开发人员和组织对使用 Rust 为内核编程有浓厚的兴趣,尤其是在容易出现内存安全问题的领域。随着今天 v6 补丁的发布,工具链支持已对 Rust 1.60 进行了更新,支持在内核中运行文档测试,以及其他 Rust 基础设施改进。

该版本的补丁中的亮点还包括:Rust 编程对开发内核网络子系统的支持。 “net” 模块支持 Namespace、SkBuff、Ipv4Addr、SocketAddrV4、TcpListener 等类型。此外还开始支持 “异步” 方式进行内核编程。当前状态已经用于允许异步 TCP 套接字编码。新的 Rust 代码还增加了对网络数据包过滤器和其他新功能的支持。

在这个 Rust for Linux v6 系列中,Rust 支持仍然被认为是 “实验性的”,但足够好,内核开发人员可以开始为其他内核子系统开发 Rust 封装接口,并在需要时将更多驱动程序移植为采用 Rust 语言编写。

Rust for Linux 补丁目前总计包含有 37.9k 行代码,包括了基础框架和目前开始的子系统封装,部分示例代码,以及将一些 Android 和 GPIO 驱动程序代码转换为采用 Rust 语言,这些都可以供我们作为样例进行参考。

更多介绍请阅读新闻出处,“Rust Code Updated For The Linux Kernel - Networking & Async Support Started”: https://www.phoronix.com/scan.php?page=news_item&px=Rust-v6-For-Linux-Kernel

关键词: Linux, Rust

  • MIPS 推出声称具有 “同类最佳性能” 的 RISC-V eVocore 处理器

MIPS Tech is no longer working on their MIPS CPU instruction set architecture but has been taking on RISC-V based designs. Today the company made the bold announcement for their new eVocore P8700 and I8500 multiprocessor IP cores that they offer “Best-In-Class Performance and Scalability.”

MIPS Tech 不再致力于他们的 MIPS CPU 指令集架构,而是采用基于 RISC-V 的设计。5 月 10 日,该公司隆重发布其最新的 eVocore P8700 和 I8500 多处理器 IP 内核,并宣称可以提供 “一流的性能和可扩展性”。

MIPS Tech 最近对 RISC-V 这个开源的处理器 ISA 赞不绝口,据称其基于该 ISA 推出的设计瞄准的是 “处理器市场的高性能部分”。对于最新的 MIPS eVocore P8700,他们将其称为 “superscalar performance”,据说能够扩展到 64 个 clusters、512 个内核和 1024 个 harts/threads。eVocore P8700 预计将于今年第四季度上市。

同时,MIPS 还推出了 eVocore I8500,该产品主打低功耗,MIPS 称这款 SoC 在同类产品中具备最佳的电源效率。

更多介绍请阅读新闻出处,“MIPS Claims “Best-In-Class Performance” With New RISC-V eVocore CPUs”: https://www.phoronix.com/scan.php?page=news_item&px=MIPS-New-RISC-V-May-2022

关键词: MIPS, RISC-V

联系我们

欢迎扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: