From: Scott Wood Date: Thu, 17 Nov 2011 12:39:59 +0000 (+0000) Subject: KVM: PPC: booke: Improve timer register emulation X-Git-Tag: v3.4-rc1~59^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd4d47e9a71c5a35eb67a44cd311efbe1846b7e;p=pandora-kernel.git KVM: PPC: booke: Improve timer register emulation 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 (and FITs, once implemented) are delivered as level-triggered interrupts -- dequeued when the TSR bit is cleared, not on delivery. Signed-off-by: Liu Yu [scottwood@freescale.com: significant changes] Signed-off-by: Scott Wood Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed