Re: [PATCH 01/11] Add dbsr in kvm_vcpu_arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <yu.liu@xxxxxxxxxxxxx>
> ---
>  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

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux