KVM: PPC: Remove leftover comment from emulate_loadstore.c
diff mbox series

Message ID 20190530171014.1733-1-farosas@linux.ibm.com
State New
Headers show
Series
  • KVM: PPC: Remove leftover comment from emulate_loadstore.c
Related show

Commit Message

Fabiano Rosas May 30, 2019, 5:10 p.m. UTC
The mmio_vsx_tx_sx_enabled field was removed but its documentation was
left behind.

4eeb85568e56 KVM: PPC: Remove mmio_vsx_tx_sx_enabled in KVM MMIO
emulation

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
---
 arch/powerpc/kvm/emulate_loadstore.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Paul Mackerras June 17, 2019, 6:33 a.m. UTC | #1
On Thu, May 30, 2019 at 02:10:14PM -0300, Fabiano Rosas wrote:
> The mmio_vsx_tx_sx_enabled field was removed but its documentation was
> left behind.
> 
> 4eeb85568e56 KVM: PPC: Remove mmio_vsx_tx_sx_enabled in KVM MMIO
> emulation
> 
> Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
> ---
>  arch/powerpc/kvm/emulate_loadstore.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/powerpc/kvm/emulate_loadstore.c b/arch/powerpc/kvm/emulate_loadstore.c
> index f91b1309a0a8..806dbc439131 100644
> --- a/arch/powerpc/kvm/emulate_loadstore.c
> +++ b/arch/powerpc/kvm/emulate_loadstore.c
> @@ -100,12 +100,6 @@ int kvmppc_emulate_loadstore(struct kvm_vcpu *vcpu)
>  	rs = get_rs(inst);
>  	rt = get_rt(inst);
>  
> -	/*
> -	 * if mmio_vsx_tx_sx_enabled == 0, copy data between
> -	 * VSR[0..31] and memory
> -	 * if mmio_vsx_tx_sx_enabled == 1, copy data between
> -	 * VSR[32..63] and memory
> -	 */
>  	vcpu->arch.mmio_vsx_copy_nums = 0;
>  	vcpu->arch.mmio_vsx_offset = 0;
>  	vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE;

Thanks, applied to my kvm-ppc-next branch.

Paul.

Patch
diff mbox series

diff --git a/arch/powerpc/kvm/emulate_loadstore.c b/arch/powerpc/kvm/emulate_loadstore.c
index f91b1309a0a8..806dbc439131 100644
--- a/arch/powerpc/kvm/emulate_loadstore.c
+++ b/arch/powerpc/kvm/emulate_loadstore.c
@@ -100,12 +100,6 @@  int kvmppc_emulate_loadstore(struct kvm_vcpu *vcpu)
 	rs = get_rs(inst);
 	rt = get_rt(inst);
 
-	/*
-	 * if mmio_vsx_tx_sx_enabled == 0, copy data between
-	 * VSR[0..31] and memory
-	 * if mmio_vsx_tx_sx_enabled == 1, copy data between
-	 * VSR[32..63] and memory
-	 */
 	vcpu->arch.mmio_vsx_copy_nums = 0;
 	vcpu->arch.mmio_vsx_offset = 0;
 	vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE;