On 18/09/19 09:23, Tao Xu wrote: > + } else if (function == 7 && index == 0 && reg == R_ECX) { > + if (enable_cpu_pm) { > + ret |= CPUID_7_0_ECX_WAITPKG; > + } This should be the opposite; remove the bit if enable_cpu_pm is not set. Paolo
On 18/09/19 09:23, Tao Xu wrote: > + } else if (function == 7 && index == 0 && reg == R_ECX) { > + if (enable_cpu_pm) { > + ret |= CPUID_7_0_ECX_WAITPKG; > + } This should be the opposite; remove the bit if enable_cpu_pm is not set. Paolo