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

泰晓Linux知识星球:1300+知识点,520+用户
请稍侯

泰晓资讯·3 月 / 第三期 / 2023

unicornx 创作于 2023/03/16

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

Linux 内核最新消息

https://lkml.org/lkml/2023/3/12/674

本周初发布了 Linux 6.3-rc2,这是自关闭 Linux 6.3 合并窗口以来的第二个每周内核测试版本。

Linux 6.3-rc2 中有两个和 AMD 有关的值得注意修改:一个是为了解决已知的系统 “stutter(卡顿)” 问题,避免使用特定 fTPM 版本的硬件随机数生成器,另一个是为 Zen 1 和 Zen 2 CPU 禁用 XSAVES,否则会导致在旧的 CPU 微码上运行时,可能会出现 XMM 寄存器值状态反转的问题。这两个问题都已通过更新的 AMD CPU 微码/固件得到解决。

Linux 6.3-rc2 中另一个同样值得注意的修改是,暂存(staged)的 “r8188eu” 驱动程序被删除了。这是由于主线上的 rtl8xxxu 无线驱动程序现在已经支持了 r8188eu 以前支持的所有硬件。随着 rtl8xxxu 支持更多硬件和更好的质量,现在是时候删除 r8188eu 了,删除这部分驱动程序使 Linux 6.3 内核减少了 51.2k 行代码。

Linus Torvalds 在 6.3-rc2 的发布公告中的评论如下:

“This one looks fairly normal, although if you look at the diffs, they are dominated by the removal of a staging driver (r8188eu) that has been superceded by a proper driver. That removal itself is 90% of the diffs.

But if you filter that out, it all looks normal. Still more than two thirds in drivers, but hey, that’s pretty normal. It’s mostly gpu and networking as usual, but there’s various other driver fixes in there too.

Outside of that regular driver noise (and the unusual driver removal noise) it’s a little bit of everything: core networking, arch fixes, documentation, filesystems (btrfs, xfs, and ext4, but also some core vfs fixes). And io_uring and some tooling.”

Linux 6.3 稳定版预计在 4 月底或 5 月初发布。

https://www.kernel.org/ updated by 2023/03/16

分支类型版本发布时间
mainline6.3-rc22023-03-12
stable6.2.62023-03-13
longterm6.1.192023-03-13
longterm5.15.1022023-03-13
longterm5.10.1742023-03-13
longterm5.4.2362023-03-13
longterm4.19.2772023-03-13
longterm4.14.3092023-03-13
linux-nextnext-202303152023-03-15

关键词: Linux

Linux 6.4 将移除 SLOB 内存分配器

A patch series is proposing that the SLOB memory allocator be removed from the Linux 6.4 kernel this summer.

去年内核开发人员经过讨论之后,在 Linux 6.2 版本内核中将 SLOB 标记为 “deprecated”。而现在我们看到了一个新的补丁建议今年夏天从 Linux 6.4 内核中完全删除 SLOB 内存分配器的代码。SLOB 分配器设计初衷是为了节省内存空间,但这却会导致其缺乏可扩展性。内核开发人员希望完全摆脱 SLOB 的代码,因为将其留在内核中在维护上将会是一个难题,他们希望在改进 SLUB 分配器过程中不要受到无关代码的干扰。内核开发人员还计划弃用和删除 SLAB,使 SLUB 成为唯一的也是最佳的内存分配器。

这个删除 SLOB 的补丁的提交者是来自 SUSE 的 Vlastimil Babka。正如补丁的描述中所表达的那样,他希望在将补丁合入 Linux 的 “-next” 分支中并经受审查,如果没有异议,则该改动将直接在下一个 Linux 主线 6.4 中生效。

清除 SLOB 使内核减少了近一千行代码。

新闻出处,“Linux 6.4 Looking To Drop The SLOB Memory Allocator”: https://www.phoronix.com/news/Linux-6.4-Looks-To-Drop-SLOB

关键词: Linux, SLOB

Ubuntu 23.04 将升级到 Linux 6.2 的内核

The Ubuntu 23.04 “Lunar Lobster” development builds recently transitioned from Linux 5.19 as in use by Ubuntu 22.10/22.04.2 to a Linux 6.1 based kernel. This led some – including myself – to wonder if Canonical changed course and shifted to Linux 6.1 LTS instead of the Linux 6.2 kernel that has been out as stable since last month. Fortunately, that’s not the case and Ubuntu 23.04 is preparing to soon land Linux 6.2 across all kernel flavors.

Ubuntu 23.04 代号 “Lunar Lobster” 的开发版本最近从 5.19 的内核(这也是 Ubuntu 22.10 和 Ubuntu 22.04.2 使用的么和版本)切换到 6.1 的内核。这导致大家非常想知道 Canonical 是否改变了原来的计划,即将转向 Linux 6.1 LTS,而不是自上个月以来表现一直非常稳定的 Linux 6.2 内核。幸运的是,事实并非如此,Ubuntu 23.04 正准备很快继续升级到 Linux 6.2。

