Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4174013rwb; Tue, 8 Nov 2022 13:12:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM4hZRQ/IA2+S4aXL0Plpvj1PmvtM2eNHIH+KCQTciHoJFun/x/HvFZB2p7P+HoRoW5fxybN X-Received: by 2002:aa7:d744:0:b0:45c:e353:e891 with SMTP id a4-20020aa7d744000000b0045ce353e891mr58716048eds.36.1667941966316; Tue, 08 Nov 2022 13:12:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667941966; cv=none; d=google.com; s=arc-20160816; b=cO3RWOiu6+rEms5WtgDwqts7SAFxYaOg7BlIYPTVoNtPAq4VnA4NsBL+b9i+YNlHyM D6FUsR+fdUsv3kHZM/iQlx7jD/6KoBFl2fBm6AWVmIkKfF/SPz/B328GWabGvhBLdOCL 7Yap2RrV8oPgAlzPp9U160vnDzvEIeJq8wTstcHGDfYOZvlUPqLt5hGGkB1AQz6wc18f QwzMOdx8C6xjtoICtt3BD0tiXVw8v7z7YmeHtOERQTSOS7h6q0T1rA7AFpKNdGhd4mUe K8lPy3SMz/2tfRwkxSNKQGQ/6lEy3l8mIVY2CPvPuZvLIC2XEDvEIN2KXtvYLDGQleQN FDdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Z2mthpjvK4gnLPCZq1fjuVoG/GO6J8GGaVa0/UK/7WI=; b=C6RIek83+s8uKPh881DOPwA4KwSppHlTBiOHOJ9blr/p4QIvICV3fscQeAD/gMrLVY +AYd7IX87w29ieGvNKIgc1iU6HvNcySTc3Ay1JXNBJcFg+OUWp33uRh/alq4vdzPoQIH O6scp7cCwZOFYNRAtH4ypKZh4nhcfTBxPGCyeSC6JiwEHo7GqmquHnzQkpuCmGxvI/3q B6fiJr3AsFw1p/qPDiXx12BM9zLBVGvmD1UBy5RDYaICDcKsbrfVTrZoU4EDUG/ODZxN j52qcLCtxEkwSQ1DS+KSa4tBySp09YKVoxVfdqlG/hrTMqnvon6zwdLuDeY8eTh/w2VL YhPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rSPdVdM+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp14-20020a1709071b0e00b0078de4629958si13592496ejc.248.2022.11.08.13.12.24; Tue, 08 Nov 2022 13:12:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rSPdVdM+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229582AbiKHUze (ORCPT + 91 others); Tue, 8 Nov 2022 15:55:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbiKHUzc (ORCPT ); Tue, 8 Nov 2022 15:55:32 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11DB258014 for ; Tue, 8 Nov 2022 12:55:31 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id c15-20020a17090a1d0f00b0021365864446so14510888pjd.4 for ; Tue, 08 Nov 2022 12:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Z2mthpjvK4gnLPCZq1fjuVoG/GO6J8GGaVa0/UK/7WI=; b=rSPdVdM+wWBDfrvsyALHP/8vY+i7Mbc0Ftkoz2fvFpK5vVtsCQ2AWcpVmnP7dCSvZg a57nA4LRRPQdK87SL/8iCWF1ebr3uKEXNubg2GMdiP4JHNDiTsVwjC+dwGSbo7JZMsz6 HCOiR9aWz3Enqjs/vxy7Px/fKibxF8t35ljpHWa7RvSv9yOSzuCM2HckFJXfYTGyD60C 6DhQHhyEdZ3DqtXpQjJH8OZc0BinVQ2T6YI99xdMa1ixC/VLmFaPOG947GOudwvvNbJY 6cSS2xxu7Z3gzwPfrnlE24q6i0xhw/CAdD6gCZZj+t5OYoV4NhZ7rYU5u4a+/eTw7tTF hmlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Z2mthpjvK4gnLPCZq1fjuVoG/GO6J8GGaVa0/UK/7WI=; b=gVb+jOiZO/Wsn11IMm7NxXITcEFPg3PkBvYq7geTueVxmuSIuh4zSCIq0wExsDyyeJ HVjvjK9rsUUSf7N2yRMDr5pSe2rdYTcYRNqXRYsv+lUubpBwSzc6sfwvzj2wCtvClcX2 ziEL6LFUtXaxmQ7yaPFt0RgTtWB3dqZaReL2PVCn253hSDBnQlxmLHyXZUbO2ocMZ71o EBfIueHetEDDVGlDhOw2hj1P/hLSbsLsruXNHS3ClJbwRfMrKPJT8gbNJV6UvAUuQLD5 wV6EoZWhMq1wkIm5KKw2YTqk5RV4K098dzHAo09CL8ILFm5iwtFDId4bi2DpEVP3gVfZ mZVQ== X-Gm-Message-State: ACrzQf3X8xCsdnOOctFGzE6mjvZJ5wglJ6O5CHrLdJg/HE53cGMv5ZCP aw03zMnhngI+J8PM8087DVqO2g== X-Received: by 2002:a17:902:aa46:b0:186:e220:11d4 with SMTP id c6-20020a170902aa4600b00186e22011d4mr58090281plr.163.1667940930470; Tue, 08 Nov 2022 12:55:30 -0800 (PST) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id e19-20020a170902ed9300b00186acb14c4asm7384944plj.67.2022.11.08.12.55.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 12:55:30 -0800 (PST) Date: Tue, 8 Nov 2022 20:55:26 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, nathan@kernel.org, thomas.lendacky@amd.com, andrew.cooper3@citrix.com, peterz@infradead.org, jmattson@google.com, stable@vger.kernel.org Subject: Re: [PATCH v2 3/8] KVM: SVM: adjust register allocation for __svm_vcpu_run Message-ID: References: <20221108151532.1377783-1-pbonzini@redhat.com> <20221108151532.1377783-4-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108151532.1377783-4-pbonzini@redhat.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 08, 2022, Paolo Bonzini wrote: > In preparation for moving vmload/vmsave to __svm_vcpu_run, > keep the pointer to the struct vcpu_svm in %rdi. This way > it is possible to load svm->vmcb01.pa in %rax without > clobbering the pointer to svm itself. > > No functional change intended. > > Cc: stable@vger.kernel.org > Fixes: f14eec0a3203 ("KVM: SVM: move more vmentry code to assembly") Same nit, Fixes: shouldn't be provided.