From mboxrd@z Thu Jan 1 00:00:00 1970 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 AAD71158538 for ; Mon, 14 Oct 2024 22:23:27 +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=1728944609; cv=none; b=O4mhVI932ZoXwuTpvPctqMsSvoD4F2NgTRsG7v0sVkSDQZ/GeMgsaXrHkEJ4riVKwS6HR8OTxtpgP4qIRrF3978fq2nc0Wg0UZB+Lo5cC39Yu3RfK/3CvvmXxJY7CnUmYpIX5BBtiOvHrTS2xVa57uJ6dR+4zBORxyK7AyI6rM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728944609; c=relaxed/simple; bh=gv0x2b2PoNf+TkwQtGQA+hFg+JPenw8viKr0DO6+Lrw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=KUPyO/7Zxx/tkubSskmnvOdGj22Do8O8uyDKMp/aDK1EXkQhKPHPTnsGb32Jk68ycBfOd6r7Cwcb9IEdXXceB9d76nXELd9CACCHAhZDiXBD19GDAh9zdSNotWw6brDmtFsUAXXTOp0qUHJ8a075LaG2RKAmxkx2r/GAtr+kirw= 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=dmscKdKd; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dmscKdKd" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6886cd07673so87061947b3.3 for ; Mon, 14 Oct 2024 15:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728944607; x=1729549407; 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=04cHKHgrL7/J8cmYsPL4VJWOHoKjBPFN4M3VyEvV5R0=; b=dmscKdKdFgr4vIWTzKuUpRr/TiJcXCjGaqTjdrm+niwpeDtiHbW65afu3m4uRbhg/+ 9+WXKrWeOhLddjGcxl/44D9ppNphOQyYtnzy6iaDdK3RYkLriVacumNslrqHrFsHnXNt ERPPhN5kytTwA3Zv39PDA4Fg34QARkOBTWwSWAqZudZsLrGM6/082rCpkG/ziXyopRo6 aa7vkHcF57N50vNqpR7iMJ52FJNXrDcnt78d3FE8XOdOxitnQEgAu65dnRzaOnO4kJ9Q OOZdHqIWrGZwUFcbNJchK2coSwXMT6j3PUmTpW4KXueET75JJbkUJq/XmtTocxAE+MSA W0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728944607; x=1729549407; 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=04cHKHgrL7/J8cmYsPL4VJWOHoKjBPFN4M3VyEvV5R0=; b=ListRxQcATho/6xVEsCF2f4LwbP7KYIox9FFhooTPJ4LehMSHOMz8zSXo0iwPEehAB wM3eJIt2PtN5q75yzbJKPAYlIZVJLuJs4DgfjQhDWAmWNA7r/JeFLjvJnfOfXc92lyyk +nDXA5LktFbY4IMMWRMI8T+OqDSuOk/8uR1eUZqjhgq7+Q0XUyX0yXzj7tqWEofKyt6L 8Z5n855AXmhVPLyyQ6gS1a3+VQX6/EYqap2cBsr3ewt8EQmB0jASB/miKWR1zLrHmpLr CQLbyxi/DpdKSDlAfCigmDZdgmF6if6Nx8jBKBoUz4H4PkAfmichAVmKzawS6f1ifypC As4A== X-Forwarded-Encrypted: i=1; AJvYcCWWnJBuhhvdEGPdxORbP/2ZTi7Kk/N0jcGKp6JYWwXJy6HEZovrDElcrqYmEJ6haYy+ALI4NZCY7Tk+EfWl2us=@vger.kernel.org X-Gm-Message-State: AOJu0YxLWReeSqOGgt5TzaM5yM0NyDhA/jPOQeVzdYZc2tEb+DmA/8T2 r+19pn25NTJKsHdtjrbzoT9SVLnKPvcnBCcQHAqzFhH62h8VGwoCOO8Sa2hETq27VsTKVwIt2va uyg== X-Google-Smtp-Source: AGHT+IG1Ae3jO/kXIxxJfLv3WIvlsTh01ooR6ufsPDh2fil0948QVn7sffNeuOmPj+rxynNQ01OzSz8yDL0= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:9d:3983:ac13:c240]) (user=seanjc job=sendgmr) by 2002:a05:690c:d8c:b0:6e2:a129:1620 with SMTP id 00721157ae682-6e347b2d7d9mr281187b3.3.1728944606659; Mon, 14 Oct 2024 15:23:26 -0700 (PDT) Date: Mon, 14 Oct 2024 15:23:25 -0700 In-Reply-To: <20240905124107.6954-1-pratikrajesh.sampat@amd.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240905124107.6954-1-pratikrajesh.sampat@amd.com> Message-ID: Subject: Re: [PATCH v3 0/9] SEV Kernel Selftests From: Sean Christopherson To: "Pratik R. Sampat" Cc: kvm@vger.kernel.org, pbonzini@redhat.com, pgonda@google.com, thomas.lendacky@amd.com, michael.roth@amd.com, shuah@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Thu, Sep 05, 2024, Pratik R. Sampat wrote: > This series primarily introduces SEV-SNP test for the kernel selftest > framework. It tests boot, ioctl, pre fault, and fallocate in various > combinations to exercise both positive and negative launch flow paths. > > Patch 1 - Adds a wrapper for the ioctl calls that decouple ioctl and > asserts, which enables the use of negative test cases. No functional > change intended. > Patch 2 - Extend the sev smoke tests to use the SNP specific ioctl > calls and sets up memory to boot a SNP guest VM > Patch 3 - Adds SNP to shutdown testing > Patch 4, 5 - Tests the ioctl path for SEV, SEV-ES and SNP > Patch 6 - Adds support for SNP in KVM_SEV_INIT2 tests > Patch 7,8,9 - Enable Prefault tests for SEV, SEV-ES and SNP There are three separate series here: 1. Smoke test support for SNP 2. Negative tests for SEV+ 3. Prefault tests for SEV+ #3 likely has a dependency on #1, and probably on #2 as well (for style if nothing else). But that's really just an argument for focuing on #1 first, and the moving onto the others once that's ready to go.