[PATCH] KVM: booke: Do Not start decrementer when SPRN_DEC set 0

2011-10-17 Thread Bharat Bhushan
As per specification the decrementer interrupt not happen when DEC is written with 0. So we should not start hrtimer with timeout = 0 as well. Signed-off-by: Bharat Bhushan --- arch/powerpc/kvm/emulate.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerp

Re: magic page API

2011-10-17 Thread Alexander Graf
Am 17.10.2011 um 21:42 schrieb Yoder Stuart-B08248 : > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Monday, October 17, 2011 2:33 PM >> To: Yoder Stuart-B08248 >> Cc: kvm-ppc@vger.kernel.org >> Subject: Re: magic page API >> >> >> Am 17.10.2011 um 18

RE: magic page API

2011-10-17 Thread Yoder Stuart-B08248
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, October 17, 2011 2:33 PM > To: Yoder Stuart-B08248 > Cc: kvm-ppc@vger.kernel.org > Subject: Re: magic page API > > > Am 17.10.2011 um 18:54 schrieb Yoder Stuart-B08248 : > > > The magic page hcall API an

Re: magic page API

2011-10-17 Thread Alexander Graf
Am 17.10.2011 um 18:54 schrieb Yoder Stuart-B08248 : > The magic page hcall API and related data structure fields has the following: > >unsigned long magic_page_pa; /* phys addr to map the magic page to */ >unsigned long magic_page_ea; /* effect. addr to map the magic page to >

magic page API

2011-10-17 Thread Yoder Stuart-B08248
The magic page hcall API and related data structure fields has the following: unsigned long magic_page_pa; /* phys addr to map the magic page to */ unsigned long magic_page_ea; /* effect. addr to map the magic page to */ Shouldn't the PA be 64-bits? Or some phys addr type. Not s