Add dbsr in kvm_vcpu_arch
Subsystems (2)
PATCH 1/11 Add dbsr in kvm_vcpu_arch
Kernel for E500 will clear dbsr when startup.
So add dbsr register in kvm_vcpu_arch.
--- arch/powerpc/include/asm/kvm_host.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/include/asm/kvm_host.h +1 -0
@@ -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;
Signature · 1 line
1.5.4
Quoted 13 lines · Liu Yu
Kernel for E500 will clear dbsr when startup.
So add dbsr register inkvm_vcpu_arch.Signed-off-by Liu Yu <[email protected]>--- arch/powerpc/include/asm/kvm_host.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/powerpc/include/asm/kvm_host.h +0
-0
arch/powerpc/include/asm/kvm_host.h struct kvm_vcpu_arch { · line 169
Quoted 7 lines
arch/powerpc/include/asm/kvm_host.h +1
-0@@ -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.
Signature · 2 lines
Hollis Blanchard IBM Linux Technology Center
Quoted 29 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Hollis Blanchard
Sent: Tuesday, December 16, 2008 7:33 AM
To: Liu Yu-B13201
Cc: [email protected]
Subject: Re: [PATCH 01/11] Add dbsr inkvm_vcpu_archReview
Quoted 9 lines · Liu Yu
Kernel for E500 will clear dbsr when startup.
So add dbsr register inkvm_vcpu_arch.Signed-off-by Liu Yu <[email protected]>--- arch/powerpc/include/asm/kvm_host.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/powerpc/include/asm/kvm_host.hQuoted 9 lines
index 850c41e..63962fa 100644
arch/powerpc/include/asm/kvm_host.h +1
-0@@ -163,6 +163,7 @@ struct kvm_vcpu_arch {u32 ccr1;u32 dbcr0;u32 dbcr1; +u32 dbsr;
Quoted 6 lines
arch/powerpc/include/asm/kvm_host.h struct kvm_vcpu_arch { · line 169
Quoted 2 lines
arch/powerpc/include/asm/kvm_host.h +0
-0#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.
Added.