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

泰晓RISC-V实验箱,转战RISC-V,开箱即用
请稍侯

泰晓资讯·10 月 / 第二期 / 2023

unicornx 创作于 2023/10/26

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

Linux 内核最新消息

本周初 Linus 发布了 6.6-rc7,同时希望这个周末能够发布稳定的内核版本 6.6。

除非未来一周出现任何重大事件,计划中 Linux 6.6 稳定版将于下个周日,也就是 6 月 29 日发布。当然,如果发现了重大的问题,或许会发布 Linux 6.6-rc8 将发布,这将导致稳定版本推迟到 11 月的第一个周末。

Linus Torvalds 在 6.6-rc7 的发布公告中原文如下:

“Things continue to look fairly normal, and there’s nothing particularly alarming here.

The one thing I react to is that this rc7 is a bit larger than I’d like it to be. It is certainly on the bigger side of our rc7 releases in the 6,.x series. The only 6.x with a bigger rc7 (in number of commits) was 6.1 - and that one ended up having an rc8 too…

Anyway, while this is all bigger than I’d have liked it to be, if the upcoming week is quiet and normal, this is the last rc and next Sunday will see the final release and then we’ll open the merge window for 6.7. I simply am not aware of any issues that would be showstoppers.

We’ll see. Please do go give this a good testing, and holler if there are any concerns. Another release candidate is always an option if some last-minute thing comes up,”

https://www.kernel.org/ updated by 2023/09/07

分支类型版本发布时间
mainline6.6-rc72023-10-22
stable6.5.92023-10-25
longterm6.1.602023-10-25
longterm5.15.1372023-10-25
longterm5.10.1992023-10-25
longterm5.4.2592023-10-25
longterm4.19.2972023-10-25
longterm4.14.3282023-10-25
linux-nextnext-202310252023-10-25

关键词: Linux

Google 向 Linux 提出新建一个系统调用 mseal()

Google is proposing a new mseal() memory sealing system call for the Linux kernel. Google intends for this architecture independent system call to be initially used by the Google Chrome web browser on Chrome OS while experiments are underway for use by Glibc in the dynamic linker to seal all non-writable segments at startup.

Google 提出希望为 Linux 内核新建一个系统调用,叫做 mseal(),mseal 是 memory sealing 的意思。这个系统调和系统架构无关,Google 最初的想法是打算将这个系统调用用于 Chrome OS 上的 Google Chrome 网络浏览器使用,而现在正在尝试将其集成到 Glibc 中,在动态链接器中,在启动时 seal 所有不可写的 segment。

利用 mseal() 可以防止系统调用修改虚拟地址的 metadata 数据。最初的支持是针对 mprotect/pkey_mprotectmunmapmmapmremap 调用进行 seal。Google Chrome 和 V8 JavaScript 引擎中有需求对虚拟内存中的 metadata 数据提供更好的保护。最新的工作则是直接将该操作封装在 Glibc 的动态链接器中,以在启动时直接 seal 所有不可写的 segment,这样所有的应用程序都会从中受益。

但这个补丁并不会立即被上游接受,在被合入之前可能需要一些修改。Linus Torvalds 本人也该方案提出了一些保留意见:

新闻出处,“Google Proposes New mseal() Memory Sealing Syscall For Linux”: https://www.phoronix.com/news/Linux-mseal-Memory-Sealing

关键词: Linux, Google, mseal

Linux RISC-V 开始为支持实时内核(PREEMPT_RT)做准备

As we approach the end of 2023, sadly, the real-time kernel “PREEMPT_RT” support still hasn’t been mainlined… The main blocker pending is still the ongoing work around non-blocking consoles / threaded console handling to then allow the few dozen remaining out-of-tree RT kernel patches to be merged. The good news is that when the PREEMPT_RT support is ready for mainline, it looks like the RISC-V architecture support will also be real-time friendly too.

令人感到沮丧的是,虽然已经接近 2023 年底,但实时内核 “PREEMPT_RT” 补丁仍未未完全合入主线。主要的问题仍然是围绕非阻塞控制台和线程化控制台处理的开发工作,只有解决了这个问题,才能将剩余的几十个游离于主线外的 RT 内核补丁继续合入。好消息是,与此同时,看起来 RISC-V 架构对 实时 Linux 的支持是比较友好的。

目前,Linux 的 RT 补丁集实现了对 ARM64(AArch64),ARM,PowerPC 和 x86 / x86_64 架构的支持。最近正在开发的一组补丁也将实现对 RISC-V 的支持。

截至本月,现在只剩下 3 个补丁未被合入,一旦完成,将允许我们在常见的 linux-rt 补丁之上为 RISC-V 上开启 PREEMPT_RT 选项。因此,对于那些希望使用 RISC-V 实时内核功能的人来说,当剩余的 RT 补丁最终合入主线时,RISC-V 也会成为支持 RT 的主流 CPU 架构之一。

新闻出处,“Linux RISC-V Preparing For Real-Time Kernel Support (PREEMPT_RT)”: https://www.phoronix.com/news/RISC-V-Linux-RT-Support-Patches

关键词: Linux, RISC-V, PREEMPT_RT

Canonical 重申会坚持针对 Ubuntu LTS 版本的 10 年支持周期

Given recent talk of upstream Linux Long-Term Support (LTS) kernels likely being reduced from six to two year support windows moving forward, Canonical today decided to re-affirm their support for ten years of support with Ubuntu Long Term Support versions.

鉴于最近有传言称,上游 Linux LTS(Long-Term Support) 版本内核的支持窗口期可能会从六年缩短到两年,Canonical 今天决定重申他们对 Ubuntu 的 LTS(Long-Term Support)版本依然维持有效期为十年的支持。

在明年 24 月即将推出的 Ubuntu 24.04 LTS 之前,Canonical 于本周二(24 日)重申了他们对客户的承诺,即对 Ubuntu LTS 版本维持十年有效期。即使上游 Linux LTS 内核周期的支持窗口被削减,Canonical 仍然会坚持支持 Ubuntu LTS 十年。与 Red Hat Enterprise Linux 和其他主要企业 Linux 发行版类似,虽然上游内核 LTS 策略会变化,但它们不会缩短其支持窗口。

Ubuntu LTS 内核并不总是与 Linux LTS 内核保持一致,Ubuntu LTS 的小版本为了支持新的硬件,通常会移植较新的内核版本。

新闻出处,“Canonical To Stick With 10 Year Support Cycle For Ubuntu LTS Releases”: https://www.phoronix.com/news/Ubuntu-LTS-Sticks-With-10-Years

关键词: Canonical, Ubuntu

一款新的 RISC-V 开发板 - Milk-V Oasis

In addition to working on the likes of the Milk-V Duo and high-end Pioneer board, Milk-V has now announced the “Oasis” as a forthcoming mini-ITX RISC-V board that will feature 16 cores and up to 64GB of LPDDR5 system memory.

除了推出 Milk-V Duo 和高端的 Pioneer 主板外,Milk-V 于今日宣布将推出一款代号为 “Oasis” 的 mini-ITX RISC-V 主板,该主板将配备 16 个内核和高达 64 GB 的 LPDDR5 系统内存。

Milk-V 上周五 Kick-Off 了 Oasis 项目,并宣称该主板已在开发中,该主板拥有 mini-ITX 外形尺寸,是一款 “真正的台式机级 RISC-V PC”。为 Milk-V Oasis 提供动力的处理器是 Sophgo SG2380 SoC,它具有 16 个内核:12 个 P 内核,主频高达 2.5 GHz,以及 4 个 E 内核,主频高达 1.6 GHz。SG2380 在设计中使用 SiFive P670 内核。该 SoC 还内置了 Imagination AXT-16-512 图形处理器,一旦内核中的开源 Imagination PowerVR 驱动程序和 Mesa 结合在一起使用,这将很有趣。

Milk-V Oasis 还将拥有一颗定制的拥有 8 核 SiFive X280 的 NPU,除此之外支持高达 64GB 的 LPDDR2-5500 内存、可插拔的 UFS 模块、microSD 卡插槽、用于 NVMe SSD 存储的 M.2 插槽、四个 SATA 端口、USB 3.0 连接、支持 DP Alt-Mode 的 USB-C 和 2.5Gb 的双网口。

产品规格听起来都很有趣,更令人感兴趣的是价格,据说预购起价为 120 美元。

但不利的一面是,这块开发板预计十个月后才能准备好,目前还没有板子的图片,只有规格表和设计文档,SG2380 SoC 本身也仍在设计中。他们希望该开发板能在 2024 年的第三季度准备好发货。

至少随着 Milk-V 其他 RISC-V 产品的出货给了我们希望,希望该款新的 RISC-V 开发板能够如期上市。更多关于 Milk-V Oasis 的信息,可以访问这里:https://community.milkv.io/t/introducing-the-milk-v-oasis-with-sg2380-a-revolutionary-risc-v-desktop-experience/780

新闻出处,“Milk-V Oasis Sounds Like An Interesting RISC-V Board With 16 Cores, Up To 64GB LPDDR5”: https://www.phoronix.com/news/Milk-V-Oasis

关键词: RISC-V, Milk-V, Oasis

Mold 2.3 发布

Mold 2.3 was released today by Rui Ueyama as the newest version of this high-speed linker alternative to LLVM LLD and GNU Gold.

Mold 2.3 于上周由 Rui Ueyama 发布。Mold 2.3 的主要新功能是为 x86_64 添加了一个 -z rewrite-endbr 命令选项,该命令可以将多余的 ENDBR64 指令转换为 NOP。这旨在解决 GCC 在启用控制流保护 (-fcf-protection) 选项时会产生越来越多的 ENDBR64 指令。Mold 旨在通过对输入文件执行整个程序分析来解决 “过多不必要的 ENDBR64 指令”,以找出从未获取地址的函数,然后将 ENDBR64 替换为 NOP(无操作指令)。

Mold 2.3 还优化了 “.gdb_index” section,使其更紧凑;加强了对大于 4GB 的 input section 的支持,以及各种针对 RISC-V / ARM64 / PowerPC 的修复。

新闻出处,“Mold 2.3 Linker Allows Removing Superfluous ENDBR64 Instructions”: https://www.phoronix.com/news/Mold-2.3-Released

关键词: Mold

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: