Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp457969ybj; Tue, 5 May 2020 01:43:22 -0700 (PDT) X-Google-Smtp-Source: APiQypLpp3tOT7ybvCI+6y2RVwhnSC+Uy9coAG+JuuP6sm+irJ6Jb/1SJDEXUnshcGApLDKBxmnl X-Received: by 2002:a17:906:328f:: with SMTP id 15mr1733046ejw.33.1588668202063; Tue, 05 May 2020 01:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588668202; cv=none; d=google.com; s=arc-20160816; b=sx5nIpx8ORQCYYIVsg5558XNz4JwHOFYxA6cAicdSkUrthkECRffwVM1ubE+HWyLTt WrY44NBjNKD3FeWnRlvwdt3wAriGSutttyOLGMWV15Vdima6Yvqs+oF6hRet8ewaUsyj ZBo2KUHbbU9Bmk6zNfbxAhPk0+k4C4yuZk0ls1egsZ6wDJsNmzjtCUsXL7F91vI7tsX8 6QxYMb0xQZflY05OCd5HGUKycVXLshw6UFAPNtVB/ya0nYB5uAyaQgByWmMvXbYHWDsN xrW6VO/5e6nuNOWp7xlgRrmScCReLgez1ylVP2w7qUn87jD6C0/6p8VtkJ8Tqis5mKBv uKrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=3kxvLsNX8Mz3WsfFwk+3pJSoeBCfNdwWoIpGt9ukmbg=; b=QYMYenPuv0R9kvnjwWA/UNiJIj+0EYkc1FBcYFoxZeomE6YiPobpXvCwTMsCsWX16+ RZGqyRp0pASeEGk5j8z3HCkovGdEv4PQ5sU8y4vMdR5jOYMH8parEQpncXbXAP6fyjHh qOkHR2YN2h/mZhkXe+hW7j3GPVNgrzlZnzErS6H4hULcAIRh0UWmROokZTCW96RH+j8t kix9T6p73utHGuyuYaH52moIapbgAjBmM7+X9emgu8+OWFWLYUjC0NxtyiuQuKmNBmdu 9nIs5wQMU/6VRUvk7wUEyzedzpQMFnmzSri0mFq3E1OLF44xkWr8FxmwRdvdJs8xDynO sbQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TojqmxZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si843497edr.566.2020.05.05.01.42.58; Tue, 05 May 2020 01:43:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TojqmxZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728451AbgEEIkD (ORCPT + 99 others); Tue, 5 May 2020 04:40:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:39340 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgEEIkC (ORCPT ); Tue, 5 May 2020 04:40:02 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 541FE2068E; Tue, 5 May 2020 08:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588668001; bh=+lAoCLRT0+FEtavrhvzvewEUxnz1O4jXBxyoaAJzyTU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TojqmxZ51MAKtNII0QJTZkHZV54vQs0dYCqdZzSyLZY69CtmzXEUlGOedXp492lYB Pb+hXuyVYXaBcWe++5qpKHqNYkLddxXfK29FC3Zy/SVXmLHj6vHNpjYSjFgPHssfM9 tJSpqFDEEFagx/s4/AinWjXsVVXozQpESISSAN6Q= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jVt7P-009L2s-N3; Tue, 05 May 2020 09:39:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 05 May 2020 09:39:59 +0100 From: Marc Zyngier To: Tianjia Zhang Cc: pbonzini@redhat.com, tsbogend@alpha.franken.de, paulus@ozlabs.org, mpe@ellerman.id.au, benh@kernel.crashing.org, 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, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, christoffer.dall@arm.com, peterx@redhat.com, thuth@redhat.com, chenhuacai@gmail.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/7] KVM: arm64: clean up redundant 'kvm_run' parameters In-Reply-To: <20200427043514.16144-3-tianjia.zhang@linux.alibaba.com> References: <20200427043514.16144-1-tianjia.zhang@linux.alibaba.com> <20200427043514.16144-3-tianjia.zhang@linux.alibaba.com> User-Agent: Roundcube Webmail/1.4.3 Message-ID: <35eb095a344b4192b912385bc02c54e6@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: tianjia.zhang@linux.alibaba.com, pbonzini@redhat.com, tsbogend@alpha.franken.de, paulus@ozlabs.org, mpe@ellerman.id.au, benh@kernel.crashing.org, 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, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, christoffer.dall@arm.com, peterx@redhat.com, thuth@redhat.com, chenhuacai@gmail.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tianjia, On 2020-04-27 05:35, 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 On the face of it, this looks OK, but I haven't tried to run the resulting kernel. I'm not opposed to taking this patch *if* there is an agreement across architectures to take the series (I value consistency over the janitorial exercise). Another thing is that this is going to conflict with the set of patches that move the KVM/arm code back where it belongs (arch/arm64/kvm), so I'd probably cherry-pick that one directly. Thanks, M. -- Jazz is not dead. It just smells funny...