public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3
@ 2010-03-30 23:03 Jiri Kosina
  2010-03-30 23:25 ` KVM warning about uncertified CPU for SMP for AMD model 2, stepping3 Brian Jackson
  2010-03-31  2:42 ` KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3 Andi Kleen
  0 siblings, 2 replies; 12+ messages in thread
From: Jiri Kosina @ 2010-03-30 23:03 UTC (permalink / raw)
  To: Ingo Molnar, Andi Kleen, Avi Kivity, Marcelo Tosatti,
	Joerg Roedel
  Cc: linux-kernel, kvm

Hi,

booting 32bit guest on 32bit host on AMD system gives me the following 
warning when KVM is instructed to boot as SMP:



CPU0: AMD QEMU Virtual CPU version 0.9.1 stepping 03
Booting Node   0, Processors  #1
Initializing CPU#1
Leaving ESR disabled.
Mapping cpu 1 to node 0
------------[ cut here ]------------
WARNING: at linux-2.6.32/arch/x86/kernel/cpu/amd.c:187 init_amd_k7+0x178/0x187()
Hardware name: 
WARNING: This combination of AMD processors is not suitable for SMP.
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.32.9-0.5-pae #1
Call Trace:
 [<c02069a1>] try_stack_unwind+0x1b1/0x1f0
 [<c020596f>] dump_trace+0x3f/0xe0
 [<c02065ab>] show_trace_log_lvl+0x4b/0x60
 [<c02065d8>] show_trace+0x18/0x20
 [<c052dc19>] dump_stack+0x6d/0x74
 [<c023ebbf>] warn_slowpath_common+0x6f/0xd0
 [<c023ec6b>] warn_slowpath_fmt+0x2b/0x30
 [<c052875c>] init_amd_k7+0x178/0x187
 [<c052896f>] init_amd+0x138/0x279
 [<c0527d74>] identify_cpu+0xc2/0x223
 [<c0527ee1>] identify_secondary_cpu+0xc/0x1a
 [<c052b3bc>] smp_callin+0xd4/0x1a1
 [<c052b493>] start_secondary+0xa/0xe7



The virtual CPU identifies itself as cpu family 6, model 2, stepping 3 in 
/proc/cpuinfo.

Model 2 is indeed not handled by amd_k7_smp_check() and thus this warning 
is spit out.

Is that correct? Model 2 refers to Pluto/Orion (K75) if I remember 
correctly, right? That one is not oficially certified for SMP by AMD?

If it is not, maybe KVM should better emulate different CPU for 
SMP-enabled configurations, right? 
On the other hand, if it is certified (I have no idea), amd_k7_smp_check() 
should handle this model properly.

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-04-25  4:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 23:03 KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3 Jiri Kosina
2010-03-30 23:25 ` KVM warning about uncertified CPU for SMP for AMD model 2, stepping3 Brian Jackson
2010-03-31  2:42 ` KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3 Andi Kleen
2010-03-31  8:15   ` [PATCH][RFC] x86: remove SMP check/taint for AMD K7 (was Re: KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3) Jiri Kosina
2010-03-31 12:53     ` Andi Kleen
2010-03-31 12:11   ` KVM warning about uncertified CPU for SMP for AMD model 2, stepping 3 Andre Przywara
2010-03-31 12:51     ` Andi Kleen
2010-03-31 14:36       ` Pavel Machek
2010-04-25  4:22       ` Yuhong Bao
2010-03-31 13:45     ` Jiri Kosina
2010-03-31 14:39       ` Andre Przywara
2010-03-31 14:45         ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox