Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp361175pxb; Mon, 25 Oct 2021 09:41:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTYqfA5tl4F2dRhVnTTDglqxBgmXexhWmR+OpIX7DqoCtml5QTPGdj2C5q12AC/aIAQVDc X-Received: by 2002:aa7:d958:: with SMTP id l24mr15003983eds.222.1635180069953; Mon, 25 Oct 2021 09:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635180069; cv=none; d=google.com; s=arc-20160816; b=eHl+Pvyp8+/wn7MX/HKrgEwG/lIfEgW5nRGVLxSHQH2eKxQrQPXRZxWtt2VmenUqK1 Lnrdryf+FrrT2lKtbMjdO0PgT9SJ/EuI8wgRVMyIQv9xJBBChX4B9/WHY31XGIq/y1Ro 962iG1/FbZL+4e3J1FjeEWFm1NS6rjF5WEm3p/F9SBRR3JLG+suwefustoZOqbknogYm dYYJpnj1IQmcNoxjyhSus6bWX0ddPX8bo/dkKjaOOL+cVUbx9u8DkudsMMVQyRnBDida +mbbYTEE4Qu+6289MWdFTveWOcbQV3IaVIYRFQgGrDKU7nRHN7ptSRoyZxY8nnZJc/KF +LJA== 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=MJuJcHvxEylws1A/g+jonB8G00Egqb6ciiDm4/cW1YE=; b=UZOhZizYxWobUjjetITYlweNmlUM/6k+CQHEz6HK6mqaMsqCd11KTRvy11qauofScz ZdF25TmWRBv0PWBkzPrd6Pj1XoO8R1QYkAq4FRQpo0a9auI49vvVl/oGenWX5yq6xnJF wVFszfZKHZe/pcpYEWJsD9iVmU+kExMXijTwDVwxlkJFe7VQ2m3ehHs4A24Dond6R/Go h/ap1eOk15yKPVmBLaFgTWTXO1Tlq/vAYqhk9cVBBbCx0M5xaPTaa7VzmKNQhcEh6pdI BL8ifCdwwPwhRmzKjZVwUGZr2u+nRvpdcyBN6CWe6d3K3H8svzZ2j2ahK3gKvPPisquD AuWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=V2guSgAo; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si23259017ejp.225.2021.10.25.09.40.12; Mon, 25 Oct 2021 09:41:09 -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=@alien8.de header.s=dkim header.b=V2guSgAo; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233959AbhJYQkN (ORCPT + 99 others); Mon, 25 Oct 2021 12:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232742AbhJYQkL (ORCPT ); Mon, 25 Oct 2021 12:40:11 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E9F0C061745; Mon, 25 Oct 2021 09:37:46 -0700 (PDT) Received: from zn.tnic (p200300ec2f0f4e00d98b5d26705b4d72.dip0.t-ipconnect.de [IPv6:2003:ec:2f0f:4e00:d98b:5d26:705b:4d72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C44141EC059F; Mon, 25 Oct 2021 18:37:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1635179864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=MJuJcHvxEylws1A/g+jonB8G00Egqb6ciiDm4/cW1YE=; b=V2guSgAo5hTXqtSlwxmzaS+p4E2+a623ae+2MLfciZNSWHNuvSBHE8RICDzewGi5XdKCDp bKiDVch/2eKTxLdVEkCZYz6NWxdiOtNHTqyjbo7QWEJxHpqduLqiJMDddbAo9sXh8vOgz9 QIf78Jogc01/jA0DCmUXx+wDm/9236A= Date: Mon, 25 Oct 2021 18:37:43 +0200 From: Borislav Petkov To: Tianyu Lan Cc: Wei Liu , kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, davem@davemloft.net, kuba@kernel.org, gregkh@linuxfoundation.org, arnd@arndb.de, brijesh.singh@amd.com, jroedel@suse.de, Tianyu.Lan@microsoft.com, thomas.lendacky@amd.com, rientjes@google.com, pgonda@google.com, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, rppt@kernel.org, saravanand@fb.com, aneesh.kumar@linux.ibm.com, hannes@cmpxchg.org, tj@kernel.org, michael.h.kelley@microsoft.com, linux-arch@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, vkuznets@redhat.com, konrad.wilk@oracle.com, hch@lst.de, robin.murphy@arm.com, joro@8bytes.org, parri.andrea@gmail.com, dave.hansen@intel.com Subject: Re: [PATCH V8 5/9] x86/sev-es: Expose sev_es_ghcb_hv_call() to call ghcb hv call out of sev code Message-ID: References: <20211021154110.3734294-1-ltykernel@gmail.com> <20211021154110.3734294-6-ltykernel@gmail.com> <00946764-7fe0-675f-7b3e-9fb3b8e3eb89@gmail.com> <20211025112033.eqelx54p2dmlhykw@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 08:27:39PM +0800, Tianyu Lan wrote: > I just sent out v9 version and compile hv ghcb related functions > when CONFIG_AMD_MEM_ENCRYPT is selected. The sev_es_ghcb_hv_call() > stub is not necessary in the series and remove it. Please have a look > and give your ack if it's ok. Then Wei can merge it through Hyper-V > next branch. I have merged it after running a bunch of randbuild tests and had to fix one or two: https://git.kernel.org/tip/007faec014cb5d26983c1f86fd08c6539b41392e From my POV that branch is not going to change anymore so Wei can now merge this tip branch - tip:x86/sev - and write a proper merge commit message explaining why he's merging a tip branch and then apply the rest of the HyperV stuff ontop. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette