Re: [PATCH v2] KVM: PPC: booke: Improve timer register emulation

2011-11-28 Thread Alexander Graf
On 28.11.2011, at 21:59, Stuart Yoder wrote: > On Fri, Nov 18, 2011 at 7:54 AM, Alexander Graf wrote: >> >> On 17.11.2011, at 23:39, Scott Wood wrote: >> >>> Decrementers are now properly driven by TCR/TSR, and the guest >>> has full read/write access to these registers. >>> >>> The decrement

Re: [PATCH v2] KVM: PPC: booke: Improve timer register emulation

2011-11-28 Thread Stuart Yoder
On Fri, Nov 18, 2011 at 7:54 AM, Alexander Graf wrote: > > On 17.11.2011, at 23:39, Scott Wood wrote: > >> Decrementers are now properly driven by TCR/TSR, and the guest >> has full read/write access to these registers. >> >> The decrementer keeps ticking (and setting the TSR bit) regardless of >>

Re: [PATCH v2] KVM: PPC: booke: Improve timer register emulation

2011-11-18 Thread Alexander Graf
On 17.11.2011, at 23:39, Scott Wood wrote: > Decrementers are now properly driven by TCR/TSR, and the guest > has full read/write access to these registers. > > The decrementer keeps ticking (and setting the TSR bit) regardless of > whether the interrupts are enabled with TCR. > > The decrement

[PATCH v2] KVM: PPC: booke: Improve timer register emulation

2011-11-17 Thread Scott Wood
Decrementers are now properly driven by TCR/TSR, and the guest has full read/write access to these registers. The decrementer keeps ticking (and setting the TSR bit) regardless of whether the interrupts are enabled with TCR. The decrementer stops at zero, rather than going negative. Decrementers