Re: [PATCH v2 2/3] KVM: X86: Provide a capability to disable cstate msr read intercepts

From: Paolo Bonzini
Date: Tue Jun 11 2019 - 07:14:28 EST


On 11/06/19 09:38, Wanpeng Li wrote:
> MSR_CORE_C1_RES is unreadable except for ATOM platform, so I think we
> can avoid the complex logic to handle C1 now. :)

I disagree. Linux uses it on all platforms is available, and virtual
machines that don't pass mwait through _only_ have C1, so it would be
less useful to have deep C-state residency MSRs and not C1 residency.

But turbostat can get the information from sysfs, so what are these MSRs
used for?

Paolo