Re: [PATCH 1/2] hyper-v: check frequency MSRs presence according to the specification

2017-06-20 Thread Thomas Gleixner
On Mon, 19 Jun 2017, Vitaly Kuznetsov wrote: > +#define HV_X64_ACCESS_FREQUENCY_MSRS (1 << 11) > > /* > * Basic SynIC MSRs (HV_X64_MSR_SCONTROL through HV_X64_MSR_EOM > @@ -73,6 +67,9 @@ >*/ > #define HV_X64_MSR_STAT_PAGES_AVAILABLE (1 << 8) > > +/* Frequency MSRs

[PATCH 1/2] hyper-v: check frequency MSRs presence according to the specification

2017-06-18 Thread Vitaly Kuznetsov
Hyper-V TLFS specifies two bits which should be checked before accessing frequency MSRs: - AccessFrequencyMsrs (BIT(11) in EAX) which indicates if we have access to frequency MSRs. - FrequencyMsrsAvailable (BIT(8) in EDX) which indicates is these MSRs are present. Rename and specify these bits