From: Bharat Bhushan Date: Wed, 8 Aug 2012 20:38:19 +0000 (+0000) Subject: KVM: PPC: booke: Add watchdog emulation X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~27^2~56^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f61c94bb99ca4253ac5dd57750e1af209a4beb7a;p=pandora-kernel.git KVM: PPC: booke: Add watchdog emulation This patch adds the watchdog emulation in KVM. The watchdog emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_BOOKE_WATCHDOG) ioctl. The kernel timer are used for watchdog emulation and emulates h/w watchdog state machine. On watchdog timer expiry, it exit to QEMU if TCR.WRC is non ZERO. QEMU can reset/shutdown etc depending upon how it is configured. Signed-off-by: Liu Yu Signed-off-by: Scott Wood [bharat.bhushan@freescale.com: reworked patch] Signed-off-by: Bharat Bhushan [agraf: adjust to new request framework] Signed-off-by: Alexander Graf --- Reading git-diff-tree failed