Bug 1458720

Summary: x86info: please update x86info to support latest CPUs
Product: Red Hat Enterprise Linux 7 Reporter: Kazuo Moriwaka <kmoriwak>
Component: x86infoAssignee: Prarit Bhargava <prarit>
Status: CLOSED WONTFIX QA Contact: Mike Gahagan <mgahagan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: kmoriwak
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 12:55:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kazuo Moriwaka 2017-06-05 10:13:58 UTC
Description of problem:

x86info in RHEL 7.3 is very old; it seems a version of 2011.
It should be updated to support latest CPUs.

Over 200 commits 
https://github.com/kernelslacker/x86info/commits/master

Version-Release number of selected component (if applicable):

1.30-6.el7

How reproducible:

In my desktop PC, it has Haswell generation core-i7, this is not new machine (bought at 2013).  x86info print this as "Unknown model".

--------------------
x86info v1.30.  Dave Jones 2001-2011
Feedback to <davej>.

enumerate_cpus(): /dev/mem: Operation not permitted
Found 8 identical CPUs (but found 4294967295d CPUs in MPTable!)
Extended Family: 0 Extended Model: 3 Family: 6 Model: 60 Stepping: 3
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Unknown model. 
Processor name string (BIOS programmed): Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

Total processor threads: 8
This system has 1 quad-core processor with hyper-threading (2 threads per core) running at an estimated 3.40GHz
--------------------


Steps to Reproduce:

1. Get some RHEL 7 certified hardware
2. Run x86info
3. In most case, hardware cannot be understood by x86info. It would show 'Unknown model' for them.

Additional info:

GLS course RH442 introduce x86info as detect hardware information tool.