Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp550175lqr; Wed, 5 Jun 2024 13:42:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+HvabOnhFWP5KYbojcUhNruJ2sO19XOvGhmtxwae2h7CCHrg6hF4HF1cbfpXJhtc3oqhz8ukAqaHRnMLL3ZOwIkNmiEyfif7gw5NMTQ== X-Google-Smtp-Source: AGHT+IHrEDL1ShkWlxLQAyUapUGUJFJ4hUBRnHU1aefjM9OsSQN4k7E+APzNAAVaZ2oCo8Qjc0dy X-Received: by 2002:a2e:9303:0:b0:2e5:4007:16e with SMTP id 38308e7fff4ca-2eac7a71599mr23721731fa.32.1717620168134; Wed, 05 Jun 2024 13:42:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717620168; cv=pass; d=google.com; s=arc-20160816; b=rBwpxFr4wfQ2v+aGDmjThO1naAKduHtKlw/w5wY2EAdeKU6XIp3AD8pvDZSdDSRo6T rbmM74O40ub9yzKau4UJhLAeiCQsDrkAj4R+DRtin9bf8VP+Iyb5vIGVmB1TePD7XWqk 8wafv1bxkfGv5c+H52qgYRoG5Ha6X3K7O+ayu7mwGR1mPz0JUxvtd5pWfF+eppzHn8af k7/lD6bMdw8hyBChz1VeQAoARqBsJhjr9JEa4/NQIbtKXMA1HaIViYNLq0S6MiGljYTw Laohn7l1ZP5mMuxmr8EPKNCq/dbLCLjKklZUt69w2oiWNsKdooRLuV5CH6grfopi0DoO Vszw== 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=mrcPVHvvCNX9pKlb1e9kvFdVYrO4YyHw/Sk2tS356ok=; fh=kEsYh1svvSqEBtN3+/kBN6tf8RIX8ODkelGfeb38vBU=; b=CBwzV79nczpgW2UzPQV+4+0iRzEz8WSA+MH3J8UbGl7hVc6xSXmKweV2qlzmowLS07 G7URhF5ZNHdOO6EsVw8HjmvIoUqFCX/FRDtl+4bsr5i5hLH5G3LA9KAXt5hjUj+cjha5 xvB7cmeEYP5AkUai2zzl96pm4HnYLe0LruBUab0BXzFpwdgf9qSfVhC5zoGXraXX74Th Nv1/l13AtvrH6xRG9qVHajtlui2wMgy7c0emqbWx4OR5SA2KT6dX9FxjNIXbqk7CLa+Q dvRR6dPay9CLsuLvjljwMk2E7FB3lWG4q/T2Whe3rf9jYIWH2Ay+2RFOKUjxYf5YFCx+ c6pQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=D6nF7eOU; 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-203193-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c773besi6394038a12.400.2024.06.05.13.42.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:42:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203193-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=D6nF7eOU; 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-203193-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203193-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8B7061F24199 for ; Wed, 5 Jun 2024 20:42:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82B4F15F3E1; Wed, 5 Jun 2024 20:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="D6nF7eOU" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 D892115EFD0 for ; Wed, 5 Jun 2024 20:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717620152; cv=none; b=OVlL2SsyMZZKdIlXFy+SVC0oasd9Tc6LJskziVIreSmr8LcaVUrxB/UPSgc4rmgLnhOgvDEnzYUGb8E20kxB4ezgv7JKguu4tHr0/11e+X0Q/bHW9iyaSZF7sptVKIQeqXJvhdztbTLkmUNB0ZRaErHTgm8PVHDqjtpi9Czb868= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717620152; c=relaxed/simple; bh=mrcPVHvvCNX9pKlb1e9kvFdVYrO4YyHw/Sk2tS356ok=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NRKYUTYNHSzWg1+b7Vw7EuoaOtk8xQ39BvsIDsWEExINiIjlENykJXiNMadoi4ODAkcz0WdftE/HTJ6+WRDvbtZ2FRvJnNxF+dXGCaTgEkEFGqMqQYzR2ugcO/NZT3cZbXwufAPLsAh5jGdcDDLrZR+/VstY0VNizVdKdNp6MSI= 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=D6nF7eOU; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-52b912198a6so349645e87.0 for ; Wed, 05 Jun 2024 13:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717620148; x=1718224948; 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=mrcPVHvvCNX9pKlb1e9kvFdVYrO4YyHw/Sk2tS356ok=; b=D6nF7eOUd+P3MFAcTNFjBZ9XEspzyHLGN33kZ1plO9v/AWX4dD2BKINpOEghOPiSUN ch1rVIhXTkIZMuFk1QZzWJW5kcCOm4xRn1TTmKgaPwE1Obp+XoUtrhBFdXcvpAyot6ND Hl+bjFw7Hi70VFS0PJHVbmId9dxCASWFnrrXjI0EUuztwKfP2wWkHnh6xFfYFkYn2he8 zpsxMLU1NoBqOiCAwIcB6HelXdPKVTs44db/L/78ZnPqKfMHDgeLjYQ+OZbFfjDvZwLE z5/tAuOLdb+H258ijN++wQxx5sRydmZxEf43WSLpfbXQhNUwxBakPecNmvVgyImACRt1 kQLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717620148; x=1718224948; 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=mrcPVHvvCNX9pKlb1e9kvFdVYrO4YyHw/Sk2tS356ok=; b=T5UGFMxSlOjoJPYjyCgCNJR2mWQJHfTLDZwSZem2idFONI47gnYR0CuymXcvoNew6X IK+3yQhEl3EGJyE2YDHYQ7EFqWxtA+rGFirOYSbVMBpz3CZcECt/TF9R83CXM08b5Bed OLmOnMyVcL4ws1+Q8GgKuzER7xXvVyHreU7HkdCQSjh1vpi7awauyFa3VgFJLwrKUZpt gmitL0+WSEnhT17b1/r30cGpdAbx2pG+EyjYZo6V+kBDmWvhG4IwAIgpr3MhQBqp7PI2 0CS+EcHimmo/QkaKVCP2/fcvXBuIv8uKzfupnxd3A1ObrbqiENmqJYDN6ierDTBb7I1W GznA== X-Forwarded-Encrypted: i=1; AJvYcCVO90SU8hm4fWH7SG0T1jCvkamomSC/9tMJ3pD21pKnBDoJ/HMBwqu7rJ81N6y+eyGiCc00LlKW1hDtFInYGr3zwuHETrqzTexsear/ X-Gm-Message-State: AOJu0Yy2SmF9Cwa5RWpcLCRg9UhxmqAGc/F/0MzMYS3XA8d4QK4MkSJ3 MzRlvoZJPc7KuhXN5DFLUhpisbSGi2E+8AgaONk+64t28p4uFXPozAnDhda+rI8UN705k2lX+e0 WdDeMuUqnd+idlm8bohut2uce+KhCVjGUcXdr X-Received: by 2002:a19:ca59:0:b0:523:8723:32de with SMTP id 2adb3069b0e04-52bab5078f6mr2278150e87.53.1717620147678; Wed, 05 Jun 2024 13:42:27 -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: <7c3abac8c28310916651a25c30277fc1efbad56f.camel@intel.com> From: Sagi Shahar Date: Wed, 5 Jun 2024 15:42:16 -0500 Message-ID: Subject: Re: [RFC PATCH v5 00/29] TDX KVM selftests To: "Verma, Vishal L" Cc: "vipinsh@google.com" , "Aktas, Erdem" , "shuah@kernel.org" , "Xu, Haibo1" , "kvm@vger.kernel.org" , "Afranji, Ryan" , "dmatlack@google.com" , "seanjc@google.com" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "ackerleytng@google.com" , "Yamahata, Isaku" , "pbonzini@redhat.com" , "jmattson@google.com" , "Annapurve, Vishal" , "runanwang@google.com" , "Edgecombe, Rick P" , "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:18=E2=80=AFPM Verma, Vishal L wrote: > > On Wed, 2024-06-05 at 20:15 +0000, Verma, Vishal L wrote: > > On Wed, 2024-06-05 at 15:10 -0500, Sagi Shahar wrote: > > > On Wed, Jun 5, 2024 at 1:38=E2=80=AFPM Verma, Vishal L wrote: > > > > > > > > On Tue, 2023-12-12 at 12:46 -0800, Sagi Shahar wrote: > > > > > Hello, > > > > > > > > > > This is v4 of the patch series for TDX selftests. > > > > > > > > > > It has been updated for Intel=E2=80=99s v17 of the TDX host patch= es which was > > > > > proposed here: > > > > > https://lore.kernel.org/all/cover.1699368322.git.isaku.yamahata@i= ntel.com/ > > > > > > > > > > The tree can be found at: > > > > > https://github.com/googleprodkernel/linux-cc/tree/tdx-selftests-r= fc-v5 > > > > > > > > Hello, > > > > > > > > I wanted to check if there were any plans from Google to refresh th= is > > > > series for the current TDX patches and the kvm-coco-queue baseline? > > > > > > > I'm going to work on it soon and was planning on using Isaku's V19 of > > > the TDX host patches > > > > That's great, thank you! > > > > > > > > > I'm setting up a CI system that the team is using to test updates t= o > > > > the different TDX patch series, and it currently runs the KVM Unit > > > > tests, and kvm selftests, and we'd like to be able to add these thr= ee > > > > new TDX tests to that as well. > > > > > > > > I tried to take a quick shot at rebasing it, but ran into several > > > > conflicts since kvm-coco-queue has in the meantime made changes e.g= . in > > > > tools/testing/selftests/kvm/lib/x86_64/processor.c vcpu_setup(). > > > > > > > > If you can help rebase this, Rick's MMU prep series might be a good > > > > baseline to use: > > > > https://lore.kernel.org/all/20240530210714.364118-1-rick.p.edgecomb= e@intel.com/ > > > > > > This patch series only includes the basic TDX MMU changes and is > > > missing a lot of the TDX support. Not sure how this can be used as a > > > baseline without the rest of the TDX patches. Are there other patch > > > series that were posted based on this series which provides the rest > > > of the TDX support? > > > > Hm you're right, I was looking more narrowly because of the kvm-coco- > > queue conflicts, for some of which even v19 might be too old. The MMU > > prep series uses a much more recent kvm-coco-queue baseline. > > > > Rick, can we post a branch with /everything/ on this MMU prep baseline > > 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 branch s= oon? > > > > > > > > > > This is also available in a tree at: > > > > https://github.com/intel/tdx/tree/tdx_kvm_dev-2024-05-30 > > > > > > > > >