答复: 答复: [PATCH][v5] KVM: X86: support APERF/MPERF registers

2020-06-03 Thread Li,Rongqing
> IMO, If we really want to ensure the correctness of userspace provided CPUID > settings, we need to return ERROR to userspace instead of fixing it siliently. > Ok , I will make it return a error Thanks -Li > - Xiaoyao

Re: 答复: [PATCH][v5] KVM: X86: support APERF/MPERF registers

2020-05-30 Thread Xiaoyao Li
...@google.com; wanpen...@tencent.com; vkuzn...@redhat.com; sean.j.christopher...@intel.com; pbonz...@redhat.com; wei.hua...@amd.com 主题: Re: [PATCH][v5] KVM: X86: support APERF/MPERF registers On 5/30/2020 12:35 PM, Li RongQing wrote: Guest kernel reports a fixed cpu frequency in /proc/cpuinfo, this

答复: [PATCH][v5] KVM: X86: support APERF/MPERF registers

2020-05-30 Thread Li,Rongqing
ogle.com; > wanpen...@tencent.com; vkuzn...@redhat.com; > sean.j.christopher...@intel.com; pbonz...@redhat.com; > wei.hua...@amd.com > 主题: Re: [PATCH][v5] KVM: X86: support APERF/MPERF registers > > On 5/30/2020 12:35 PM, Li RongQing wrote: > > Guest kernel reports a fixed cpu frequency

Re: [PATCH][v5] KVM: X86: support APERF/MPERF registers

2020-05-30 Thread Xiaoyao Li
On 5/30/2020 12:35 PM, Li RongQing wrote: Guest kernel reports a fixed cpu frequency in /proc/cpuinfo, this is confused to user when turbo is enable, and aperf/mperf can be used to show current cpu frequency after 7d5905dc14a "(x86 / CPU: Always show current CPU frequency in /proc/cpuinfo)" so gu

[PATCH][v5] KVM: X86: support APERF/MPERF registers

2020-05-29 Thread Li RongQing
Guest kernel reports a fixed cpu frequency in /proc/cpuinfo, this is confused to user when turbo is enable, and aperf/mperf can be used to show current cpu frequency after 7d5905dc14a "(x86 / CPU: Always show current CPU frequency in /proc/cpuinfo)" so guest should support aperf/mperf capability T