Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp256050lqc; Thu, 7 Mar 2024 17:08:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+B8JrnKnZYzH0uUljjg+7upK9vUQ+5sfV/Yq6DcAjyfPpJZLzsPUL8E2NjOXrv36O1K7vC9mEb/riF8OCYXugYs5F9nbYOnASQLAnYg== X-Google-Smtp-Source: AGHT+IGaJaRiNxZrXeFZY4QzoqiVfklgoiUjQb0zizUXZEQhMN5UU38Yz3NFPq8WCpnmXYFEmCJU X-Received: by 2002:ae9:e60b:0:b0:788:485:21a1 with SMTP id z11-20020ae9e60b000000b00788048521a1mr9863152qkf.67.1709860081123; Thu, 07 Mar 2024 17:08:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709860081; cv=pass; d=google.com; s=arc-20160816; b=ku7ScT3K3uR8jO2XPSfqUN5odMF3JiiNwj/KFM0rzlYoDD7tZsY9NulUj4mfUcmjzR gzO36QEwZY8H0QIAQPnk1HiIlxMg+MWJkJUVppIIiNoYCoUm6EH9/Cfhd2hsc+S9wmj2 YxPdZm7izP9idMQnqWRx0/5IuCc6UFBercbqSAHNdF/ugCHPBwPDuv9OYa77IHITgllH /E8PQ0tbk6y2aVGMnJGhxWrvAaEfK61a3zMDNH/KuzUazX13ZvsISd+T7F8c70Wl4r0n c6m/DqRo5+KufjBVNouWhn5AFiSIpFfloSllvB+161tzbWhqvsMJuEUFpPsEu06tY3al 4aYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ndez3n/GHxaZo2BhemBCOWFmnT+TWDa6VbEqrdYVQio=; fh=g17f1CtCgA8XgmAmgc0YxizHMbPm2FLEzynS67D7axc=; b=xDcLdpPTDGCcXA/DjVqsoAGrc19vYfksFALZhG1blYgRVkMWdC/bjP5ylYem5+pfA3 O9uaSYB3uOC2Pf34jGDBQuqGFtIliiakpUAS7AwISs4AywB8Xg5+w4jzMmSD4GIfX7Jl ns2fq6mpaEQOVV6Gfh0n6C2Ewiunyzsrpq5Fz2Zapv7OA6GPPaCIMbcHPsxUn/D270/0 G/n2o20nrpBzh16ALxK0mRZtoOeH/9/Nmiu79kLhmgcW0/G7JvocELeyI0gpaO7pAH7A jEr3MWV3XuXO4banFcakSTrM9dPXG0OhtgGhvLENplq0o+5x2ISbgJiFcTqKX5vx3E8+ Jk7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KyCkon8j; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-96414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id qr3-20020a05620a390300b0078824c12158si12367673qkn.751.2024.03.07.17.08.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 17:08:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KyCkon8j; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-96414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D57541C20CCA for ; Fri, 8 Mar 2024 01:08:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AE54219EB; Fri, 8 Mar 2024 01:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KyCkon8j" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 C911C21103; Fri, 8 Mar 2024 01:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709860070; cv=none; b=hPXEW1z8LTCQ558indHS9GOTZrrYEWU7GkyFbn27ws13t0pm3vvePiVXyNcOw8lcBAjWdY7Do+vQVGvq5TiaF8uYsgMqSyCDpVXblF1i4sC1FQ+viGxYDeoATkCNntvOfDD1WCHJua/yPZ1p3zngvDk0kWv3HjcUZ0KVKh01HBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709860070; c=relaxed/simple; bh=0R9xuIBQcNVdlIuQa7+jPBg5UvVbDCYySe1bOSH30pM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fn3peP1vfzobjyeGJhwC/CpdJx6H2EOaiUQe0cf8MNLg/JdECQknbHfU9Hy2AZ8Z/OOnxqo7D8vpmn/jNEk7pKnCFiu87k+VRTB1diHJkGJl8zpm8JHtIGgdLsBsMcDjSXfaNmWKCpAVJXcW8dVUhZMszB0SUmyE1wwU9vNL/6o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=KyCkon8j; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709860069; x=1741396069; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0R9xuIBQcNVdlIuQa7+jPBg5UvVbDCYySe1bOSH30pM=; b=KyCkon8jl2Tnxti35WQ0+LPCz6XEK/Ppf1ZI8i3bjw7iyUomJO56zAcB 1St6uLa9CdtGmmgXvl67mnv4SqBeroj/CS2/NQp3G/P7V8/Tpetjj0uVu zv84jRKlNrzv+Jes9bVF5MTu2jSgr0WhOYBNagKZaDxWeyRif0Zk9ugp0 40O4Mj4/qcky6aajc8TXnXGzRzqntCsrk5nPvssjfmMfFryAVPU+42kOv uTyEz6odQBoj3RF2rHlDBXyd5SU8B+k8p15mdr92WBierzup+AdpDcsf3 EBoePHNl5v4BhzFYgAd+Z3CK+IgWBcQJq3RDeS+ljj8t92YpPYMQYgFV8 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11006"; a="15134791" X-IronPort-AV: E=Sophos;i="6.07,108,1708416000"; d="scan'208";a="15134791" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2024 17:07:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,108,1708416000"; d="scan'208";a="14795366" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2024 17:07:42 -0800 Date: Thu, 7 Mar 2024 17:07:42 -0800 From: Isaku Yamahata To: Sean Christopherson Cc: Isaku Yamahata , David Matlack , isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, isaku.yamahata@gmail.com, Paolo Bonzini , erdemaktas@google.com, Sagi Shahar , Kai Huang , chen.bo@intel.com, hang.yuan@intel.com, tina.zhang@intel.com, gkirkpatrick@google.com, Vipin Sharma Subject: Re: [PATCH v18 064/121] KVM: TDX: Create initial guest memory Message-ID: <20240308010742.GK368614@ls.amr.corp.intel.com> References: <97bb1f2996d8a7b828cd9e3309380d1a86ca681b.1705965635.git.isaku.yamahata@intel.com> <20240226180712.GF177224@ls.amr.corp.intel.com> <20240227141242.GT177224@ls.amr.corp.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Tue, Feb 27, 2024 at 09:30:11AM -0800, Sean Christopherson wrote: > On Tue, Feb 27, 2024, Isaku Yamahata wrote: > > On Mon, Feb 26, 2024 at 10:50:55AM -0800, > > Sean Christopherson wrote: > > > > > Please post an RFC for _just_ this functionality, and follow-up in existing, > > > pre-v19 conversations for anything else that changed between v18 and v19 and might > > > need additional input/discussion. > > > > Sure, will post it. My plan is as follow for input/discussion > > - Review SEV-SNP patches by Paolo for commonality > > - RFC patch to KVM_MAP_MEMORY or KVM_FAULTIN_MEMORY > > - RFC patch for uKVM for confidential VM > > uKVM? I meant uAPI, sorry for typo. Although I looked into a unified uAPI with SEV, the gain seem to be small or none. I'm currently planning to drop it based on the feedback at https://lore.kernel.org/kvm/ZL%2Fr6Vca8WkFVaic@google.com/ -- Isaku Yamahata