WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: system freeze when processor.ko is loaded

>>> On 12.04.11 at 00:35, "Wang, Winston L" <winston.l.wang@xxxxxxxxx> wrote:
> I think restore only the lower 32bit TSC is good enough, why do we need to 
> touch upper 32 bit TSC?

You just can't: A wrmsr to this MSR always updates the full 64-bits,
just that on some CPUs this update implies the upper 32 bits getting
zeroed.

And even if you could, it wouldn't be easy to deal with the situation
where the update would carry into the upper 32 bits.

Jan

> 1. I would not think if any processor's deep c-state wakeup from idle can 
> more than 100 ms.
> 2. For 3GHZ processor lower 32bit TSC wrapper around time is ~2.83 Sec.
> 3. The platform timer (22bit ACPI timer) wrapper around is 2.34 sec (this is 
> used for counting the delta before enter deep_cstate and before wakeup)
> Just need to change cstate_restore_tsc() and only patch back the delta time 
> to the lower 32 bit TSC to make that simple?
> 
> Winston,




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel