From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Mon, 06 May 2013 14:58:41 +0000 Subject: Re: [v1][KVM][PATCH 1/1] kvm:ppc: enable doorbell exception with E500MC Message-Id: <5187C521.2070904@suse.de> List-Id: References: <1367808836-28635-1-git-send-email-tiejun.chen@windriver.com> In-Reply-To: <1367808836-28635-1-git-send-email-tiejun.chen@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tiejun Chen Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org On 05/06/2013 04:53 AM, Tiejun Chen wrote: > Actually E500MC also support doorbell exception, and CONFIG_PPC_E500MC > can cover BOOK3E/BOOK3E_64 as well. > > Signed-off-by: Tiejun Chen > --- > arch/powerpc/kvm/booke.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c > index 1020119..dc1f590 100644 > --- a/arch/powerpc/kvm/booke.c > +++ b/arch/powerpc/kvm/booke.c > @@ -795,7 +795,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu, > kvmppc_fill_pt_regs(®s); > timer_interrupt(®s); > break; > -#if defined(CONFIG_PPC_FSL_BOOK3E) || defined(CONFIG_PPC_BOOK3E_64) > +#if defined(CONFIG_PPC_E500MC) I suppose you mean CONFIG_KVM_E500MC here? Why didn't this work for you before? The ifdef above should cover the same range of CPUs. Alex