qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND v4 1/2] x86/cpu: Add support for UMONITOR/UMWAIT/TPAUS


From: Tao Xu
Subject: Re: [PATCH RESEND v4 1/2] x86/cpu: Add support for UMONITOR/UMWAIT/TPAUSE
Date: Sun, 29 Sep 2019 09:30:08 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 9/28/2019 4:22 AM, Paolo Bonzini wrote:
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

Thanks, I will improve it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]