Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp196055lqn; Thu, 11 Apr 2024 20:15:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmptGD+0EI5CbKR0AggqngOsbGyQdAuzxknOCAQ6F/ngwL2EQxkMTshWgj7DE2dEMd2Cwjnq9b0H5mwr0r2eFfZqFfwkughkoFXY/7uA== X-Google-Smtp-Source: AGHT+IEBVkCPzRpsdPD6ss9XUT3MpnZHPjqNDBvZCujrBktBWfDlqufp8AGawjCuImMoz4Lv5CqI X-Received: by 2002:a17:906:ef0c:b0:a51:e05f:2455 with SMTP id f12-20020a170906ef0c00b00a51e05f2455mr1036730ejs.48.1712891709739; Thu, 11 Apr 2024 20:15:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712891709; cv=pass; d=google.com; s=arc-20160816; b=0tPozwHBdMj3zhu12lNwLII1szeCygL4iEe7RS9pC+bZrQhvBVRFtsFGkd3pL4Zqye 8/WSbvhtzwH1oRk4N+MGeQJt//c74iheO4eUHolKiIE02PweGBUiPjPcwfZkh5WeXSkN VGMZvHT4kiY2AJ4YQ2DY8pPyfVqOOU0eSP0cA0/hzqwpAdCUAQF+/KSTazbWazTYsU1J xZyGgYNAXbddVv6463Us+N2W1FryqIsJe67mpFcGNK3MRPciel8AmJY9ch+ML9KJK8Lq h1u+0o320jbfzq6cByXrL9DNgK38HbBf0SJ8EKPfYOJnNzjjPz3lFEOcxvFUTeG+LLx9 +jSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=EY3WqoWVQVYhu6CX8mA3X80QuETTVo1FlNuaCnjkIEI=; fh=sxL380Ox+kMTqxAMe4Bqf3gkxubAaGwm9PLaha+Nfzo=; b=o5OAckSRs7e11VRvSY+4cevp32PymbaJFNptyGQLLbr62GGspPIrSvbu+ESyD8y8xs ea7huqsot4de8A9e2TxTMqLG7OAAsLR9DXzKWTSgGYgdxLMf220dYL7ZWFpDlFkdB+Sn BG22r7zAtQ7MS56luVq91v1RVtXY1O2x6ActUEGw2mclUDHLBAB7vU+7D2/0tnUP4/E/ Im1VjS42f3Do8Z8bNd7XP71I/uKNvVdUsRMe28K/E/gbii0ALOEFGJ1Gwr9NkCIbEsm3 h8uaotLIcnnwpwV4RjLb1k/kj6ibEBtp4WhBqGtwphUck6y7puC1COOFsLC/Kn7AsG/1 s/iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WeOSneIB; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-141851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p6-20020a170906604600b00a51d113b490si1311227ejj.26.2024.04.11.20.15.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 20:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WeOSneIB; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-141851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 776E91F23A2A for ; Fri, 12 Apr 2024 03:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D6F51BC44; Fri, 12 Apr 2024 03:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="WeOSneIB" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABE83199D9; Fri, 12 Apr 2024 03:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712891698; cv=none; b=OoyWpVzCc+Btcr5+bocYz5kqU5SWmCHoyipDuTRsuxaloXEde4g9TCY7EzVt1YUzphF7VtdRGiCoAKUhnCK06eNE1HnTTVSrRR5DC9oaE9UOByFP8YvZxwl9Ka2behMH2s9BAHXVIKGuQILpA8T2n7SteALK1cL/GIVm/L+VuaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712891698; c=relaxed/simple; bh=GMSCKdtp7p5x5tKn0fvsWFlKFRuMmTOJXY3eOciD3LI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=pUg3hWwhnFxiSbGqz3x3XyMjaqfXzua2fybZ5NFuoHqFZQZ9y9p4cU16FrGqDWXKzamPjwj4vXzuqaSBzQ8dUUL1d57ke7x2zgGDHAeWJPG1rDYFhti7SNzVZxLM1fLzWZrEfp5W6xiCn9O/8VvjeQeLNWErM9mDYxYQ5HViyqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=WeOSneIB; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1712891691; bh=EY3WqoWVQVYhu6CX8mA3X80QuETTVo1FlNuaCnjkIEI=; h=Date:From:To:Cc:Subject:From; b=WeOSneIBpWl5HEVoW37Hhd4Oh891LmOTg4am5vxz4vGFE/H2ppo7Ai0uCK7nf3veB MnGA0ZrABbEscv9fWrM+Chi7LzyJQNXDQ7vKCvcv7Xh+oSdD2Qu+rnWpfpUdbjeBPO aem/qZbAM09Mj638suQEdlOfTkLW7zK8dDhQaKo7vEy01XFeCqRjuOwBr9gEDqpJJa e0tanMd3TonJ3JZMVVM8zcYuw5kSOscyjPAEheRdMS+5cBXB2dWK1mC3iBWNTF5A1h vZA3jylkhYRWc+xu5jKliDSUpwiAGcrrzH3p5v++BVeE3nB0NErqc4O7wN/CuBWYaB pBzBp9caDZ9Qg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VG1rp6TzWz4wqM; Fri, 12 Apr 2024 13:14:50 +1000 (AEST) Date: Fri, 12 Apr 2024 13:14:48 +1000 From: Stephen Rothwell To: Sean Christopherson , Paolo Bonzini Cc: KVM , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the kvm-x86 tree with the kvm tree Message-ID: <20240412131448.4403df6a@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3N_WPBCBiQSNIeSEhY.ZcO9"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/3N_WPBCBiQSNIeSEhY.ZcO9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the kvm-x86 tree got a conflict in: arch/x86/kvm/svm/svm.c between commit: 605bbdc12bc8 ("KVM: SEV: store VMSA features in kvm_sev_info") from the kvm tree and commit: c92be2fd8edf ("KVM: SVM: Save/restore non-volatile GPRs in SEV-ES VMRUN v= ia host save area") from the kvm-x86 tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc arch/x86/kvm/svm/svm.c index 0f3b59da0d4a,9aaf83c8d57d..000000000000 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@@ -1511,12 -1524,8 +1516,8 @@@ static void svm_prepare_switch_to_guest * or subsequent vmload of host save area. */ vmsave(sd->save_area_pa); - if (sev_es_guest(vcpu->kvm)) { - struct sev_es_save_area *hostsa; - hostsa =3D (struct sev_es_save_area *)(page_address(sd->save_area) + 0x= 400); -=20 - sev_es_prepare_switch_to_guest(svm, hostsa); - } + if (sev_es_guest(vcpu->kvm)) - sev_es_prepare_switch_to_guest(sev_es_host_save_area(sd)); ++ sev_es_prepare_switch_to_guest(svm, sev_es_host_save_area(sd)); =20 if (tsc_scaling) __svm_write_tsc_multiplier(vcpu->arch.tsc_scaling_ratio); --Sig_/3N_WPBCBiQSNIeSEhY.ZcO9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYYpygACgkQAVBC80lX 0GxBPwf/VFRBOWGuSGfmrscNLd6XvmE0R0vpMIqwr5pdezQfl130qO1JY1QoZiFj rvYF7lsDnxpRWNG2uYw6to5xtj4JX+dGvy6qMPUdYCLCD5uYO6JzE0w/rOcXit05 zjcseqoGqo00wKRxSlj4vTflz4/Z6stt5HQnq8F1kqPuvQNpwAAxxgOa4XIgQzHP 7w3ojlToNlsDOR8/JYHE1cvKvCwG5cbgqjbxdeeE7moQBR/omoCE8Rl7zslH3Xar /KgFryHn7kZJlNAvYQZcezZZIaV8dSygIa3brBD4bAzxjLt4LMk261ieW5ZOyS84 Cdfi4OkLQYUxK0pqQ0OIVTRoa4xlhw== =AyeR -----END PGP SIGNATURE----- --Sig_/3N_WPBCBiQSNIeSEhY.ZcO9--