Linux 6.2 是现在最新和最伟大的稳定内核,这将持续到 4 月 20 日,这也是 Ubuntu 23.04 发布的日子。而 Linux 6.3 估计要到 4 月底或 5 月初才会发布,而 Ubuntu 23.04 版本的冻结时间将会是 4 月 6 日。

来自 Canonical 的 Ubuntu 开发人员 Dimitri John Ledkov 这周一在邮件列表中评论道:

“…in Lunar, no further 6.1 builds will be done for any kernel flavour for the time being. And v6.2 landing, across all flavours, is in progress.”

很高兴看到他们致力于 Linux 6.2。6.2 内核具备稳定的,开箱即用的,适用于 DG2 / Alchemist GPU 的 Intel Arc Graphics 驱动,对 Radeon RX 7000 系列 “RDNA3” 更好的支持,Nouveau 上的初始的针对 NVIDIA GeForce RTX 30 的支持,各种针对Xeon 可扩展的 “Sapphire Rapids” 服务器的改进,以及其他 Linux 6.1 LTS 上不具备的优势。如果你有 Intel 的 Arc 显卡和更好的 AMD RDNA3 以及其他硬件支持,将会更乐意采用 6.2 而不是 6.1。

新闻出处,“Ubuntu 23.04 Preparing To Land Its Linux 6.2 Based Kernel”: https://www.phoronix.com/news/Ubuntu-23.04-Linux-6.2-Coming

关键词: Ubuntu, Linux

华硕(ASUS)推出他们的第一款 RISC-V 开发板 Tinker V

For over a half-decade ASUS has been selling the Thinker Board devices as their line of Raspberry Pi alternatives. To date the ASUS Tinker Board single board computers have all been Arm-based while now they have launched their first RISC-V board, the Tinker V.

五年多来,为了和 Raspberry Pi 竞争,华硕一直在销售他们的 Thinker Board 设备。一直以来,华硕 Tinker Board 单板计算机都是基于 Arm 的,而现在他们推出了他们的第一款 RISC-V 开发板,Tinker V。这款 RISC-V 单板计算机,旨在为工业物联网(IoT)开发人员社区提供服务。华硕 Tinker V 将正式运行 Debian Linux 和 Yocto,同时随着时间的推移肯定会支持更多的 Linux 发行版。

华硕 Tinker V 将于第二季度开始提供样品,但尚未报告定价。请不要对它的运行速度抱有过高的期望,因为该开发板只采用了一颗 2GHz 的单核 RISC-V 处理器,具体型号是 Renesas(瑞萨)RZ/Five,该 SOC 内部集成了 AndesCore 的 AX45MP single core,主频 1GHz。Tinker V 具有 1GB 的 DDR4 系统内存和可选的 16GB eMMC 和 micro SD 插槽。有两个千兆 LAN 端口,两个 CAN 总线连接器,两个 RS-232 COM 端口,20 针接头的 GPIO 和其他连接接口。但是,由于是面向物联网,因此没有任何显示支持。

有兴趣了解更多关于 华硕 Tinker V 的人可以访问 https://tinker-board.asus.com/product/tinker-v.html?s=09

新闻出处,“ASUS Unveils The Tinker V As Their First RISC-V Board”: https://www.phoronix.com/news/ASUS-Tinker-V

关键词: ASUS, RISC-V, Tinker V

GCC 13 中加入了一组来自 T-HEAD 的 RISC-V 供应商扩展

Being merged today into the GCC 13 compiler is the set of T-Head vendor extensions to the RISC-V ISA. This set of vendor extensions is designed to augment the RISC-V ISA and provide faster and more energy efficient capabilities.

本周三 GCC 13 编译器合入了一组新补丁,这组补丁是针对 RISC-V ISA 的 T-Head Vendor Extension,这些供应商扩展来自 T-Head Semiconductor,该公司从属于阿里巴巴芯片制造业务部门。这组扩展具体包括 XTheadBa,XTheadBb,XTheadBs,XTheadCmo,XTheadCondMov,XTheadFMemIdx,XTheadFmv,XTheadInt,XTheadMac,XTheadMemIdx,XTheadMemPair 和 XTheadSync,T-HEAD RISC-V 扩展旨在提供更快,更节能的 RISC-V 芯片,这些扩展增加了有关缓存管理,多处理器同步,位操作,单位指令,GPR内存操作,乘法累加指令,vector dot 等的新指令。

新闻出处,“GCC 13 Adds RISC-V T-Head Vendor Extension Collection”: https://www.phoronix.com/news/GCC-13-Adds-RISC-V-XThead

关键词: GCC, RISC-V, T-HEAD

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: