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

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

泰晓资讯·2 月 / 第一期 / 2022

unicornx 创作于 2022/02/18

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

  • Linux 内核最新消息

https://lkml.org/lkml/2022/2/13/248

Linus Torvalds 在周日,即本月 13 日发布了 Linux 5.17 内核的最新每周测试版本 Linux 5.17-rc4。在该版本中,内核代号将不再使用因为感恩节而起的代号 “Gobble Gobble”,最新的 Linux 5.14-rc4 被命名为 “Superb Owl”。中文翻译过来大概是 “超级猫头鹰”,但似乎这词是把刚刚举行的美国足球超级碗比赛 “Super Bowl” 做了一个变形造出来的。Linus 一年里总会有几次,根据季节、天气条件或其他特殊事件编造一些内核的代号,以此为乐。

对于这个内核的中期版本,根据 Torvalds 的经验,进展看起来 “pretty normal”。Linus 在 5.17-rc4 公告中写道:Things continue to look pretty normal for 5.17. Both the diffstat and the number of commits looks pretty much average for an rc4 release. About half the changes being to drivers (all over, but as usual gpu and networking is a noticeable part of driver changes), with arch updates showing up next (devicetree updates dominate, but there's "real code" changes too). Other than that, we've got filesystem fixes, core networking, tooling, and misc core kernel fixlets.

修改中大约一半的更改是针对驱动程序的,以及针对各个 ARCH 的更新。除此之外,还有文件系统修复、核心网络、工具和其他核心内核修复程序。

Linux 5.17 稳定版应该会在 3 月底发布,具体取决于未来几周的发布情况。

https://www.kernel.org/ updated by 2022/2/18

分支类型版本发布时间
mainline5.17-rc42022-02-13
stable5.16.102022-02-16
longterm5.15.242022-02-16
longterm5.10.1012022-02-16
longterm5.4.1802022-02-16
longterm4.19.2302022-02-16
longterm4.14.2672022-02-16
longterm4.9.3022022-02-16
longterm4.4.302 [EOL]2022-02-03
linux-nextnext-202202172022-02-17

关键词: Linux

  • Linux 内核的 Rust 开发框架开始第四次审查

Miguel Ojeda just sent out the fourth revision of the Rust programming language support for use within the Linux kernel. This optional Rust programming support for Linux kernel drivers and the likes continues maturing and this year will hopefully see mainline status.

Miguel Ojeda 刚刚发布了在 Linux 内核中使用的 Rust 语言进行编程支持的第四版框架,可以用于编写 Linux 内核驱动程序。该框架的成熟度进一步提高,今年有望看到其进入内核主线。

Rust for Linux v4 补丁中,Rust 内核模块可以删除一些不再需要某些 Crate 属性的样板代码,添加了围绕代码注释和代码文档的 Rust 编码指南,并对 Rust 内核抽象做了改进,以及提供了更多驱动程序示例代码。更多的 Linux 内核持续集成 (CI) 系统也一直在准备在 Linux 内核中构建/测试 Rust 代码。

针对采用 Rust 语言为 Linux 内核编程的最新状态,Miguel Ojeda 评论说,"The Rust support is still to be considered experimental. However, support is good enough that kernel developers can start working on the Rust abstractions for subsystems and write drivers and other modules."

目前,在内核中,Rust 编程语言框架连同一些示例代码总共有大约 34,000 行新代码。

原文新闻出处,“Rust For The Linux Kernel Sent Out For Review A Fourth Time” https://www.phoronix.com/scan.php?page=news_item&px=Rust-For-Linux-Kernel-v4

关键词: Linux,Rust

  • Intel 加入 RISC-V International

Intel Foundry Services already courted SiFive as a customer and there were even those talks last year of Intel reportedly trying to acquire that leading RISC-V chip designer while today Intel has announced it joined RISC-V International as its latest move around this open-source processor ISA.

Intel Foundry Services (简称 IFS)早已开始为 SiFive 生产芯片,去年甚至有报道称 Intel 试图收购该家领先的 RISC-V 芯片设计商,而上周一的大新闻是 Intel 宣布宣布加入 RISC-V International(RISC-V 国际基金会,简称 RVI),这展示了 Intel 已全面拥抱该最新处理器 ISA。

Intel 将作为高级成员加入 RVI。此举是 Intel 对开放的 RISC-V 架构持续投资的一部分。虽然他们已经拥有基于 RISC-V 的 Nios V 处理器,但 Intel 不一定会在短期内计划用 RISC-V 取代 x86_64,而是通过加入 RVI 以长期投资于该生态系统,并希望吸引更多需要 Intel 代工服务的客户。

根据其公告,Intel 将帮助 RISC-V 加速其开源软件支持,"Today Intel announced several immediate RISC-V community benefits led by Intel Foundry Services (IFS). IFS will sponsor an open-source software development platform that allows for freedom in experimentation, including partners across the ecosystem, universities, and consortia."

Intel 还补充说 IFS 将提供基于 Intel 工艺技术优化的领先的 IP。IFS 是唯一一家提供针对所有三个行业领先 ISA (x86、 Arm 和 RISC-V)优化的 IP 代工厂。Intel 已经看到客户对支持更多 RISC-V IP 产品进行代工的强烈需求。

Intel 还宣布将提供一项 10 亿美元的基金,以帮助建立代工创新生态系统。

更多更详细的描述请参考原文新闻出处,“Intel Joins RISC-V International, Will Help With RISC-V Open-Source Software” https://www.phoronix.com/scan.php?page=news_item&px=Intel-RISC-V-International

关键词: Intel, RISC-V

  • AMD 完成了对 Xilinx 的收购

As was expected with last week AMD receiving all necessary regulatory approvals for its acquisition of Xilinx, today the deal successfully closed.

正如预期的那样,上周 AMD 获得了收购 Xilinx(赛灵思)的所有必要监管批准,在 14 号,也就是西方的情人节这天成功完成该交易。AMD 希望这笔半导体巨额交易将进一步巩固其 “业界高性能和自适应计算领导者” 的地位。

Xilinx 将成为 AMD 新成立的 Adaptive and Embedded Computing Group (AECG),由 Xilinx 前首席执行官 Victor Peng 领导。这笔交易将 AMD 的总潜在市值从大约 800 亿美金增加到 1350 亿美金,扩大其客户群并利用 AMD 进入新市场,将提供未来的研发优势,AMD 希望这将加强他们的财务模式。

更多介绍请阅读新闻出处,“AMD Completes Its Acquisition Of Xilinx”: https://www.phoronix.com/scan.php?page=news_item&px=AMD-Completes-Xilinx-Deal

关键词: AMD, Xilinx

  • LLVM/Clang 14 结束其 Feature Development 阶段

LLVM release manager Tom Stellard has branched the LLVM 14.0 code and that of its sub-projects like Clang within the mono repository. As such, LLVM 14.0 feature development is now over with the main Git branch working towards what will become LLVM 15.0 later this calendar year.

LLVM 的发布经理 Tom Stellad 已将 LLVM 14.0 代码及其子项目(如 Clang)的代码提取到独立的存储库中。至此,LLVM 14.0 的功能开发(Feature Development)阶段现在已经结束。Git 上的 main 分支在今年晚些时候将继续向下一个版本 15.0 演进。

LLVM 14.0 现在将经过数周的错误修复和测试,然后可能会在 3 月份稳定发布。预计将很快发布第一个候选版本,而 3 月初将发布第二个候选版本。如果一切顺利,LLVM 14.0 稳定版最早可能会在 3 月中旬发布。

LLVM 编译器软件集合和著名的子项目(如 Clang C/C++ 前端和 libc++ 标准库)的这六个月中有很多更新,这些亮点包括:

  • LLVM 和 Clang 支持 Armv9-A 架构,包括 Armv9.1-A 和 Armv9.2-A。 Clang 还增加了对 Arm Cortex X2、A710 和 A510 处理器的支持。
  • 另一个针对 ARM 的更改是 Clang 现在支持针对 AArch64 的 “-mtune” 选项。
  • 为新的 Intel 服务器 CPU 添加了对 AVX512-FP16 指令的支持。
  • Clang 支持从 SiFive E20 到 SiFive S76 的各种 SiFive RISC-V 处理器。
  • Clang 添加了更多内容,为 C23 做好准备。
  • Clang 现在支持最高 v11.5 的 NVIDIA CUDA 版本,并且还将默认 GPU 架构目标提高到 sm-35。
  • Clang 现在使用 DWARFv5 作为支持的默认调试格式,而不是 DWARFv4。
  • 在构建 Clang 时,现在可以配置在 Linux 上默认使用 -fPIE 和 -pie,以和 GCC 的行为保持一致。
  • Libc++ 现在支持 C++20 协程、C++20 格式头文件以及其他 C++20 和早期 C++2b 的特性。

更多介绍请阅读新闻出处,“LLVM/Clang 14 Ends Feature Development With Better C++20 Support, Armv9 Added”: https://www.phoronix.com/scan.php?page=news_item&px=LLVM-Clang-14-Ends

关键词: LLVM, Clang

  • LLVM 开始支持 LoongArch CPU

Hitting the LLVM 15.0 development tree this morning are the initial patches for China’s LoongArch CPU architecture.

LoongArch 是 Loongson(龙芯)新推出的 CPU 架构,该公司长期针对中国国内 PC 市场生产各种 MIPS64 芯片,并在 Linux 下运行良好。LoongArch 基于 MIPS64 和 RISC-V 的一些概念,是中国在不依赖其他来源的情况下推动国内 CPU 制造业的努力成果。

Loongson 35000 系列是他们第一款支持此 ISA 的硬件。就最初的硬件和软件支持而言,LoongArch 的性能在这一点上并不令人印象深刻。

最近几个月,Loongson 在建立 LoongArch 的编译器工具链和对 Linux 内核支持方面做了大量工作,虽然有批评的声音认为在某些领域这只是在复制现有的 MIPS64 代码。

上周四早上在 LLVM 15.0 开发树上发布了针对来自中国的 LoongArch CPU 架构的初始补丁。Loongson 的工程师正在自己开发 LLVM 对 LoongArch 的支持,类似于他们为 GCC 所做的工作。

大多数开源项目已经接受了对 LoongArch 的支持,从长远来看,我们将看到这种 CPU 架构的可行性(和性能)以及它与 x86_64、ARM、RISC-V 等竞争的能力以及该 ISA 是否最终能在除中国以外的地方获得显著的使用。

更多介绍请阅读新闻出处,“LoongArch CPU Support Begins Landing In LLVM”: https://www.phoronix.com/scan.php?page=news_item&px=LoongArch-LLVM-Landing

关键词: LLVM, LoongArch

联系我们

资讯内容部分来自 “LWN.net“。如果您对某些 LWN 文章感兴趣(譬如希望获得全文翻译的)请扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: