x86/cpu: Print family/model/stepping in hex
authorBorislav Petkov <[email protected]>
Thu, 10 Sep 2015 19:55:27 +0000 (21:55 +0200)
committerIngo Molnar <[email protected]>
Sun, 13 Sep 2015 07:30:07 +0000 (09:30 +0200)
commit7c5b190e115a2f7a51a85f261e7d7dca4b4bbe64
treef80239a5fd87eee0321ffc42b379dd992119f713
parent76fc5e7b2355af167dea1a32e93c57fc37900a5b
x86/cpu: Print family/model/stepping in hex

924e101a7ab6 ("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 <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/common.c