From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D1E7C433DF for ; Wed, 27 May 2020 06:24:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3ACF52078C for ; Wed, 27 May 2020 06:24:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728244AbgE0GYU (ORCPT ); Wed, 27 May 2020 02:24:20 -0400 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 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R941e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07425;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=37;SR=0;TI=SMTPD_---0TzmW8ts_1590560648; Received: from 30.27.118.64(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0TzmW8ts_1590560648) by smtp.aliyun-inc.com(127.0.0.1); Wed, 27 May 2020 14:24:10 +0800 Subject: Re: [PATCH v4 6/7] KVM: MIPS: clean up redundant 'kvm_run' parameters 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 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 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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