From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:52965 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726337AbgE0GYT (ORCPT ); Wed, 27 May 2020 02:24:19 -0400 Subject: Re: [PATCH v4 6/7] KVM: MIPS: clean up redundant 'kvm_run' parameters References: <20200427043514.16144-1-tianjia.zhang@linux.alibaba.com> <20200427043514.16144-7-tianjia.zhang@linux.alibaba.com> From: Tianjia Zhang Message-ID: <37246a25-c4dc-7757-3f5c-d46870a4f186@linux.alibaba.com> Date: Wed, 27 May 2020 14:24:08 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: Huacai Chen Cc: Paolo Bonzini , Thomas Bogendoerfer , paulus@ozlabs.org, mpe@ellerman.id.au, Benjamin Herrenschmidt , borntraeger@de.ibm.com, frankja@linux.ibm.com, david@redhat.com, cohuck@redhat.com, heiko.carstens@de.ibm.com, gor@linux.ibm.com, sean.j.christopherson@intel.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, Thomas Gleixner , mingo@redhat.com, Borislav Petkov , x86@kernel.org, hpa@zytor.com, Marc Zyngier , james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, christoffer.dall@arm.com, Peter Xu , thuth@redhat.com, kvm@vger.kernel.org, linux-arm-kernel , kvmarm@lists.cs.columbia.edu, "open list:MIPS" , kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, LKML On 2020/4/27 13:40, Huacai Chen wrote: > Reviewed-by: Huacai Chen > > On Mon, Apr 27, 2020 at 12:35 PM Tianjia Zhang > wrote: >> >> In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' >> structure. For historical reasons, many kvm-related function parameters >> retain the 'kvm_run' and 'kvm_vcpu' parameters at the same time. This >> patch does a unified cleanup of these remaining redundant parameters. >> >> Signed-off-by: Tianjia Zhang >> --- >> arch/mips/include/asm/kvm_host.h | 28 +------- >> arch/mips/kvm/emulate.c | 59 ++++++---------- >> arch/mips/kvm/mips.c | 11 ++- >> arch/mips/kvm/trap_emul.c | 114 ++++++++++++++----------------- >> arch/mips/kvm/vz.c | 26 +++---- >> 5 files changed, 87 insertions(+), 151 deletions(-) >> Hi Huacai, These two patches(6/7 and 7/7) should be merged into the tree of the mips architecture separately. At present, there seems to be no good way to merge the whole architecture patchs. For this series of patches, some architectures have been merged, some need to update the patch. Thanks and best, Tianjia