]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpu: Print family/model/stepping in hex
authorBorislav Petkov <bp@suse.de>
Thu, 10 Sep 2015 19:55:27 +0000 (21:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 13 Sep 2015 07:30:07 +0000 (09:30 +0200)
commit6a9606c5bcddf478a82e438c88a509b9d26205f1
treef80239a5fd87eee0321ffc42b379dd992119f713
parent51059c24aea5bef9fc92334ca8eada35b4519325
x86/cpu: Print family/model/stepping in hex

08c8f528fffc ("x86/debug: Dump family, model, stepping of the
boot CPU") had its good intentions to dump the exact F/M/S as an
aid during debugging sessions but its output can be ambiguous.
Fix that:

-smpboot: CPU0: Intel Core Processor (Broadwell) (fam: 06, model: 47, stepping: 02)
+smpboot: CPU0: Intel Core Processor (Broadwell) (family: 0x6, model: 0x47, stepping: 0x2)

Also, spell out "family".

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1441914927-32037-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/common.c