Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2569380yba; Mon, 6 May 2019 08:08:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMtd4UGfi3kykkxD0C1RhxdOheF93cG8Acb60GBLZzxhvtnvWwBzFv6UB5R6vIESjNcZAI X-Received: by 2002:a65:5106:: with SMTP id f6mr32945183pgq.253.1557155304496; Mon, 06 May 2019 08:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557155304; cv=none; d=google.com; s=arc-20160816; b=FQsM7WMxyofJ1HB/rEtMqo5mOKFN56t/GWuDKY0Wm5Sq0MRPBGwzSTDDkOIpS0YNjr OO2TKK2cRlbY/Hg2FF7HlhnRrx1r770k2ie5sIXOvUJeMaYi4vTq7oJpGxzlHrh5SnDm bw57CsGUCTdUeXXlOZOHXWVvXg+eItgllU/BSVAIh+KhnIUEMqr/uqsEXApjM/Iiwn4c 1mxh+RcaJY7N+zZa8X6gRCIxiMCMWmQ2NMhz8dzByuFwf8mrJhW0r1GBrGzVcuo4zUdI krdJdq/2yiPdd+4YC08yzKmHegZYSi81njbBcoaPiRES9EMH0in95Pns0Tqs5bbPaqhG z6fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZMm22aegBhba3zW1BBjj8iMfG74C9T1AFRRs/cVraB8=; b=t626Ig68D6FzSyIrmGIauEkq3/seQi9MWKtWwxSnvFSwaL0uDV+DYilj0a/1vjdp4k N+0an9gn++LtZbyuz95B/QLN8Eo6PWCTXJ2FTVabUm8DoNzER801GWtD8fLSMiSFDVoU Y4jPvsUgci7hJeYu7jjI6tR07K2VPQg6Z3lvImcqCi2uoypolZcBTc476iHu0pHEspAx 9EAPqCP5pD+6cHQpHZiWUFwLvOHgcH7YGvOr9WMokTTBuXqF4reS7JFy6FA7NjMCrbGf MiKvXZ1HPKkHE3JPENRrguOKVnuDj+8rl19BWfcCxasG8OU7wKxPJam3EEBcbpO9caaU DUaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2JKd3VM5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si14140987plt.119.2019.05.06.08.08.05; Mon, 06 May 2019 08:08:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2JKd3VM5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727937AbfEFPFQ (ORCPT + 99 others); Mon, 6 May 2019 11:05:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:59836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726837AbfEFOih (ORCPT ); Mon, 6 May 2019 10:38:37 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 632B621479; Mon, 6 May 2019 14:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153516; bh=3z1Fx/ysaX/9QBrtU064uvhtjuzLx7SX+k95KYaEq7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2JKd3VM5zf0jyJ+7YW+J8bDqMblUQwwJGBcGb4Mskv76rsqh8yU5QiOFR7UpLdJgw 1yBIxIopHtVoVTQDysbApclKuM4yEDP1/Vv4E0JOIa192JVxet9vDDqfGRmL0vtDTB ZaVpcBdJMU2415dEEhKjoXEzsVCU424TRdHQKam0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jim Mattson , Sean Christopherson , Paolo Bonzini Subject: [PATCH 5.0 101/122] KVM: nVMX: Remove a rogue "rax" clobber from nested_vmx_check_vmentry_hw() Date: Mon, 6 May 2019 16:32:39 +0200 Message-Id: <20190506143103.836917849@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Christopherson commit 9ce0a07a6f49822238fd4357c02e0dba060a43cc upstream. RAX is not touched by nested_vmx_check_vmentry_hw(), directly or indirectly (e.g. vmx_vmenter()). Remove it from the clobber list. Fixes: 52017608da33 ("KVM: nVMX: add option to perform early consistency checks via H/W") Reviewed-by: Jim Mattson Signed-off-by: Sean Christopherson Signed-off-by: Paolo Bonzini Signed-off-by: Greg Kroah-Hartman --- arch/x86/kvm/vmx/nested.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kvm/vmx/nested.c +++ b/arch/x86/kvm/vmx/nested.c @@ -2793,7 +2793,7 @@ static int nested_vmx_check_vmentry_hw(s [fail]"i"(offsetof(struct vcpu_vmx, fail)), [host_rsp]"i"(offsetof(struct vcpu_vmx, host_rsp)), [wordsize]"i"(sizeof(ulong)) - : "rax", "cc", "memory" + : "cc", "memory" ); preempt_enable();