From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47049C25B76 for ; Wed, 5 Jun 2024 21:34:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B3C566B00A2; Wed, 5 Jun 2024 17:34:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AEB736B00A4; Wed, 5 Jun 2024 17:34:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9B32B6B00A5; Wed, 5 Jun 2024 17:34:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 7E6256B00A2 for ; Wed, 5 Jun 2024 17:34:16 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 3AD98140BD4 for ; Wed, 5 Jun 2024 21:34:16 +0000 (UTC) X-FDA: 82198138512.24.890AF35 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by imf20.hostedemail.com (Postfix) with ESMTP id 562A61C0019 for ; Wed, 5 Jun 2024 21:34:14 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=4TRiJ7u7; spf=pass (imf20.hostedemail.com: domain of sagis@google.com designates 209.85.208.170 as permitted sender) smtp.mailfrom=sagis@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717623254; h=from:from:sender: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:dkim-signature; bh=gqBOns9NjUOwlItHcv+NKheaglPGkc3CfqGXO/RBcVs=; b=XsNXMPjVOrScQU3nhTpioHyuIEcu+hpBX971SFlwRwvbDHWu6Uy5cpeeZTctyO4ejtjwqh pVFWrngHacHMoy4kM4eUGWW0l45c5jql8j+JkUX2GT6q0kQZwY0TgDfyx3M2DAuDfdodWb yjzWjSK62BF4iYUOS5xXBhSi3K3teto= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=4TRiJ7u7; spf=pass (imf20.hostedemail.com: domain of sagis@google.com designates 209.85.208.170 as permitted sender) smtp.mailfrom=sagis@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1717623254; a=rsa-sha256; cv=none; b=d7xvRpwjW9Y4bvNDScPxWeChnKu5tzSY5kPeZ+xrn2ZuRmM2rQUNHgA1Ts9iTm6/Gh8T0N g6elrCIFt4f69TT0z6ljOwgSlC9gQTKf3ZW/TfJtPsli5YKQZ+5hyfMYemklFOtRPCajAS c7kVxorS3mYq54jj2LpjLpkIroL2y+c= Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2e72224c395so2583521fa.3 for ; Wed, 05 Jun 2024 14:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717623253; x=1718228053; darn=kvack.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=4TRiJ7u7C18I0Tvzsn2g90GvJSQXBEdFuiyuC2MXJXEf0+beuEkHl8QSIQlhGlU6oY hteAOrr+o7fgNwE983AFsBfb4qBqZESmaig0h/ipY5LONU8OEqy6B6nuCLAC0HHk0CjA BhjPhW/aLM/nUQz5xkgc8zQKljPl8i9bRiyKt1qSaL91aAZYxQLM3n60J7OQXKJ/XSKT rdcw/m5ufPI7dG90XZKsaiSa2Sdt0E8S1TWZhjB7+EebohQXoaDHatEI8QFxfkE5FUbK lGiJkSkuZz9favhB+MJluKxK+uFUr3COvDh65tL38G5kwq7zu7sa/mrWxiBSs9Z4zZnL ifuA== 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=ZrRBINZScXqM75+b26YvCfc8uI0qZWMCEkFgxvyysrLFH9qVaI7nykvXB8o/xL1Gxs OWPbaKy7jAfbdpBCRXqYYU3cYShXna501sJseoP2aPkvIhrAd/BccXO5nkdCV5JS2Ojo 8ydGe26lC+hMaveMmZ+7jKOiJEnCyTu+GOu2QZeovEBA+K+VgL2y7HGCy39I/uZBo9iZ QMzn9vQLVQdX69maw7iJ8itD0+7VHWhp5crLgbFKF/+yS69KqXumrhqYeP4woyRIpTE9 UCDP3CL4v/FT+tlLLi9O0ylqjtKfceNBtrc0aLxqBfNTteG/cUHnv1iRZvjPbNt8aqEB E7xw== X-Forwarded-Encrypted: i=1; AJvYcCUgEjz/GbEk0DoN4Km908QL9bQwNm6pwThCpIb+lGY24zqEKlRDdPctceEPDWGpaS6usr8zj2xH11T3i+AU46uSipE= X-Gm-Message-State: AOJu0YyaN+Ukw9S4hsnDovIN5/T8oT59CPv12H7TOZGrDHiJqjwT1Fq0 onBzA7Yw66s8Xp4Uyu4e4wLoj52CsFgSpgWfvyjvePwo6zgd4/muwtQ8pqDCrZJFVh7JjVW3SJ8 P2fuIXHND3L8/AZk/KOHxc9b3LNeOuzYoR9Z0 X-Google-Smtp-Source: AGHT+IEdOZb+muxjYVFTWY+aXKl9l3o8/b/myC7ur8bwb93sdKO2CQP6FMP/O90RUPwrcXgQ4CKHzfyeI1VCz7Y62vw= 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) 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 X-Stat-Signature: cff3tc9z6f3dewfpdgcdzcm83w7oxrc1 X-Rspamd-Queue-Id: 562A61C0019 X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1717623254-779927 X-HE-Meta: U2FsdGVkX1+rH89F07ZMlhDw7IWdQI9GNRpdHytRBzzY0NSoixPmXYwepxDYcuz/ckpzLqz1yecevGXjufS1IAUuaTE5Il+ur6frPcGIGBb6gbg+wemuksWvLyrqEEIZggkL4cT7tQJfdRFOmAQN5W0r07h0vcgV6DQA6npscEzulDVoA0O1TRGr0oIQT7cdxFPbFMHkS4kZth332U5UL45UKZ2Jt/NkgGNHmexQ8bO3ZbwxTs/Qa+LV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amicity=0.000009, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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.