]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: Fix loongarch op-mode output with recent kernel
authorXi Ruoyao <xry111@xry111.site>
Thu, 22 May 2025 05:04:48 +0000 (13:04 +0800)
committerXi Ruoyao <xry111@xry111.site>
Thu, 22 May 2025 05:06:44 +0000 (13:06 +0800)
commit5aa7ad17fc17b9458ff4381294c27d176c651d5d
tree98274c232fac1376a81e1906725901795473177c
parent4daee3ce9485d1ace09d789b9332aa8f57606d21
lscpu: Fix loongarch op-mode output with recent kernel

Since Linux-6.12, the "loongarch32" item in the ISA field is separated
to "loongarch32r" and "loongarch32s," breaking our expectation.

Link: https://git.kernel.org/torvalds/c/34e3c4500cdc
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
sys-utils/lscpu-cputype.c
tests/expected/lscpu/lscpu-loongarch-kvm_on_loongson_3c6000 [new file with mode: 0644]
tests/ts/lscpu/dumps/loongarch-kvm_on_loongson_3c6000.tar.gz [new file with mode: 0644]