Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp567018pxb; Mon, 25 Oct 2021 13:56:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxidtMfMQONua1o0paHPhf/I4piTGOLEJyS8CQb+qU4lnxoKc8hwJpNl4alruKRPNPGsmOZ X-Received: by 2002:a05:6a00:1503:b0:472:df2c:d821 with SMTP id q3-20020a056a00150300b00472df2cd821mr20825732pfu.60.1635195378328; Mon, 25 Oct 2021 13:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635195378; cv=none; d=google.com; s=arc-20160816; b=vpOdd3E+gd+cFsHxhioxeWh0XuahDi46GWIPN4QRFzdXppOmqsYsmSXrT0pfP/ozoW ejy/+af/zRnY6W1Y7gQpQZmOy7KTH30771lxid7mYdWt4erzQPOGaTzAvtUt3HGm16vs pbtgGCFDgnf/8zNBUn/MJPZCQ+UBrC/kP+OTpOvCOEPe/UWuD/YEyD92nkfCQYevD1SK IEFq1uTDs837eCmFzYyYTuLkApacZUYTuANdwbwm3mY8/htWdisSo02W1wE/lruzS3m2 SPCWLFLDqrfpI5HE/4VIcMc92uDt+uj9itoTMfBJiVQn4xTsNfbSIP6qITqqPth5e/AJ mr/Q== 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; bh=Fljl4WgLX/RcDUKivgrEUuWkkPxadHqWT4JD6/OvqJY=; b=CV9lMy5aA/V2zIl4wwSb6ie3/sXu/KG8REpesPVcX/lMzGIy6HgWflpckFDliCk2bA p2HL0fmTEFjvCw03+Zd2JpHzz5rAq6VvLsNY29X5nZPox+iLIJUyrAacf9XqQIMv5MkH +v2couVFHmyJypnWNqjVIfbCCVpn1h0Mokdyl31JWoULkc2ls4EOJv2ua7zkUr0ka7Me jcVjmXWqLG2RSH4PSA9/EGZ96h5q+1dshfAWk+JT1x65R7qoFKGR4z9yZPR7XK9axrpP poZdtlRKt8r8j4l/Rt0ikL/K2G3aBkxoCEe+N0U5SUrpKd+jwiFhJHmgMX//MxpqBTgI cM1A== ARC-Authentication-Results: i=1; mx.google.com; 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 nt21si27867281pjb.178.2021.10.25.13.56.05; Mon, 25 Oct 2021 13:56:18 -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; 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 S234441AbhJYU5N (ORCPT + 99 others); Mon, 25 Oct 2021 16:57:13 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:45772 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233842AbhJYU5C (ORCPT ); Mon, 25 Oct 2021 16:57:02 -0400 Received: by mail-wr1-f46.google.com with SMTP id a16so13883330wrh.12; Mon, 25 Oct 2021 13:54:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Fljl4WgLX/RcDUKivgrEUuWkkPxadHqWT4JD6/OvqJY=; b=sFqn0yL7Mayf0ddqrpsW8P+8nWh9qqGkoorufwgMJ/8xxQ6Bnv09iREaIE5S5FWCl4 InMDinUBf3eg15K5JjfSJvPnhazovpIlIASorlsdhdg8wwkxsos+waGiC/vG0AAd4TF9 Y5sFFdwb5DoiquhPd0BNr5Ks36BTKgWApXpcEge1pWSiCIjLH4bfVfwuHHwC81EyMu08 w2BJLszalEKeMtbNWVkRSawMgESPEKPyN/abFJ8XCbU+PTGCpAQM4fXXvHoyWb6R8VCX IOhkzyIh0s+NaJnUoCRWm3h01xh6xMyyLMO1JMhmFf2Mb2v6IcYArXO/3V3gkNw8zxJy f9EA== X-Gm-Message-State: AOAM531RJNxTveVtG/utVIG0/XSh/GI6mf8aLyn1mMigx1GVQiois3ME Gex6pybJV5c9jfgvX2FIl2k= X-Received: by 2002:a05:6000:1b90:: with SMTP id r16mr25878748wru.153.1635195278570; Mon, 25 Oct 2021 13:54:38 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id m9sm441723wrx.39.2021.10.25.13.54.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 13:54:38 -0700 (PDT) Date: Mon, 25 Oct 2021 20:54:36 +0000 From: Wei Liu To: Borislav Petkov Cc: Tianyu Lan , 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: <20211025205436.febcnpnky3xybojz@liuwe-devbox-debian-v2> 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=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 06:37:43PM +0200, Borislav Petkov wrote: > 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. Thanks Borislav. > > Thx. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette