Re: [PATCH v2 2/2] x86/cpu: Change query logic so cpuid is enabled before testing

2018-09-21 Thread Andy Lutomirski
On Fri, Sep 21, 2018 at 2:21 PM Matthew Whitehead wrote: > > Presently we check for cpuid to be enabled first. If it is not already > enabled, then we next call identify_cpu_without_cpuid() and clear > X86_FEATURE_CPUID. > > Unfortunately, identify_cpu_without_cpuid() is the function where cpuid

Re: [PATCH v2 2/2] x86/cpu: Change query logic so cpuid is enabled before testing

2018-09-21 Thread Andy Lutomirski
On Fri, Sep 21, 2018 at 2:21 PM Matthew Whitehead wrote: > > Presently we check for cpuid to be enabled first. If it is not already > enabled, then we next call identify_cpu_without_cpuid() and clear > X86_FEATURE_CPUID. > > Unfortunately, identify_cpu_without_cpuid() is the function where cpuid

[PATCH v2 2/2] x86/cpu: Change query logic so cpuid is enabled before testing

2018-09-21 Thread Matthew Whitehead
Presently we check for cpuid to be enabled first. If it is not already enabled, then we next call identify_cpu_without_cpuid() and clear X86_FEATURE_CPUID. Unfortunately, identify_cpu_without_cpuid() is the function where cpuid becomes _enabled_ on Cyrix 6x86/6x86L cpus. So we must reverse the

[PATCH v2 2/2] x86/cpu: Change query logic so cpuid is enabled before testing

2018-09-21 Thread Matthew Whitehead
Presently we check for cpuid to be enabled first. If it is not already enabled, then we next call identify_cpu_without_cpuid() and clear X86_FEATURE_CPUID. Unfortunately, identify_cpu_without_cpuid() is the function where cpuid becomes _enabled_ on Cyrix 6x86/6x86L cpus. So we must reverse the