Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1714914lqm; Fri, 3 May 2024 04:39:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXduMf4MPNDnk2MbHnKAbYadBdTBJmH5Rt4ntRuUjnl1OhVAUwA00Z12gJiGP9PG28VS5yd+LsR3hejNbLFY3gn+qmew07fy6WURPb+qw== X-Google-Smtp-Source: AGHT+IHgt4T2mL+gmmWjqlWtk1+fqsmwGMWAWK3S3FtfKO7jSHuKzLAvDFcU321Zo9u82hDmv37v X-Received: by 2002:a05:6a00:c84:b0:6f3:ecdc:220e with SMTP id a4-20020a056a000c8400b006f3ecdc220emr2256123pfv.24.1714736362243; Fri, 03 May 2024 04:39:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714736362; cv=pass; d=google.com; s=arc-20160816; b=UVcRUMTZGTHl87oraCkPxCf2EsEv8oBaKLFoYttFRjLZTp6TTFDfFXfwkyKmq0Wano 4C6Z0c8+g9GLO5lLff4ldjfRYGuQ6QljUIdDZ8+gEZGC/Y9HYiW1Z0DRq7tnoRm78RP6 lu/ge1rhZ5NclYBN1K0ETayd1SvVW6P4Mh/UdpV8O+9qZKJveUb5MFHGHUUn0i/Ocqo/ YSJgQBRARrLnBTpQCWO8tOiobUhUAU67Udn/avkQJGotRMzPhaiRCBhy3RipXaCMGwcQ GHNM5DX4mUGzAUMD8P6vgfp1KCDgry+aOQ28CO8GVEqhMPJ753yUCIDvxXjCS5n1lK2L Ac0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8ZngNOUsfkI9V6kkGK3/kgbXMsqHQ0fozKTojYf3Dco=; fh=PhN3sk6CUyVNF3OS2B2fyMd+/tdLR+xsxgZIlBlAePQ=; b=eK90uKpAkxI9qfALCY12xC1YULExxCCF6tW6deCOf/EtDSy4/cGtBMEPMcHccwpnjQ xJ1J8KVn4KNyc0Cbp8ifC4cVBx/y0mlCHX5aj5Hq8mc64CVaOQqfHJWzpcdgDGq3zWqZ n9KRy7bp2zhe08DRaW6lcORQw9mIXni001uqLPwwvUs9/wDIHGLvifWH/o+V04TgvdSr 2zTdWPnQW/HPPl7MZQSnAnh7dwJ2zIxr2BkAsBMEIRkL64B4AgMMoPZsbpnpSEGVEnIm lp1vRPqKnr6sLHpwTUrJCevzBUPUpfb3wUucKxdGzCg9If6R7zsKQp1Q9ITLc0vzubBO lb5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=4cuJ8QfQ; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-167595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167595-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fx13-20020a056a00820d00b006eaa217e47fsi2754782pfb.104.2024.05.03.04.39.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:39:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=4cuJ8QfQ; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-167595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167595-linux.lists.archive=gmail.com@vger.kernel.org" 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 1935E284ACE for ; Fri, 3 May 2024 11:38:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D24F152DF2; Fri, 3 May 2024 11:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="4cuJ8QfQ" Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84B831509B2 for ; Fri, 3 May 2024 11:38:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714736307; cv=none; b=q624IkXAdyo0gIcotkni64+l9XmfwNMk1UUHCYmSIzlyfEGtKRrftk+9+K+VWY3tiJTwhWsJsDvF9JI19/mjk6odld54FGLM6b1MfdAhtx/MSbFmFOiVcfcIipDPfobvLdmFRxi0Ao3kLKRB85OGFgt4WEDYojs4oVfukc/b/EE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714736307; c=relaxed/simple; bh=rBI030nnjBaGuDp119mQ6rF4+O/VVsNKdIq/NQwkRf8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uagOcVmrIa5zgioU6fAC4AdEj46NCBpuEH587fuWO0CQckIjWq95Pko5avi3KXhdlXnMRs/CZtxA76ZB+5blO1rLOIh/loVykTZZ3wS7Rz5rLgEhAj6hZXTWibmhtoGmEyqeOW4p0avcBd7dZP4euJD+USLTjAanQhRABfAgWts= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b=4cuJ8QfQ; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (p4ffe0bdf.dip0.t-ipconnect.de [79.254.11.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 8A30B1C0D01; Fri, 3 May 2024 13:38:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1714736304; bh=rBI030nnjBaGuDp119mQ6rF4+O/VVsNKdIq/NQwkRf8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=4cuJ8QfQOgGOa4WUzUJMVUE9bxrwxLie0fgcNzaEjt7JoBadWwPunovk+QEXETfZh bbOpG6oIKAByFvKq7eq2XgjBauhWYYNwinBbuzl3qHnhCeGW3JMDmLIwTDUB9El+Er HYnX+PkEsL/UVx9vpYV4M9SBf91X+pFpqn+g625CQbuKrRralVXzcUeQNK0fYdQtzG CQPqEJbLT5Qk4Q+KDTVadwqZeku0/zRwpgit0O/iyA+ZfbgpIq/XDKS2J1k94J8Y2U lesfpgcHMN71yeWJXDpt/kmMPgdvmzwXCZdBzN1ZQtD8Q22SPJ0nsPDrGvq5Fo2aWI DSSurMAzOMRvA== Date: Fri, 3 May 2024 13:38:23 +0200 From: =?iso-8859-1?Q?J=F6rg_R=F6del?= To: Tom Lendacky Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-coco@lists.linux.dev, svsm-devel@coconut-svsm.dev, Peter Zijlstra , Michael Roth , Dave Hansen , Christoph Hellwig , Ingo Molnar , Borislav Petkov , Joel Becker , Andy Lutomirski , "H. Peter Anvin" , Thomas Gleixner , Dan Williams Subject: Re: [svsm-devel] [PATCH v4 00/15] Provide SEV-SNP support for running under an SVSM Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 24, 2024 at 10:57:56AM -0500, Tom Lendacky wrote: > Tom Lendacky (15): > x86/sev: Shorten snp_secrets_page_layout to snp_secrets_page > x86/sev: Rename snp_init() in the boot/compressed/sev.c file > x86/sev: Make the VMPL0 checking more straight forward > x86/sev: Check for the presence of an SVSM in the SNP Secrets page > x86/sev: Use kernel provided SVSM Calling Areas > x86/sev: Perform PVALIDATE using the SVSM when not at VMPL0 > x86/sev: Use the SVSM to create a vCPU when not in VMPL0 > x86/sev: Provide SVSM discovery support > x86/sev: Provide guest VMPL level to userspace > virt: sev-guest: Choose the VMPCK key based on executing VMPL > configfs-tsm: Allow the privlevel_floor attribute to be updated > fs/configfs: Add a callback to determine attribute visibility > x86/sev: Take advantage of configfs visibility support in TSM > x86/sev: Extend the config-fs attestation support for an SVSM > x86/sev: Allow non-VMPL0 execution when an SVSM is present I tested these on latest COCONUT-SVSM upstream and found no issues. Tested-by: Joerg Roedel