]> xenbits.xensource.com Git - xen.git/commit
svm: Do not intercept RDTSC(P) when TSC scaling is supported by hardware
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Wed, 25 Apr 2012 12:53:14 +0000 (13:53 +0100)
committerBoris Ostrovsky <boris.ostrovsky@amd.com>
Wed, 25 Apr 2012 12:53:14 +0000 (13:53 +0100)
commit4aab59a3c58a3d009f26d3198730256f92193698
tree611f380593d8044970277d7b4bee64006bfac09a
parent6e1a7d28c9a010dd0882d265ad8fcd543b50df33
svm: Do not intercept RDTSC(P) when TSC scaling is supported by hardware

When running in TSC_MODE_ALWAYS_EMULATE mode on processors that
support TSC scaling we don't need to intercept RDTSC/RDTSCP
instructions.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Acked-by: Wei Huang <wei.huang2@amd.com>
Tested-by: Wei Huang <wei.huang2@amd.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/svm/svm.c