]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: add nooverwrite flag for ARM implementer table
authorKarel Zak <kzak@redhat.com>
Thu, 28 May 2026 10:03:28 +0000 (12:03 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Jun 2026 10:49:43 +0000 (12:49 +0200)
commita57533541324a03dcbbbfb97cca21e7029aa50a8
tree9fdb8022777eaef70a3753d1c49f66a7f44c76d6
parent50c0c0d678ba690be7884c0182435f3a88ad0b87
lscpu: add nooverwrite flag for ARM implementer table

Add a nooverwrite flag to struct hw_impl. When set, vendor and model
name already provided by the kernel in /proc/cpuinfo are preserved
rather than being overwritten by the hardcoded lookup tables. The
tables serve as a fallback when the kernel does not provide the
information.

This approach keeps all implementer entries in the table, which is
also required for "lscpu --arm-id" to list all known vendors and
part IDs.

Addresses: https://github.com/util-linux/util-linux/pull/4362
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu-arm.c