Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1942659rbb; Tue, 27 Feb 2024 06:12:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXHTKjSw/+7WWFQ+WXxMFa2NKtx1wGVG77onVo7E5QHKyOv3Q1zCZyFcdKvMUCFqNnNhd4/enj9bSm5yV02VsDZhp6b1j0GMUe67UBuLA== X-Google-Smtp-Source: AGHT+IHCE2ia2JPLDIMHwlzzxTo7+eY2E2CMEFq0dKiCClxyr5nIjjvYVQOGblDjpf97aFdC2/A6 X-Received: by 2002:a05:6358:9229:b0:17b:5a18:4e64 with SMTP id d41-20020a056358922900b0017b5a184e64mr12198144rwb.13.1709043175061; Tue, 27 Feb 2024 06:12:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709043175; cv=pass; d=google.com; s=arc-20160816; b=yikcb/cdme5ciXFAkv9vrWlVnGuRPg7r9X4WQ9bXSR6OhMjRn5nRz8Y23uU5c77JQA 73en5ULqBibzSVSIiYHVJ5nl0oypKvpr+CqRsd1cbqWoaF3BHryOvjC2+WUQW9u883aO arvLfoEWeanG4Hr8tmdeR33uavsSJpZw3riDMM7eljzuUUu5W1DuhO0/rn+0FbBQJtzN nzimzurmidUUghy7oNrFB1LdkSpskrmF8c2Ex/EWwZXC7eUBcDhdqIXRaegYtU8RUtgj slb6JrhwkqIvdBtE86iwL5x81h+Omn2DxRDnnTwKxvTYHazDysbDduWsH4EzbXP7obPx YysA== 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=doOBEUF7hntZDHlRy3d34INaonzQze6hvB2e62iaxCA=; fh=g17f1CtCgA8XgmAmgc0YxizHMbPm2FLEzynS67D7axc=; b=t7x4bCIvg7fIk2uDrEavfpD2pD2bH9TtGgJpqYvR3IsOCnrtOJW+OA2Fer22NvH8VW KkwrxvKHInfBuen3iuGMnu/acNzK4L2NwVoAbo/e2FWxvuxPTZpsVW5HzwzRdOrWbIGK /y1zEkRvEa1T4ZE04mKKLYtbETfu/zkeZvsyPLpnNd7Q3tpstB6Vpp+grqwhpy8gEH1Z rZr87Fg1WbG1/3lLbRq5nefJoJMTVgz613tUQXK/GW/MgG8YgeV9+Yvtu0hJwBrRmUA7 W5yRmqgzDo/W7W30d+sMPC+Y3PBdS5eryoJH4hFS9r9ijqrEtTLuHiZ8XdjTM9bDbG4S OrCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NxhbJrsI; 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-83377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83377-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 jm12-20020ad45ecc000000b00690172d849bsi3119973qvb.592.2024.02.27.06.12.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:12:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83377-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=NxhbJrsI; 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-83377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83377-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 CA5681C22CE3 for ; Tue, 27 Feb 2024 14:12:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 367B613EFE9; Tue, 27 Feb 2024 14:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NxhbJrsI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 42C5778B61; Tue, 27 Feb 2024 14:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709043167; cv=none; b=HeOSKOvmpWjHmZQXe3qYxMVPPXYAfBk2jKXHdLiyz+hRluOMfYr9Ym/oLd0iw4uEKcrrg1k5LxD7wZJ1zn7ORSlZYwq0ehMSrTl/zVG7EH31QgUQb2nLVwUwbtpeVPTGppUc+ocRNx6vvadshvYOul5mGJ+NTXyNPLQc9IGsWtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709043167; c=relaxed/simple; bh=d+d9k/vVtANqH6M54cOyG+CyAcg/d58jbgDykQpOjFc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PHSaV4iJMdtXWYA4F2yBmrD42snoCN5cS1cEnG7ZNZ19K8Ucq8PjhH5kTMsGMFcis68scah+5ObR07kT2eevrGaU0taSSIxvnc1oY3nQCMIxe8zFK6eE/Ih1IVDGOR5g1JhdQ4zFyzeMhy3VmOWJ79HrM2V8Af9BP7RKuAiQFZ0= 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=NxhbJrsI; arc=none smtp.client-ip=198.175.65.9 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=1709043165; x=1740579165; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d+d9k/vVtANqH6M54cOyG+CyAcg/d58jbgDykQpOjFc=; b=NxhbJrsIhH/K2sUm8TVtevzRcD48sCUPTNBaNy37oYfv1yhe5MQRNK91 1MzLdswUyRmau/5lTufKworMmbWCXfYdz9YCZw+cNG3Gxw25wZlUA1FpX ntPbOBs59vZO0A1GRyk/Yll+o36msig53dVJMMbCRP/zT1nQkN3AqPo9o DBzEeyKY9jOp9oKfLauzUxCOC2bmqLlS3jeKbRaEMsaG0ZhlQRL2N98E8 gfhr7qTvmTNxT7gTcFtukGqyuHGuKLKcMflVwH+QDL6AqIClYl4PQT3PK PDoDWUz3enagAEWi3cHOWXV14gQodgwxYUlSMONArr9Sd+2lRUJ+unBPs A==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="25848653" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="25848653" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 06:12:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="11656530" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 06:12:43 -0800 Date: Tue, 27 Feb 2024 06:12: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: <20240227141242.GT177224@ls.amr.corp.intel.com> References: <97bb1f2996d8a7b828cd9e3309380d1a86ca681b.1705965635.git.isaku.yamahata@intel.com> <20240226180712.GF177224@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 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 -- Isaku Yamahata