linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	kvm ML <kvm@vger.kernel.org>, Jiri Denemark <jdenemar@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [BUG] x86: failed to boot a kernel on a Ryzen machine
Date: Fri, 28 Apr 2017 15:34:06 +0200	[thread overview]
Message-ID: <43443399-673a-60a1-7928-b9b571f6e433@redhat.com> (raw)
In-Reply-To: <87fugu4r5n.wl-satoru.takeuchi@gmail.com>



On 27/04/2017 02:42, Satoru Takeuchi wrote:
> At Wed, 26 Apr 2017 18:58:27 +0200,
>> On 26/04/2017 13:47, Satoru Takeuchi wrote:
>>> OK, here it is.
>>
>> It looks like the cause is that AMD has removed TBM instructions
>> compared to e.g. Piledriver, so libvirt resorts to a much older base
>> model (thanks to Dave Gilbert for sorting through the list of feature bits).

... and the libvirt people also told me that:

- a more recent QEMU would have enabled CPU leaf 0xD, making it possible
to use AVX inside the guest.

- a more recent libvirt would have used Opteron_G5 as a base instead of
Opteron_G3.

Thanks,

Paolo

>> Can you please run this script:
>>
>> http://libvirt.org/git/?p=libvirt.git;a=blob_plain;f=tests/cputestdata/cpu-gather.sh;h=83963557ec4075d351be09e17994ac5300bc5d1f;hb=HEAD
>>
>> and send the output?
> 
> 
> OK. Here is the result.
> 
> ```
> # bash tests-cputestdata-cpu-gather.sh 
> model name	: AMD Ryzen 7 1800X Eight-Core Processor
> CPU:
>    0x00000000 0x00: eax=0x0000000d ebx=0x68747541 ecx=0x444d4163 edx=0x69746e65
>    0x00000001 0x00: eax=0x00800f11 ebx=0x09100800 ecx=0x7ed8320b edx=0x178bfbff
>    0x00000002 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003 edx=0x00000000
>    0x00000006 0x00: eax=0x00000004 ebx=0x00000000 ecx=0x00000001 edx=0x00000000
>    0x00000007 0x00: eax=0x00000000 ebx=0x209c01a9 ecx=0x00000000 edx=0x00000000
>    0x00000008 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x00000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x0000000a 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x0000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x0000000d 0x00: eax=0x00000007 ebx=0x00000340 ecx=0x00000340 edx=0x00000000
>    0x0000000d 0x01: eax=0x0000000f ebx=0x00000340 ecx=0x00000000 edx=0x00000000
>    0x0000000d 0x02: eax=0x00000100 ebx=0x00000240 ecx=0x00000000 edx=0x00000000
>    0x0000000d 0x03: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000000 0x00: eax=0x8000001f ebx=0x68747541 ecx=0x444d4163 edx=0x69746e65
>    0x80000001 0x00: eax=0x00800f11 ebx=0x20000000 ecx=0x35c233ff edx=0x2fd3fbff
>    0x80000002 0x00: eax=0x20444d41 ebx=0x657a7952 ecx=0x2037206e edx=0x30303831
>    0x80000003 0x00: eax=0x69452058 ebx=0x2d746867 ecx=0x65726f43 edx=0x6f725020
>    0x80000004 0x00: eax=0x73736563 ebx=0x2020726f ecx=0x20202020 edx=0x00202020
>    0x80000005 0x00: eax=0xff40ff40 ebx=0xff40ff40 ecx=0x20080140 edx=0x40040140
>    0x80000006 0x00: eax=0x26006400 ebx=0x66006400 ecx=0x02006140 edx=0x00808140
>    0x80000007 0x00: eax=0x00000000 ebx=0x0000001b ecx=0x00000000 edx=0x00006599
>    0x80000008 0x00: eax=0x00003030 ebx=0x00000007 ecx=0x0000400f edx=0x00000000
>    0x80000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000000a 0x00: eax=0x00000001 ebx=0x00008000 ecx=0x00000000 edx=0x0001bcff
>    0x8000000b 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000000d 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000000f 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000010 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000012 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000014 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000015 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000016 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000017 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000018 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x80000019 0x00: eax=0xf040f040 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000001a 0x00: eax=0x00000003 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000001b 0x00: eax=0x000003ff ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000001c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0x8000001d 0x00: eax=0x00004121 ebx=0x01c0003f ecx=0x0000003f edx=0x00000000
>    0x8000001e 0x00: eax=0x00000009 ebx=0x00000104 ecx=0x00000000 edx=0x00000000
>    0x8000001f 0x00: eax=0x00000007 ebx=0x0000016f ecx=0x0000000f edx=0x00000000
>    0x80860000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
>    0xc0000000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
> 
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 14]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 15]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 16]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 17]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 23]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 24]
> {"QMP": {"version": {"qemu": {"micro": 0, "minor": 5, "major": 2}, "package": " (Debian 1:2.5+dfsg-5ubuntu10.11)"}, "capabilities": []}}
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 0]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 1]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 2]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 3]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 4]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 5]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 6]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 7]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 8]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 9]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 12]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 13]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 14]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 15]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 16]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 17]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 23]
> warning: host doesn't support requested feature: CPUID.80000001H:EDX [bit 24]
> {"return": {}}
> {"return": [{"cpuid-register": "EAX", "cpuid-input-eax": 6, "features": 4}, {"cpuid-register": "EAX", "cpuid-input-ecx": 1, "cpuid-input-eax": 13, "features": 7}, {"cpuid-register": "EDX", "cpuid-input-eax": 2147483658, "features": 9}, {"cpuid-register": "EAX", "cpuid-input-eax": 1073741825, "features": 16777467}, {"cpuid-register": "EDX", "cpuid-input-eax": 3221225473, "features": 0}, {"cpuid-register": "EDX", "cpuid-input-eax": 2147483655, "features": 0}, {"cpuid-register": "ECX", "cpuid-input-eax": 2147483649, "features": 1015}, {"cpuid-register": "EDX", "cpuid-input-eax": 2147483649, "features": 776996864}, {"cpuid-register": "EBX", "cpuid-input-ecx": 0, "cpuid-input-eax": 7, "features": 10224043}, {"cpuid-register": "ECX", "cpuid-input-eax": 1, "features": 4160238083}, {"cpuid-register": "EDX", "cpuid-input-eax": 1, "features": 126614527}], "id": "feature-words"}
> {"return": 23, "id": "family"}
> {"return": 1, "id": "model"}
> {"return": 1, "id": "stepping"}
> {"return": "AMD Ryzen 7 1800X Eight-Core Processor         ", "id": "model-id"}
> {"return": {}}
> {"timestamp": {"seconds": 1493253066, "microseconds": 721689}, "event": "SHUTDOWN"}
> # 
> ```
> 
> Thanks,
> Satoru
> 
>>
>> Thanks,
>>
>> Paolo
>>
>>> ```
>>> $ cat /proc/cpuinfo 
>>> processor	: 0
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 0
>>> cpu cores	: 8
>>> apicid		: 0
>>> initial apicid	: 0
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 1
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 0
>>> cpu cores	: 8
>>> apicid		: 1
>>> initial apicid	: 1
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 2
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 1
>>> cpu cores	: 8
>>> apicid		: 2
>>> initial apicid	: 2
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 3
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 1
>>> cpu cores	: 8
>>> apicid		: 3
>>> initial apicid	: 3
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 4
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 2
>>> cpu cores	: 8
>>> apicid		: 4
>>> initial apicid	: 4
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 5
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 2
>>> cpu cores	: 8
>>> apicid		: 5
>>> initial apicid	: 5
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 6
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 3
>>> cpu cores	: 8
>>> apicid		: 6
>>> initial apicid	: 6
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 7
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 3
>>> cpu cores	: 8
>>> apicid		: 7
>>> initial apicid	: 7
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 8
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 4
>>> cpu cores	: 8
>>> apicid		: 8
>>> initial apicid	: 8
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 9
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 4
>>> cpu cores	: 8
>>> apicid		: 9
>>> initial apicid	: 9
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 10
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 5
>>> cpu cores	: 8
>>> apicid		: 10
>>> initial apicid	: 10
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 11
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 5
>>> cpu cores	: 8
>>> apicid		: 11
>>> initial apicid	: 11
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 12
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 6
>>> cpu cores	: 8
>>> apicid		: 12
>>> initial apicid	: 12
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 13
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 6
>>> cpu cores	: 8
>>> apicid		: 13
>>> initial apicid	: 13
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 14
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 7
>>> cpu cores	: 8
>>> apicid		: 14
>>> initial apicid	: 14
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> processor	: 15
>>> vendor_id	: AuthenticAMD
>>> cpu family	: 23
>>> model		: 1
>>> model name	: AMD Ryzen 7 1800X Eight-Core Processor
>>> stepping	: 1
>>> microcode	: 0x800111c
>>> cpu MHz		: 2200.000
>>> cache size	: 512 KB
>>> physical id	: 0
>>> siblings	: 16
>>> core id		: 7
>>> cpu cores	: 8
>>> apicid		: 15
>>> initial apicid	: 15
>>> fpu		: yes
>>> fpu_exception	: yes
>>> cpuid level	: 13
>>> wp		: yes
>>> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
>>> bugs		: fxsave_leak sysret_ss_attrs null_seg
>>> bogomips	: 7186.66
>>> TLB size	: 2560 4K pages
>>> clflush size	: 64
>>> cache_alignment	: 64
>>> address sizes	: 48 bits physical, 48 bits virtual
>>> power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
>>>
>>> ```
>>>
>>> Regards,
>>> Satoru
>>>
>>>
>>>>
>>>> Thanks,
>>>>
>>>> Paolo

  reply	other threads:[~2017-04-28 13:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24  6:58 [BUG] x86: failed to boot a kernel on a Ryzen machine Satoru Takeuchi
2017-04-24 11:07 ` Borislav Petkov
2017-04-24 12:39   ` Satoru Takeuchi
2017-04-24 12:48     ` Borislav Petkov
2017-04-24 13:09       ` Satoru Takeuchi
2017-04-25  9:36         ` Borislav Petkov
2017-04-26  7:48           ` Paolo Bonzini
2017-04-26  8:14             ` Borislav Petkov
2017-04-26 11:47             ` Satoru Takeuchi
2017-04-26 16:58               ` Paolo Bonzini
2017-04-27  0:42                 ` Satoru Takeuchi
2017-04-28 13:34                   ` Paolo Bonzini [this message]
2017-04-29 21:08                     ` Satoru Takeuchi
2017-04-25 14:58         ` Masami Hiramatsu
2017-04-26 11:56           ` Satoru Takeuchi
2017-04-26 12:51             ` Borislav Petkov
2017-04-24 11:27 ` Satoru Takeuchi
2017-04-25  7:45   ` Jon Masters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43443399-673a-60a1-7928-b9b571f6e433@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=bp@alien8.de \
    --cc=dgilbert@redhat.com \
    --cc=jdenemar@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=satoru.takeuchi@gmail.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).