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

还在观望?5小时公开课入门RISC-V架构
请稍侯

泰晓资讯·1 月 / 第二期 / 2025

unicornx 创作于 2025/01/16

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

Linux 内核最新消息

Linux 6.13 最新一期 RC 版本 rc7 发布了,在经历了两周平静的假期后,社区正在恢复中,许多开发人员和内核测试人员已经结束了休假,开始陆陆续续恢复正常的工作。

Linus Torvalds 在新的发布公告中写道:

“Well, it looked a bit quiet at the start of the week, but then things picked up, and we’re definitely back to speed after the two quiet holiday weeks. …

这个 rc7 比平时略大,但没有什么特别突出问题,因此,如果一切顺利,Linux 6.13 稳定版可能会在下周日,即 1 月 19 日发布。

本周的更改包括添加了更多通过 x86 平台驱动程序修复的 Intel Clearwater Forest 启用代码。

https://www.kernel.org/ updated by 2025/01/16

分支类型版本发布时间
mainline6.13-rc72025-01-12
stable6.12.92025-01-09
longterm6.6.712025-01-10
longterm6.1.1242025-01-09
longterm5.15.1762025-01-09
longterm5.10.2332025-01-09
longterm5.4.2892025-01-09
linux-nextnext-202501152025-01-15

关键词: Linux

Linux 内核正在为 RISC-V 开发 Xen Hypervisor

Linux has supported KVM virtualization with RISC-V for several years while now patches are pending to introduce Xen hypervisor support for this CPU architecture for RISC-V guests.

Linux 多年来一直支持 RISC-V 上的 KVM 虚拟化,现在正在审核一些新补丁,这些补丁将为 guest 支持在 RISC-V 上支持 Xen Hypervisor。

Serbian 软件咨询公司 RT-RK 一直在开发一些补丁,允许 RISC-V 作为 Xen 的 guest 运行,事实证明,Xen hypervisor 在某些领域仍然很受欢迎,例如汽车和一些注重安全的应用上。

这个补丁为 Linux 内核增加了大约有 800 行代码,允许通过添加各种特定于 Xen 的 hypercalls 和 interface,以 Xen 客户机身份运行 RISC-V。但是现在,这些代码只涉及了内存管理和其他一些功能的实现,并没有完成所有的集成工作。

新闻出处,“Xen Hypervisor Support Being Worked On For RISC-V”: https://www.phoronix.com/news/Xen-RISC-V-Linux-Patches

关键词: Linux, Xen, RISC-V

Google 和 Linux 基金会启动 “支持基于 Chromium 的浏览器” 基金

Google and the Linux Foundation today announced the creation of the “Supporters of Chromium-Based Browsers” fund to help provide funding to open-source developers working on Chromium-based open-source projects.

Google 和 Linux 基金会今天宣布成立 “Supporters of Chromium-Based Browsers” 基金,以帮助那些从事基于 Chromium 的开源项目的开源开发人员,为他们提供资金。

“Supporters of Chromium-Based Browsers” 计划旨在帮助促进对 Chromium 生态系统的可持续开源贡献。Google 负责开源 Chromium 项目本身的大约 94% 的贡献,而 Microsoft、Samsung、Opera、Igalia 等的贡献要小得多。由于 Chromium 被很多应用使用,从 Electron 到无数的自定义应用程序,因此非常有必要通过 “Supporters of Chromium-Based Browsers” 使得围绕 Chromium 实现更可持续的发展。

“Supporters of Chromium-Based Browsers” 将由 Linux 基金会托管,Linux 基金会作为该计划的中立方。除了 Google 会提供资金外,Meta、Microsoft 和 Opera 也将参与该计划。

