On Fri, Jul 20, 2012 at 04:29:08PM -0500, Scott Wood wrote:
On 07/20/2012 12:00 AM, Bharat Bhushan wrote:
This patch adds the watchdog emulation in KVM. The watchdog
emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) ioctl.
The kernel timer are used for watchdog emulation and emulates
On 07/25/2012 03:37 PM, Marcelo Tosatti wrote:
On Fri, Jul 20, 2012 at 04:29:08PM -0500, Scott Wood wrote:
On 07/20/2012 12:00 AM, Bharat Bhushan wrote:
This patch adds the watchdog emulation in KVM. The watchdog
emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) ioctl.
The kernel timer
On Wed, Jul 25, 2012 at 06:55:16PM -0500, Scott Wood wrote:
On 07/25/2012 03:37 PM, Marcelo Tosatti wrote:
On Fri, Jul 20, 2012 at 04:29:08PM -0500, Scott Wood wrote:
On 07/20/2012 12:00 AM, Bharat Bhushan wrote:
This patch adds the watchdog emulation in KVM. The watchdog
emulation is
: Re: [PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation
On 07/23/2012 10:43 AM, Bhushan Bharat-R65777 wrote:
-Original Message-
From: Wood Scott-B07421
Sent: Monday, July 23, 2012 9:02 PM
To: Bhushan Bharat-R65777
Cc: Wood Scott-B07421; kvm-ppc@vger.kernel.org;
k
On 07/22/2012 11:10 PM, Bhushan Bharat-R65777 wrote:
@@ -386,13 +387,23 @@ int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu)
#ifdef CONFIG_KVM_EXIT_TIMING
mutex_init(vcpu-arch.exit_timing_lock);
#endif
-
+#ifdef CONFIG_BOOKE
+ spin_lock_init(vcpu-arch.wdt_lock);
+ /* setup watchdog
] KVM: PPC: booke: Add watchdog emulation
On 07/20/2012 12:00 AM, Bharat Bhushan wrote:
+static void arm_next_watchdog(struct kvm_vcpu *vcpu) {
+ unsigned long nr_jiffies;
+
+ spin_lock(vcpu-arch.wdt_lock);
+ nr_jiffies = watchdog_next_timeout(vcpu);
+ /*
+* If the number
-Original Message-
From: Wood Scott-B07421
Sent: Monday, July 23, 2012 9:02 PM
To: Bhushan Bharat-R65777
Cc: Wood Scott-B07421; kvm-ppc@vger.kernel.org; k...@vger.kernel.org;
ag...@suse.de
Subject: Re: [PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation
On 07/22/2012 11:10
On 07/23/2012 10:43 AM, Bhushan Bharat-R65777 wrote:
-Original Message-
From: Wood Scott-B07421
Sent: Monday, July 23, 2012 9:02 PM
To: Bhushan Bharat-R65777
Cc: Wood Scott-B07421; kvm-ppc@vger.kernel.org; k...@vger.kernel.org;
ag...@suse.de
Subject: Re: [PATCH 2/2 v5] KVM: PPC
-Original Message-
From: Wood Scott-B07421
Sent: Monday, July 23, 2012 9:31 PM
To: Bhushan Bharat-R65777
Cc: Wood Scott-B07421; kvm-ppc@vger.kernel.org; k...@vger.kernel.org;
ag...@suse.de
Subject: Re: [PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation
On 07/23/2012 10:43
-Original Message-
From: Wood Scott-B07421
Sent: Saturday, July 21, 2012 2:59 AM
To: Bhushan Bharat-R65777
Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; ag...@suse.de; Bhushan
Bharat-
R65777
Subject: Re: [PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation
On 07/20
-Original Message-
From: Wood Scott-B07421
Sent: Saturday, July 21, 2012 2:59 AM
To: Bhushan Bharat-R65777
Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; ag...@suse.de; Bhushan
Bharat-
R65777
Subject: Re: [PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation
On 07/20
On 07/20/2012 12:00 AM, Bharat Bhushan wrote:
This patch adds the watchdog emulation in KVM. The watchdog
emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) ioctl.
The kernel timer are used for watchdog emulation and emulates
h/w watchdog state machine. On watchdog timer expiry, it exit
12 matches
Mail list logo