Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp114888lqm; Mon, 10 Jun 2024 14:48:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUD6X/vo0O5GCPi4HAeDcLNQYKvJq0fdS5KtE0Mw9ruHG27oZknnxtQV7QUF8TiXQv4b36jHwqEI+lBOzzohQVLSdwu7sLwDgioYXEoZA== X-Google-Smtp-Source: AGHT+IFVNOPl/Hm7pPu4DSK1gxGPku3O/AR5vM5ABup026KbMcK3MCsczAjboBIENmv2PHSqCgJJ X-Received: by 2002:a05:620a:2903:b0:795:5f39:e165 with SMTP id af79cd13be357-7955f39f295mr595252185a.60.1718056136148; Mon, 10 Jun 2024 14:48:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718056136; cv=pass; d=google.com; s=arc-20160816; b=y7c21C9gGIFxj+5ikHf8s75BZ8WaI/XgntdaB/p45SK63BvQM0ilO7384d7ZEwIOCW T35vRqNenY09kFZXm+NrxSI9bruqY1Vcw0PAP2mSKFwhcuDddFBAHAwIdtBiMq6yXyVl RzK/90dJitYkRfV9Hru0ujVvtAk+eXidC3A72d/ohywmRYnnlPOfXCxNhGljMb6PjhO/ uU0Q7wzlvxEfNpNqEO3szwr6ClX5eOi8IdSDtA4GQtSwCevCeVARk5jvGqJewoKQKbHe YLOwTFTni0zqPElhfw5jUIBf+sHJBuw2Wu0omrt6c9Iml+BUzNWcUc4DAa10ipExCNMW n5KA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=dff2CxPF2YjERdeED1HYWtqzTOJbvY8otFDm3MW5gbY=; fh=bY5bhiyPuBXwtYCN6x8HCwD+QqO2lOOPxwWPhdjWdJI=; b=d/zu2qD1djZI5FTLk9t+8CvjCg2KMLLo3CW7RNxZHvOLgrDz3kzgF3oIsEfRU3rJK9 TIQXrMZmHSwGuoIdDQ+npIQjMb6bauOPfVKrB/ouKUYUwlzYwBfjrshoHzgMcvxSqecU fK+3bCSVTw0Q2hH50DmlduGpOhf8JwnGri4pqGyt5G7Skz8Rhj/H43UzD5GA09waidje KUHz8xu3+5APSC9M3jjMxVF8Vmw+qJ9YU7cfBaZbzAONxX8oL0fEWL+YnLBhWpYT5siS ew9a38gPX3k8RvKTdQeDjHI41wp5Re03uBsdLyN+uI5FalU105T5inka6aiFlSp/izrI f70A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ke1eUZk1; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-208943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 af79cd13be357-7955ff294efsi436091685a.92.2024.06.10.14.48.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 14:48:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208943-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=@redhat.com header.s=mimecast20190719 header.b=Ke1eUZk1; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-208943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 4D9001C2300B for ; Mon, 10 Jun 2024 21:48:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A04701411DE; Mon, 10 Jun 2024 21:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ke1eUZk1" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 4DFE06BB33 for ; Mon, 10 Jun 2024 21:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718056111; cv=none; b=p9ViFAjAUVI+rVRdd8vN+0k89GxhlJ2C8n+MOCUJeEK2JO3dulVwCUob5TJ5M6Rsd5d92Cq1GAkG/GRNFJV/eePA6T80V6HKJ51i6qjgWMnOjO7x/2u0DBb92bPh93pZNTCHT5t0xTKQ4xjtgiX9rfaG7gaNL1sDlbM38wTCGQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718056111; c=relaxed/simple; bh=4DNhk0tBbhRDsReREFDU18jwJpkA17AW9GL7HzjSt/Y=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=l9BVlnWH8mCKdzXPAyHFQiy8WueV1yF+uem3T4nwO5g1qtW6/8/dc7x7fKz4RYanZaORJV5JhXd9wrj8ZkHJIwWc8p4IJq+gzl4vzpi4AqpaJbR3xYMt2KjePgV6YcQV/kqhPxx8zapLyCZ+OmrapGteqnQ6vGmf/TF6muNGh58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ke1eUZk1; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718056109; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dff2CxPF2YjERdeED1HYWtqzTOJbvY8otFDm3MW5gbY=; b=Ke1eUZk1BOKdFD+Rr+RdN5bTOsa7oXogOADJoKBrG+pKXRATokJJj4bkYYutCB0xy1I0Ud mhXbZJZwcj3+ZaFcuFJP8CmRUrUnQw3YHFrY9a4TSVvUhLvqcDAT1WH0alo6nTVlbRt1lF x7sG6qCOj4gPwCRQK3tiuHT1MkwtVeQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-315-oTbgFLptNf2HDhP4NofZSQ-1; Mon, 10 Jun 2024 17:48:27 -0400 X-MC-Unique: oTbgFLptNf2HDhP4NofZSQ-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-35f09eab759so2616721f8f.1 for ; Mon, 10 Jun 2024 14:48:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718056106; x=1718660906; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dff2CxPF2YjERdeED1HYWtqzTOJbvY8otFDm3MW5gbY=; b=o9HTObtu0+EfmNvlfbC8Yn1MGU9CycAY/gUGZ0FcQIj/VqvO8lT26tFk/B426wJ412 dnGsi62cllYmALawBTueeo8FUgeIulLtFvSjAIvykeUrF6D1NWArsGaWAxdrXdM/8Fcl a9VwmBvCWxWXoMCRgLqTPmiAi0lJwVYR6+V+pPMLx0NZvumCiYv8Gyb80WpygLhddZOt wtbRv2aWTpvupoWSwAF1og1ZqgVYFX2bUEjSWtTzN87010w4TVYs9Luj5K3g3q2mAGNm pA9pIZGw/WevWmKqHkPbv1XDHoqFKsv1TfnYtPQlhf7sV9gtCdWgptt8w6S8+VBLiQi5 cNTQ== X-Forwarded-Encrypted: i=1; AJvYcCW0ph0hiVcb+6eeqBtmTHzjcwlccPKweLOP7MY6bRz7yJiuyG2Ct4TxBUgfYLDnXgjqiGHLSERlXKhNWqxApF9UxY93f2nc+c+I53JL X-Gm-Message-State: AOJu0YyiMKOG+TT7aqkpFD1s+67+7BccwXffIbdnS6uxbo4lj1uWBe7L 5/ttyBsTDLcxGkgU4HeVIMF28YZos5DeyAvIPzzPjyW8ENjthRwImHlm+LMZsbWDl7SWb1ZpXsm fE+T36jdev46fuse4cubAe3BntZK4JEb7LCNPooA7N5jayhbItPKmnrNTsDkPa+P+l+jYBwBzi3 SBbPNoYIdwNZT2QEr5GY+t+/E4na2sR6fD9F2I X-Received: by 2002:a05:6000:1e81:b0:35f:650:e8ff with SMTP id ffacd0b85a97d-35f0650ebb8mr7288499f8f.28.1718056106565; Mon, 10 Jun 2024 14:48:26 -0700 (PDT) X-Received: by 2002:a05:6000:1e81:b0:35f:650:e8ff with SMTP id ffacd0b85a97d-35f0650ebb8mr7288495f8f.28.1718056106189; Mon, 10 Jun 2024 14:48:26 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240404185034.3184582-1-pbonzini@redhat.com> <20240404185034.3184582-10-pbonzini@redhat.com> <20240423235013.GO3596705@ls.amr.corp.intel.com> <20240425011248.GP3596705@ls.amr.corp.intel.com> In-Reply-To: From: Paolo Bonzini Date: Mon, 10 Jun 2024 23:48:14 +0200 Message-ID: Subject: Re: [PATCH 09/11] KVM: guest_memfd: Add interface for populating gmem pages with user data To: Sean Christopherson Cc: Isaku Yamahata , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, michael.roth@amd.com, isaku.yamahata@linux.intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 8, 2024 at 1:03=E2=80=AFAM Sean Christopherson wrote: > SNP folks and/or Paolo, what's the plan for this? I don't see how what's= sitting > in kvm/next can possibly be correct without conditioning population on th= e folio > being !uptodate. I don't think I have time to look at it closely until Friday; but thanks for reminding me. Paolo