Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp575875lqr; Wed, 5 Jun 2024 14:41:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCbZrXtAgwfmtusxrm60/VkiAu86r1iZaccceQgswa1cvKG4H9LkUwHhPF62nU84njXoyg7B14KbUNwhjMk/ua6Xj657olvzTgHMaH6g== X-Google-Smtp-Source: AGHT+IGKlIVthJvtIKg8cEuyqPbBd4lfD92YO3x7VaOfyywVXhiYsWSyLTlOmVguI1umtN19LCTM X-Received: by 2002:a05:6e02:184e:b0:374:a76b:2c6a with SMTP id e9e14a558f8ab-374b1f3e2cfmr38598795ab.22.1717623706372; Wed, 05 Jun 2024 14:41:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717623706; cv=pass; d=google.com; s=arc-20160816; b=HWZTjmpnrH9qQz103KnXLoNvvkGhybRG8EUA0/r+JPNNycldfJWFI+xB8sQTxl8mBh 8AYWhfTWzkHS5G9zz20LLMF2iY1gFSTT6TCVdNMP49XzFknyAoBIlIMXyy/uvvOPYCBS 54TdBU8wwzXWtfhCMIWkS94ei94DXgtO3igF2jFZmUtxDuf7o1mte5v1hX3P6OhvEcL8 KkmXcwFvvymhBShHxhozEB8eVmoGpP/AGvrvsbN860riLxazNTY16yEyJPFe1InnVKlK 2xJVKYgLhJLabtLPNVrFNQ7htQx+CIHEl4LRac0wvgzFuHrQWrEqcUtwSvSbwgs6gADH Fz+w== 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=gqBOns9NjUOwlItHcv+NKheaglPGkc3CfqGXO/RBcVs=; fh=3wAJFZEp7the9w76pn3yMKTLTkHXn/XR16BJklRokgY=; b=xuP6x81OyIBzTBuPzmeVH6QlBQWKTOmyaFRuFUDuRSbuV/3ZsjL7+zvkXDYJ0z53hW UeeZVjEi9bfkrErAE7qliSUkvawgChI1akBWMandyQyo9cPm0xzcas8FgwiEDdnKyKPj +4+CMCHpAlsZMsE7VpHPpWrXv2yIVeRK0u8PIansph/NYdxsVaiGcYnWtn/P6sPtRgah gMJiQHM+YHi7gaRqsJ4q1h2LD+8NQ7SMN+IRsvlyUSYgSuy6dWk563/2CNN4/YVv+J8q Ih4y/XtXznaP3AlG7Oq45wq9SA+ACB/P6JGNGtNzNp5pz/iFvR761frPa3W4mDfRThj9 v5bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=tB52Sk6k; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-203302-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203302-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 41be03b00d2f7-6de2073c4afsi21621a12.45.2024.06.05.14.41.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203302-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=tB52Sk6k; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-203302-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203302-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 2EEBE282452 for ; Wed, 5 Jun 2024 21:36:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D3A615FA7C; Wed, 5 Jun 2024 21:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="tB52Sk6k" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 8804327701 for ; Wed, 5 Jun 2024 21:34:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717623256; cv=none; b=aLYyKumDLQAAZEqQwTuptaUHUrytQHVmog7oK7A6A62OWjhzep8zkeqNsIsfuANxpQBnAiTPKDLaIgyAzMLDX6cLtVKa+fD5P5cE5P+kUSCq/zsjJDb2qajg2W4nqSPca2PaZRM+5Z3Q1aB0KuL1qBSpAjZu/qf0gz8mRwmSgz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717623256; c=relaxed/simple; bh=gqBOns9NjUOwlItHcv+NKheaglPGkc3CfqGXO/RBcVs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Z80sH4qu/otmHiYRfUKKVqy1oiTBgw03hFmIlVRvE/Nss5YX9Q4NaXnm2SJxnOk2pbkpmVdR+19ZAoY0XseuSFSX5TeTXziyUF/bkLZn4NRRw/AHeJ9SBUHHwbaXkM+9C1khv9eU5n2AYBQNIAqPw5PqgUmCzkVhydLxqrimoEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=tB52Sk6k; arc=none smtp.client-ip=209.85.208.169 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=google.com Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2eaa80cb573so2938031fa.1 for ; Wed, 05 Jun 2024 14:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717623253; x=1718228053; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gqBOns9NjUOwlItHcv+NKheaglPGkc3CfqGXO/RBcVs=; b=tB52Sk6kmsPVIJ0rEdztut/FyDKAPnkuxmTbyyQdzDfrv0VMlVa/xaiTui2XHrSQMM nLLRCPszWUtIPYZ5N3A69/iCcq5eNWe1NsmAmkQdQ5loRbce/Z/F84S6eKR164pQP6G3 X2Nr5d5NRuoHltONmWhwoGwjWu1ZD4SxCwBhl57JGl6uVRv3nJTdLB4pKge7Kv/K6jFq ckWwSQ/JW5N4/Gtcqe3I8o6Ey6NrPYUyIBAoXALxnqKfoolTCFwneRPmc8lCIrwrGFgi CSlG7Iq2P2+RRE5oN0lPg+M8QiKpOE7daM2G3jwkAHSNmLLYbaVYs+UHOOkMblL2B45C dOrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717623253; x=1718228053; 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=gqBOns9NjUOwlItHcv+NKheaglPGkc3CfqGXO/RBcVs=; b=FaKZtUBA1fdXSJBLtYyATsmYvFhWG65oxazPwIje4du0Zfj0csqM7DxzZTGCmIiVJ2 lSuiqgIOVJ69SS7WiplT+M6BirSRIB6rMxzhcJE22DwoxoJO7nlJqhd6SUpVdARYpaAK 7ze6hmy627LBBKzBoEcmcTiyUCPhh89UmMEjpfXzkNkdJuOpEcOCPTxkbzemhXQRwy7X 3bJmJ4taBSPopk7wB6cmBxxK0wBTE5CS410+ICLrCxy6kX0t8mCF6rMAJaq0iVwgiFTs YYAN/H3P/DwQnd877ik7WeQPsvMhcwu72wpw4qkQI1sVa5doAqcYFE8hXp6xxJNXVx2r 6hBw== X-Forwarded-Encrypted: i=1; AJvYcCU0M0IPmuFQFtUDqnrnIJFpJ4U7WbhNx+BtCl/Foqkuoo9kqnNXFvmZTKJVzxfD3CJir5QtmMDFLp8ELIllbfew9RGAmYWxmIbK/ICy X-Gm-Message-State: AOJu0Yzi3YU5gKPlUc9Axm4Chs/IVmjrhPe9k9XC8I2+H1zhO5OL35x1 4SGCiOEufepWjTii4XQExhon4KJMAkSoiBh7XkeLHcWXK6YygsRjj9+26szw84cFI88ibKhWNpq GzBjQBD6ydtV8JAqjh0HmhRD4E07/flzCXAzA X-Received: by 2002:a2e:8891:0:b0:2ea:7d0f:f6ed with SMTP id 38308e7fff4ca-2eac7a53ff7mr21497191fa.33.1717623252490; Wed, 05 Jun 2024 14:34:12 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231212204647.2170650-1-sagis@google.com> <59652393edbf94a8ac7bf8d069d15ecb826867e1.camel@intel.com> <7c3abac8c28310916651a25c30277fc1efbad56f.camel@intel.com> In-Reply-To: From: Sagi Shahar Date: Wed, 5 Jun 2024 16:34:01 -0500 Message-ID: Subject: Re: [RFC PATCH v5 00/29] TDX KVM selftests To: "Edgecombe, Rick P" Cc: "Verma, Vishal L" , "vipinsh@google.com" , "Aktas, Erdem" , "shuah@kernel.org" , "Xu, Haibo1" , "kvm@vger.kernel.org" , "Afranji, Ryan" , "linux-kernel@vger.kernel.org" , "seanjc@google.com" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "ackerleytng@google.com" , "dmatlack@google.com" , "jmattson@google.com" , "Annapurve, Vishal" , "runanwang@google.com" , "linux-kselftest@vger.kernel.org" , "chao.p.peng@linux.intel.com" , "pgonda@google.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 5, 2024 at 3:56=E2=80=AFPM Edgecombe, Rick P wrote: > > On Wed, 2024-06-05 at 15:42 -0500, Sagi Shahar wrote: > > > > Hm you're right, I was looking more narrowly because of the kvm-coc= o- > > > > queue conflicts, for some of which even v19 might be too old. The M= MU > > > > prep series uses a much more recent kvm-coco-queue baseline. > > > > > > > > Rick, can we post a branch with /everything/ on this MMU prep basel= ine > > > > for this selftest refresh? > > > > > > Actually I see the branch below does contain everything, not just the > > > MMU prep patches. Sagi, is this fine for a baseline? > > > > > Maybe for internal development but I don't think I can post an > > upstream patchset based on an internal Intel development branch. > > Do you know if there's a plan to post a patch series based on that bran= ch > > soon? > > We don't currently have plans to post a whole ~130 patch series. Instead = we plan > to post subsections out of the series as they slowly move into a maintain= er > branch. So this means that we won't be able to post an updated version of the selftests for a while unless we lock it to the V19 patchset which is based on v6.8-rc5 Do you have an estimate on when the TDX patches get to the point where they could support the basic lifecycle selftest? > > We are trying to use the selftests as part of the development of the base= TDX > base series. So we need to be able to run them on development branches to= catch > regressions and such. For this purpose, we wouldn't need updates to be po= sted to > the mailing list. It probably needs either some sort of co-development, o= r > otherwise we will need to maintain an internal fork of the selftests. > > We also need to add some specific tests that can cover gaps in our curren= t > testing. Probably we could contribute those back to the series. > > What do you think? I will take a look at rebasing the selftests on top of the Intel development branch and I can post it on our github branch. We can talk about co-development offline. We already have some code that was suggested by Isaku as part of our tests.