* [PATCH] More informative about unknown CPU
@ 2008-10-09 18:47 Hans Schou
2008-10-10 15:04 ` Ingo Molnar
0 siblings, 1 reply; 4+ messages in thread
From: Hans Schou @ 2008-10-09 18:47 UTC (permalink / raw)
To: linux-kernel
Hi
Write the name of the unknown vendor_id to output instead of just "file
not found".
Tag changed to 'vendor_id' as used in /proc/cpuinfo
Signed-off-by: Hans Schou <linux@schou.dk>
--- linux.trees.git/arch/x86/kernel/cpu/common.c.orig 2008-10-09 17:33:29.000000000 +0200
+++ linux.trees.git/arch/x86/kernel/cpu/common.c 2008-10-09 17:33:59.000000000 +0200
@@ -413,7 +413,7 @@ static void __cpuinit get_cpu_vendor(str
if (!printed) {
printed++;
- printk(KERN_ERR "CPU: Vendor unknown, using generic init.\n");
+ printk(KERN_ERR "CPU: vendor_id '%s' unknown, using generic init.\n", v);
printk(KERN_ERR "CPU: Your system may be unstable.\n");
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] More informative about unknown CPU
2008-10-09 18:47 [PATCH] More informative about unknown CPU Hans Schou
@ 2008-10-10 15:04 ` Ingo Molnar
2008-10-10 16:20 ` Yinghai Lu
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2008-10-10 15:04 UTC (permalink / raw)
To: Hans Schou; +Cc: linux-kernel, Thomas Gleixner, H. Peter Anvin, Yinghai Lu
* Hans Schou <linux@schou.dk> wrote:
> Hi
>
> Write the name of the unknown vendor_id to output instead of just
> "file not found".
>
> Tag changed to 'vendor_id' as used in /proc/cpuinfo
>
> Signed-off-by: Hans Schou <linux@schou.dk>
applied to tip/x86/unify-cpu-detect, thanks Hans!
> --- linux.trees.git/arch/x86/kernel/cpu/common.c.orig 2008-10-09 17:33:29.000000000 +0200
> +++ linux.trees.git/arch/x86/kernel/cpu/common.c 2008-10-09 17:33:59.000000000 +0200
> @@ -413,7 +413,7 @@ static void __cpuinit get_cpu_vendor(str
>
> if (!printed) {
> printed++;
> - printk(KERN_ERR "CPU: Vendor unknown, using generic init.\n");
> + printk(KERN_ERR "CPU: vendor_id '%s' unknown, using generic init.\n", v);
> printk(KERN_ERR "CPU: Your system may be unstable.\n");
btw., this was whitespace damaged (i fixed that up by hand). See
Documentation/email-clients.txt about how to set up the email client.
(or, when you send x86 patches, you can attach the patch as a MIME
attachment)
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] More informative about unknown CPU
2008-10-10 15:04 ` Ingo Molnar
@ 2008-10-10 16:20 ` Yinghai Lu
2008-10-10 16:24 ` H. Peter Anvin
0 siblings, 1 reply; 4+ messages in thread
From: Yinghai Lu @ 2008-10-10 16:20 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Hans Schou, linux-kernel, Thomas Gleixner, H. Peter Anvin
On Fri, Oct 10, 2008 at 8:04 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
> * Hans Schou <linux@schou.dk> wrote:
>
>> Hi
>>
>> Write the name of the unknown vendor_id to output instead of just
>> "file not found".
>>
>> Tag changed to 'vendor_id' as used in /proc/cpuinfo
>>
>> Signed-off-by: Hans Schou <linux@schou.dk>
>
> applied to tip/x86/unify-cpu-detect, thanks Hans!
>
>> --- linux.trees.git/arch/x86/kernel/cpu/common.c.orig 2008-10-09 17:33:29.000000000 +0200
>> +++ linux.trees.git/arch/x86/kernel/cpu/common.c 2008-10-09 17:33:59.000000000 +0200
>> @@ -413,7 +413,7 @@ static void __cpuinit get_cpu_vendor(str
>>
>> if (!printed) {
>> printed++;
>> - printk(KERN_ERR "CPU: Vendor unknown, using generic init.\n");
>> + printk(KERN_ERR "CPU: vendor_id '%s' unknown, using generic init.\n", v);
>> printk(KERN_ERR "CPU: Your system may be unstable.\n");
>
> btw., this was whitespace damaged (i fixed that up by hand). See
> Documentation/email-clients.txt about how to set up the email client.
> (or, when you send x86 patches, you can attach the patch as a MIME
> attachment)
>
What is unknown cpus?
>From Sis or Nvidia?
YH
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] More informative about unknown CPU
2008-10-10 16:20 ` Yinghai Lu
@ 2008-10-10 16:24 ` H. Peter Anvin
0 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2008-10-10 16:24 UTC (permalink / raw)
To: Yinghai Lu; +Cc: Ingo Molnar, Hans Schou, linux-kernel, Thomas Gleixner
Yinghai Lu wrote:
>
> What is unknown cpus?
>
> From Sis or Nvidia?
>
Virtual CPUs, vendors who suddenly pop up, ...
-hpa
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-10 16:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 18:47 [PATCH] More informative about unknown CPU Hans Schou
2008-10-10 15:04 ` Ingo Molnar
2008-10-10 16:20 ` Yinghai Lu
2008-10-10 16:24 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).