有关 “Supporters of Chromium-Based Browsers” 的更多详细信息,请访问 Chromium 博客(https://blog.chromium.org/2025/01/announcing-supporters-of-chromium-based.html)以及 Linux 基金会新闻稿 (https://www.linuxfoundation.org/press/linux-foundation-announces-the-launch-of-supporters-of-chromium-based-browsers)。

新闻出处,“Google & Linux Foundation Launch “Supporters of Chromium-Based Browsers” Fund”: https://www.phoronix.com/news/Supporting-Chromium-Browsers

关键词: Google, Linux Foundation, Chromium

GCC 开发人员考虑放弃对 ARM64 ILP32 的支持

ARM64 ILP32 is the Armv8 architecture with a 32-bit ABI rather than 64-bit – akin to the “x32” x86 effort that never really took off on Linux. ARM64 ILP32 support never ended up making it into the mainline Linux kernel or GNU C Library but did appear within the GNU Compiler Collection. But years later and little use, GCC developers are consider deprecating ILP32 support ahead of its eventual removal.

ARM64 ILP32 是具有 32 位 ABI 而不是 64 位 ABI 的 Armv8 体系结构,类似于从未在 Linux 上真正得到推广的 “x32” x86 工作。ARM64 ILP32 支持一直未能最终进入 Linux 内核主线或 GNU C 库,可是 GCC 却支持该特性。但多年后,由于很少被人使用,GCC 开发人员正在考虑在正式删除 ILP32 之前将它标记为启用(deprecated)。

Arm 的 Wilco Dijkstra 本周提出了在 GCC 编译器中弃用 ARM64 ILP32 支持的提案,以便可以在将来的发行版中删除它。这种 32 位 ARM64 ABI 在过去很少被人使用,如今大多数软件都已经支持 64 位,这导致现在它的用途更少了,尤其是在从未有主线 Linux 内核支持运行 ILP32 模式。

虽然 Linux 并不关心这个事情,但对于弃用 ILP32 支持,在 macOS/Darwin 上却可能存在一些担忧。运行 watchOS 的 Apple Watch 使用 ILP32 模式,并且有一位开发人员一直在探索在 GCC 上支持 Apple Watch。然而,这只是一个低优先级的项目,目前尚不清楚它是否以及何时最终会实现。而且针对 Darwin/watchOS,目前也不清楚有多少现有的 GCC ILP32 代码可以被复用。

由于一些 ARM64 ILP32 用户并没有发声反对,所以 ARM64 32 位 ABI 的 GCC 支持在 GCC 15 中被弃用,并最终将在 GCC 16 中被彻底删除。

新闻出处,“GCC Developers Consider Deprecating ARM64 ILP32 Support”: https://www.phoronix.com/news/GCC-May-Deprecate-ARM64-ILP32

关键词: GCC, ARM64, ILP32

GCC 15 编译器进入开发的最后阶段

Richard Biener of SUSE announced today that the GCC 15 compiler has entered its stage four of development, which is the last stage focused only on regression fixes and documentation updates.

来自 SUSE 的 Richard Biener 本周初宣布,GCC 15 编译器已进入第四个开发阶段,这是仅专注于问题修复和文档更新的最后一个阶段。这预示了第一个稳定版本 GCC 15.1 可能在未来 2~3 个月内发布。在 GCC 15 开发的最后几周,官方只允许进行回归修复和文档更改。在 Git 中,GCC 版本也被升级到 GCC 15.0.1 以标记这个最后阶段。

最新的发布状态报告指出,新增了六个 P1 回归,所谓 P1 指的是需要在发布之前必须解决或以其他方式降级。GCC 15 目前有 32 个 P1 回归,另外还有 611 个 P2 回归和 267 个 P3 回归。

在 GCC 15 中,默认支持的 C 语言版本将被升级至 C23,新增了针对 AMD Zen 的优化,引入 Intel Diamond Rapids targeting,添加 Fujitsu Monaka CPU target、支持了 Intel AVX10.2,以及其他对 Intel APX 的支持,终止了对 Xeon Phi 的支持,以及许多其他改动。

新闻出处,“GCC 15 Compiler Enters Its Final Stage Of Development”: https://www.phoronix.com/news/GCC-15-Stage-4-Development

关键词: GCC

LLVM Clang 将支持 SiFive P550 这款 RISC-V 处理器核

Upstreamed to LLVM/Clang overnight is now targeting support for the SiFive P550 RISC-V core with the “-mcpu=sifive-p550” option.

上游 LLVM/Clang 计划新增 “-mcpu=sifive-p550” 选项支持 SiFive P550 RISC-V 内核。P550 是 SiFive 的高性能内核之一,具有 13 级、三发射、乱序管道。SiFive 介绍说 P550 的性能提高了 30%,而面积不到类似 Arm Cortex-A75 内核的一半。P550 最多可采用四核设计。

该修改合并进入 LLVM 的 git 仓库后,在未来几个月后即将发布的 LLVM/Clang 20 版中,我们将可以使用 -mcpu=sifive-p550 选项构建针对 SiFive Performance P550 的程序。虽然 P550 还没有专门的调度器模型,但补丁显示 P550 调度器模型稍后将在单独的补丁中添加。至少这开启了对 P550 的支持并能够使能各种 RISC-V 扩展,如 Zba、Zbb 和 Zifencei。

新闻出处,“LLVM Clang Lands Targeting Support For The SiFive P550 RISC-V Performance Core”: https://www.phoronix.com/news/LLVM-Clang-SiFive-P550

关键词: LLVM, Clang, SiFive, P550

Mold 2.36 发布

Rui Ueyama released Mold 2.36 as the newest update to this open-source linker that aims to deliver maximum performance at all costs.

Rui Ueyama 发布了 Mold 2.36。Mold 2.36 针对 ARM 和 PowerPC 继续优化性能,例如,现在在 ARM64 上链接 Clang 19 的速度提高了约 7%。RISC-V 和 LoongArch 也有所改进,与之前的版本相比,在 RISC-V 上,现在链接 Clang 的速度提高了约 4%。

Mold 链接器还实现了一个新的 “–package-metadata=” 选项,可用于将给定字符串嵌入到二进制文件的 “.note.package” section。这么做的目的是让生成二进制包(例如 RPM 和 DEB)的构建脚本能够在每个可执行文件中包含 package metadata。

Mold 2.36 还修复了许多错误并改进了兼容性,主要针对 RISC-V、LoongArch 和 s390x 等架构。

新闻出处,“Mold 2.36 Linker Brings More Optimizations & Compatibility Improvements”: https://www.phoronix.com/news/Mold-2.36-Released

关键词: Mold

开源虚拟化库 libvirt 11.0 发布

Libvirt 11.0 was christened today as the newest version of this open-source Virtualization API for managing VMs on Linux and other platforms while supporting KVM, QEMU, Xen, VMware ESX, LXC, Bhyve, and other hypervisors.

开源虚拟化 API 的最新版本 Libvirt 11.0 于本周三发布,该库可用于管理 Linux 和其他平台上的虚拟机,同时支持 KVM、QEMU、Xen、VMware ESX、LXC、Bhyve 和其他虚拟机管理程序。

Libvirt 11.0 在 QEMU/LXC/网络代码中增加了对标准 Linux 主机桥上 vLAN 的支持,并且现在支持在连接到标准 Linux 主机桥的网络接口上进行 vLAN 标记和中继。Libvirt 11.0 还引入了对直接和扩展 TLB 刷新功能的支持。还支持域使用更多 TLB Flush Microsoft Hyper-V 功能。

libvirt 11.0 中的其他一些变化包括允许用户为域 XML 中的设备指定自定义别名、VirtIOFS 的只读模式、QEMU 迁移改进以及各种修复。

新闻出处,“libvirt 11.0 Released For Open-Source Virtualization API”: https://www.phoronix.com/news/libvirt-11.0

关键词: libvirt

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: