Comment 0 for bug 2019856

Revision history for this message
Joao Andre Simioni (jasimioni) wrote :

[Impact]
When running "lscpu" on a Grace-based system + Ubuntu 22.04, it doesn't report a model name:

Vendor ID: ARM
Model: 0

[Fix]
Adding the additional arm_part to sys-utils/lscpu-arm.c solves the problem. The commit below adds the specific codes missing from Jammy's version.

https://github.com/util-linux/util-linux/commit/6857cccbb4157d5da34ca98f77a0ac9d68e1e740

[Evidence]
When upstream code is compiled, output of lscpu is correctly displayed:
Vendor ID: ARM
Model name: Neoverse-V2

[What Could Go Wrong]
The fix does not apply directly to Jammy's version, as other commits change sys-utils/lscpu-arm.c. The suggestion is only to add the missing arm_part to the list.