New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lscpu: Decode ARM CPUs #564

Merged
merged 1 commit into from Jan 22, 2018

Conversation

5 participants
@suihkulokki
Contributor

suihkulokki commented Jan 19, 2018

Since the kernel developers have refused to make /proc/cpuinfo user
understandable, implement mapping in userspace. lscpu is available for
most users via util-linux, so store the information here.

Signed-off-by: Riku Voipio riku.voipio@iki.fi

else if (lookup(buf, "family", &desc->family)) ;
else if (lookup(buf, "cpu family", &desc->family)) ;
else if (lookup(buf, "model", &desc->model)) ;
else if (lookup(buf, "CPU part", &desc->model)) ; /* ARM and aarch6 */

This comment has been minimized.

@rudimeier

rudimeier Jan 19, 2018

Contributor

Probably also "aarch64" here, not "aarch6"?

This comment has been minimized.

@suihkulokki

suihkulokki Jan 19, 2018

Contributor

fixed - and added the missing Makemodule.am bit to hopefully fix make dist

lscpu: Decode ARM CPUs
Since the kernel developers have refused to make /proc/cpuinfo user
understandable, implement mapping in userspace. lscpu is available for
most users via util-linux, so store the information here.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>

@karelzak karelzak merged commit 744d62e into karelzak:master Jan 22, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@karelzak

This comment has been minimized.

Owner

karelzak commented Jan 22, 2018

I have moved all the new ARM stuff to lscpu-arm.c (rename from .h).

Thanks.

@vielmetti

This comment has been minimized.

vielmetti commented on 744d62e Feb 13, 2018

Relevant data for google/cpu_features#26

@ramcq

This comment has been minimized.

This comment has been minimized.

Owner

karelzak replied Apr 12, 2018

Fixed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment