|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Saving/Restoring IA32_TSC_AUX MSR
I see the code like (in arch/x86/time.c), and wondering how IA32_TSC_AUX MSR is
saved/restored at domain switch time.
if ( (d->arch.tsc_mode == TSC_MODE_PVRDTSCP) &&
boot_cpu_has(X86_FEATURE_RDTSCP) )
write_rdtscp_aux(d->arch.incarnation);
BTW,
include/asm-x86/msr.h
#define write_rdtscp_aux(val) wrmsr(0xc0000103, (val), 0)
We should write like wrmsr(MSR_TSC_AUX, (val), 0) by adding
+#define MSR_TSC_AUX 0xc0000103 /* Auxiliary TSC */
in include/asm-x86/msr-index.h
Thanks,
Jun
---
Intel Open Source Technology Center
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Saving/Restoring IA32_TSC_AUX MSR,
Nakajima, Jun <=
- [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Dan Magenheimer
- [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Nakajima, Jun
- [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Dan Magenheimer
- RE: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Xu, Dongxiao
- RE: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Dan Magenheimer
- RE: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Xu, Dongxiao
- RE: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Dan Magenheimer
- Re: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Keir Fraser
- RE: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Zhang, Xiantao
- Re: [Xen-devel] RE: Saving/Restoring IA32_TSC_AUX MSR, Keir Fraser
|
|
|
|
|