Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2067553rbb; Tue, 27 Feb 2024 09:34:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWKpDnxnfvoXjzFGFj9Cyt2UvQ/cgJmp0+uQ2z664cAb3fh7h87IZd1zAT46icW76+M6+kl83V5s1XgYPaZnhI/h1IMeQA+oQH0bIx7LQ== X-Google-Smtp-Source: AGHT+IGiep490BPP5Vv1rpdnyCGz2ycsF8Ft8qtH2vHp6XECBAxlxsx6XYRdOvbii1C9+zoLRaNd X-Received: by 2002:a17:902:eb8c:b0:1d8:ee44:629d with SMTP id q12-20020a170902eb8c00b001d8ee44629dmr13709155plg.30.1709055266155; Tue, 27 Feb 2024 09:34:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709055266; cv=pass; d=google.com; s=arc-20160816; b=fGDsaC7VCLQkJrsTKdcM26aajd4KWq5t/4AFCt87DaciPxWFVtw1mzJVvKL43gty0W ArCKKpzKl3GfV8YVl2OMMQJhd2AV7BI+ZwQneakyaKjPfZV6cV7Tw5MusN/PZqb0q5Lu KIRuxpvkVmtluNoPGlPVsNeVCof+d/lU5QONgC5id3xVa4oz5rM9U4ZOPcG88eDKfpHl XPWjSbx/voqK3DC4Yw3B2HRWP5jNoGwK4ij58yDcj137aAJeOCqZIAZk9pq2nn1WCb2k DqN23m9hP1ktUGQUn2/Gwy0QFfdzEhdBhuAd9JUPvQSbJCQ1Ao+EfOJN4mdZH0+eQMAV 30Fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=B6AD0bkdjAOp/lWXwKRvybpOt3bz+Spb+REH1Kt9KeA=; fh=aKEgvIpWTknaPwKxnhPRsaTOxiCrQcki/fu3+xP6Vrw=; b=ooGRuK9b9Me2zklGdr7ekvZqbspiC+8dLCv4J9XLmukpq18/0GWmk9LYQNy40fjry7 pbdkfSfgVPOP/eiXCf6uz2VoKzkpsx6dwrtHgMA3/GnwbnaaC3JgDOkRZqxWkyTDneAX 6+bZsznQhCt+xJSkvJUX4EOEYMYM8dzijBqYRrIzCYf76tG92WOFRxnKZRGMZrWHj0Y2 IUctezYxZNdPaRhJ4u7QH5UlBYIopGuZ57Jsu/Cahp2ip8Tx+ORuIpf0Si5/NQ9+fr8d fUAE9R3uydaAc28emzbcQ/w8EU7mRKZJOY6nPFhmJJgisHo2OsH5TiK+3wZ2s1Ydpo/G 4MWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=FNhJ3hpw; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-83731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j14-20020a170903024e00b001dbd4cd7db8si1638761plh.627.2024.02.27.09.34.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:34:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=FNhJ3hpw; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-83731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D0739285156 for ; Tue, 27 Feb 2024 17:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AF6E4EB3D; Tue, 27 Feb 2024 17:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="FNhJ3hpw" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC9C14E1A0 for ; Tue, 27 Feb 2024 17:30:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709055015; cv=none; b=saVsyThnzCOBqax5eHmNT+y5GmzWXzHGi3JvekPMVU7xlxx4CRt/+pHk3tjKxBVzel/Adk/dZAG2nH+y4uRvQ+pfsYDfTL0fH3t4NOSpXiAhhjMwXWIMIiTU1kRSchYOQ3t+k18dsf0ycPzlQJcdrPHrMSrQrs0eRJNQMLYC4RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709055015; c=relaxed/simple; bh=8+NKIgDuplqSo1ytFo3UoMuMYGOqUqX9fn9PGu7Vej8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=kikCoyBnVg0DSCpdRBtN5uT7yeeTXN5TWC4/pbZi1ghzsndthnoMgndgw/8A7WGgeqq92SEeyga4BpZ18HicAvD29TS7LAuOymsldhC/2VfPlRVtwYj4fxC0pcP6++mfI+knUhI1PgvioD2F1K7/W82xqCETjJxf0vUi4yX1DvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=FNhJ3hpw; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-608852fc324so74354337b3.2 for ; Tue, 27 Feb 2024 09:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709055013; x=1709659813; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=B6AD0bkdjAOp/lWXwKRvybpOt3bz+Spb+REH1Kt9KeA=; b=FNhJ3hpw7fBNPBWtilTToL375qv3hSFwWeS8tSzfAHTQWT9SSFIUXeM6bDxLYePEI2 89K9LYSCcy9IYh7JOCPGPBYoccwpnLGtCuajQwD1c5dUU2ky1HEe8o32D5HRmXrW1ZVP QKFVAUMQgWynPAKKQLEy6KABpwosg6Zvd0TjP6zvzsbCP92PVHuhBVU0uNoHdY2DGzH/ bL7m1svhwkghBcIjd9rfLCd55uANusItwBdMsL25iN9FVNEgu/ul2DZMz7+XrwgRuKlo QwURat+xO2TzitBcnUaRtb22mEYeGfT4v2s18Aa2dEp7b2i8faSHPmyAhty2T/EYhSyC +Utw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709055013; x=1709659813; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B6AD0bkdjAOp/lWXwKRvybpOt3bz+Spb+REH1Kt9KeA=; b=nAfHeq1kXgsYFm7wWqKw29y9jYsO4cSf/F+FoM41glhJaXVIoE1dlZAHq351BJJdxy mxNeOhzCrTaAdWdOue+Cj5VoX8uP8U8zR6K06DAH0irF7T4S1wPlxvjIua93uZMBK0A2 DKObc1jMTQwuWexYOI2PeTBJbW5nJnq91MoIl9/Vi4XYkZZlWPNvINVx6R9as7oleuvu AYI47+3zkV/5HHfJu+Dn359HbiVOWAul2P8VnC8qjlSp4PsQLmEGtljgiICptnjnXFR/ kq0oJiF2rSUOf2fXT8Bad60/zeA+B7nYL7r0Xg1Pd1xvEqfXxPd2MEFnkT10Y97ea+Q5 7hUQ== X-Forwarded-Encrypted: i=1; AJvYcCU3bQTkUkkYisdy8iQ6W58udLHyb2Ryjui7KWO0SeHIpeV8+FIzdnmKuojqOVdt1XNYa8df5lNRoXmfxmsJfFbExAVwro+Zy6RHOTVe X-Gm-Message-State: AOJu0YxolIeQU19k2k/xyo72Eg4SR/wEn/sHJ/8zgatyIX4j4Fo/MKp9 sDLbwFvjJgjfTMTPCkeRiKAx+Hbjepr7UtWmc6Vr3Yfbgne5MZdYmF4eVbg1eWwbCDEaq/A7ZON 5/Q== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:7256:0:b0:607:d016:d85c with SMTP id n83-20020a817256000000b00607d016d85cmr643698ywc.9.1709055012763; Tue, 27 Feb 2024 09:30:12 -0800 (PST) Date: Tue, 27 Feb 2024 09:30:11 -0800 In-Reply-To: <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 References: <97bb1f2996d8a7b828cd9e3309380d1a86ca681b.1705965635.git.isaku.yamahata@intel.com> <20240226180712.GF177224@ls.amr.corp.intel.com> <20240227141242.GT177224@ls.amr.corp.intel.com> Message-ID: Subject: Re: [PATCH v18 064/121] KVM: TDX: Create initial guest memory From: Sean Christopherson To: Isaku Yamahata Cc: 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 Content-Type: text/plain; charset="us-ascii" 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?