From: Hollis Blanchard Date: Mon, 15 Dec 2008 23:33:02 +0000 Subject: Re: [PATCH 01/11] Add dbsr in kvm_vcpu_arch Message-Id: <1229383982.4313.34.camel@localhost.localdomain> List-Id: References: <1228986705-9213-2-git-send-email-yu.liu@freescale.com> In-Reply-To: <1228986705-9213-2-git-send-email-yu.liu@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On Thu, 2008-12-11 at 17:11 +0800, Liu Yu wrote: > Kernel for E500 will clear dbsr when startup. > So add dbsr register in kvm_vcpu_arch. > > Signed-off-by: Liu Yu > --- > arch/powerpc/include/asm/kvm_host.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h > index 850c41e..63962fa 100644 > --- a/arch/powerpc/include/asm/kvm_host.h > +++ b/arch/powerpc/include/asm/kvm_host.h > @@ -163,6 +163,7 @@ struct kvm_vcpu_arch { > u32 ccr1; > u32 dbcr0; > u32 dbcr1; > + u32 dbsr; > > #ifdef CONFIG_KVM_EXIT_TIMING > struct kvmppc_exit_timing timing_exit; You should definitely add the emulation code for 440 to use dbsr in the same patch. -- Hollis Blanchard IBM Linux Technology Center