diff options
author | Vitaly Kuznetsov <[email protected]> | 2017-06-22 18:07:29 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-22 15:35:11 +0200 |
commit | 2cf0284223a40773bd0ec76a409a7cbf0607ca28 (patch) | |
tree | 961b55181976fe552e2011aa0534df5f8cd015b6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 48b6bbef9a1789f0365c1a385879a1fea4460016 (diff) |
x86/hyperv: Check frequency MSRs presence according to the specification
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 accordingly.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Ladi Prosek <[email protected]>
Cc: Jork Loeser <[email protected]>
Cc: [email protected]
Cc: "K. Y. Srinivasan" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions