Pzqqt's News Channel
3.19K subscribers
677 photos
26 videos
410 files
4.43K links
Managed by @pzqqt and @pzqqt_bot

This channel will also push some updates news about things that I'm interested in.
Download Telegram
Google Clang Prebuilt Update
#clang

Commit

Download tar.gz:
clang 20.0.0 (based on r547379) from build 12806354
Pzqqt's News Channel
Google Clang Prebuilt Update #clang Commit Download tar.gz: clang 20.0.0 (based on r547379) from build 12806354
Google clang 20.0.0编译的android12-5.10 GKI在加载设备的某些stock内核模块(指Google clang 12.0.5编译的)后会panic:

[    0.315956][    C7] Bad mode in Synchronous Abort handler detected on CPU7, code 0x36000002 -- BTI
[ 0.315963][ C7] CPU: 7 PID: 137 Comm: kworker/7:1H Tainted: G S 5.10.231-Melt-v3.4 #1
[ 0.315963][ C7] Hardware name: Marble based on Qualcomm Technologies, Inc SM7475 (DT)
[ 0.315973][ C7] Workqueue: events_highpri thermal_pause_register_cdev [thermal_pause]
[ 0.315979][ C7] pstate: 82c00805 (Nzcv daif +PAN +UAO +TCO BTYPE=-c)
[ 0.315987][ C7] pc : __cfi_check+0x0/0x56020
[ 0.315994][ C7] lr : __cfi_slowpath+0x160/0x1c0
...

事实上这个问题从LLVM 19.1.1 19.1.0开始就已经存在。

咱也别指望LLVM上游“修复”,因为让新版本clang编译的内核去加载旧版本clang编译的内核模块这件事本身就不正确。

目前有三种解决方法:
1. ANDROID: Disable BTI/PAC configs,但是会破坏KMI
2. [HACK] ANDROID: Allows skipping of CFI checks,然后启用CONFIG_CFI_FORCE_SKIP_CHECK
3. 将所有stock内核模块改用新版本clang重新编译,或者将所有内核模块编译进内核image(你确定?)
Xiaomi.eu inject Module Update
2024-12-19
#XiaomiEU

Build date:
Thu, 19 Dec 2024 05:44:10 UT

MD5:
6b192e501b6ae3f9e429b67344b4cd89

Download:
XiaomiEUModule_2024.12.19.apk

Size:
12.8 KB
Weighted Interleave Auto-Tuning Being Worked On For Linux
20 December 2024 - Weightened Interleave Auto-Tuning

Joshua Hahn has posted the latest "request for comments" draft working on weightedd interleave auto-tuning for the linux kernel in order to better enhance the performance characteristics of primarily Linux servers with multiple memory nodes.

Comments

#Phoronix #LinuxKernel
Liquorix vs. Linux 6.12 Upstream Kernel Performance Across Many Workloads
20 December 2024 - Linux 6.12 Liquorix

A Phoronix Premium subscriber a while back requested some fresh benchmarks of how the Liquorix downstream of the Linux kernel is comparing against the latest upstream kernel... Here are some benchmarks looking at the Liquorix flavor of the Linux kernel compared to upstream Linux 6.12.

Comments

#Phoronix #LinuxKernel
Google Clang Prebuilt Update
#clang

Commit

Download tar.gz:
clang 19.0.1 (based on r536225) from build 12833971
Linux 6.13-rc4 Released For Kernel Testing Ahead Of The Holidays
22 December 2024 - Linux 6.13

Linus Torvalds just released the Linux 6.13-rc4 kernel as the newest weekly test release leading up to Linux 6.13 stable by mid to late January.

Comments

#Phoronix #LinuxKernel
Linux 6.14 Looks To Land Rust PCI / Platform Device Driver Support
23 December 2024 - Linux 6.14 Rust Device Drivers

The patch series in the works for a while to provide the necessary kernel abstractions for the Rust programming language to actually implement real device drivers looks like it will finally premiere in the Linux 6.14 kernel cycle.

Comments

#Phoronix #LinuxKernel
Rust Drama, Russian Kernel Maintainers & Other Top Linux Kernel Happenings Of 2024
24 December 2024 - 2024 Linux Kernel News

With 2024 drawing quickly toward a close, here is a look back at the most popular Linux kernel news of the year ranging from exciting performance optimizations and new features such as QR code error messages over to kernel drama around Russian kernel developers, Bcachefs disturbances, and the contentious growing Rust programming language use within the kernel.

Comments

#Phoronix #LinuxKernel
Xiaomi.eu Multilang HyperOS ROM stable Update
2024-12-26
#Marble #XiaomiEU #HyperOS #Stable

Build date:
Wed, 25 Dec 2024 17:46:11 UT

MD5:
96e42171b341e1fe5eb87b40195dfe95

Download:
xiaomi.eu_MARBLE_OS1.0.14.0.UMRCNXM_14.zip

Size:
5.4 GB
Redmi K60/Poco F5 Pro(mondrian)昨晚发包了官方版HyperOS 2.0,作为首个得到官方HyperOS 2.0更新的小米SM8475机型,我们marble用户也可以从中提取出一些有价值的信息。

首先是内核,更新到了5.10.209
然后是内核模块,从vermagic来看,还是5.10.160,并没有像MIUI14升级HyperOS1一样得到更新,并且绝大多数内核模块和HyperOS1不能说一模一样只能说毫无区别。
再然后是dtb和dtbo,也没啥变化。

可以预见的是,marble官方版的HyperOS 2.0在内核层的更新内容也会和mondrian差不多,而且Melt Kernel基本上只需要做少量改动即可兼容。

最后,只是一些个人猜测:对于正在给marble搞HyperOS 2.0移植并且发现AOD有bug的开发者,把msm_drm.ko换成mondrian HyperOS 2.0里的试试?