Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1714077lqm; Fri, 3 May 2024 04:37:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUa4xw+ncxJ/2sYhVviB6IasYHJz4ofFmaZeLJLePUrfkWAUcQ6Vq6ojWD5ND13WeoCSlBXRMLPS5f0zNlQ4dnHEsAeEO3/gnlKWG0Cmg== X-Google-Smtp-Source: AGHT+IFU7zwG/hhzkYg66hUXJXs7IYQxa0jR35EGxX8t8NwhGocfy0JTiJT4p2M7W1MN2pNliAVd X-Received: by 2002:a50:d699:0:b0:56e:603:9fc9 with SMTP id r25-20020a50d699000000b0056e06039fc9mr1591619edi.3.1714736252256; Fri, 03 May 2024 04:37:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714736252; cv=pass; d=google.com; s=arc-20160816; b=KokVtjKsciHEQZoYKlOygFFbd/h5MUpOuHKkZdOxF1kST05Wqp1hgodlKV746p7qRn oCDM7azPzZ+xH+kKh4m0vTDR5MI8dd06pLPXWgwoK9wBrD/m2A2ZW3Jb0IabjsZwUplG i648fgva1typsFgUJ9aILQcx0EdcIvW1XEih9s4SDrRkJuYRJDwu4OGjRbCm4VOpJFOU miDlE23yzloU7bVToP+l3bZGX0VSLpkcq4CSP0wfxB7iA8zXtEY5crZz0lHUkiyk8ju+ p8bFbk9k45V2Zuo2GSgpB/o4sjNq4t9oCPRa/gsuMXcrKqVE/mdhlJI3zHl25YtaBWYE 8wFA== 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=lQtYMJu/hTNk3OTRR+ikgg5Ap6700RMG7IeUC2H4img=; fh=jzEQ8SGi8RzjedrjzqamGMrzxaH8NR476hNMoWtWlt0=; b=FNupWs+k+TgZNQmE0VHs0YKMtxUZAfH/Ej2yZvr5ue6u2xQwH7W9NQAz4tFIvhioCA JHeoyHHi0q9iOVfKK8p6IkqWr6VKeu+hv+xhtMcA0vSyJcllpwfr6keV8kvhrCwySsaS 1+E+ZWf0hxeiyLnA7MkymvJvfY8MyVMJD8VAK7iGac6mUlCOA1NHoMC47XPl2MJjK5l4 YYj35mBOcSaJq2niXZ7ehWCVsZhqXsPNfBbc4HQ5XeautVML5EMbohBX9dsX/shc2uYK 2Ug98d2Z5S7ZY5H4PZsq5KE7MnTfKB/4+YEwEZhaCeu03DzksCUaG/B3yjjuPNr4H20F lV0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=QIAhxCij; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-167593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167593-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s6-20020a056402520600b00572a231814fsi1586248edd.75.2024.05.03.04.37.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:37:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167593-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=@8bytes.org header.s=default header.b=QIAhxCij; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-167593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167593-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F125F1F21E2E for ; Fri, 3 May 2024 11:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 408EE152788; Fri, 3 May 2024 11:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="QIAhxCij" Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1B38C2E9 for ; Fri, 3 May 2024 11:37:23 +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=1714736245; cv=none; b=TcjjrotEf87LXKtpWBCs9/3SMCHnk+rughrEXgO+CQx3pF2LMEzAeAi98HI/N9SMYELUe7Hy5EqxnTexYSXQnNa4ZYD1M2ipX5U1UEqRvVNAByCuvwuTR7W5ZIS6Q2+32w7YE2JEbM5Z47XGjGsNh31ZII59tCktxWOZIabvrG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714736245; c=relaxed/simple; bh=ovvpZtA9Sqmx0FN7EsTrKN/CiL5vmokMEuCX7JrSClo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sF0C3cDAO/bb7cbGnq3bXktTd1oC4lMSJjJc8H0H92HjZsB571JnEI94AZVrTDkeQ9BzETwQtkdhOMSVvb7J2Go7J9nNl4AOKxPldhcEFcUkm1xBAJqOjMzZyqFm/3w8ahQzd60UJFRML8ZsVlAlW8I2xC1OiwHJErHmyTtb18s= 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=QIAhxCij; 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 E7B511C0BCF; Fri, 3 May 2024 13:37:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1714736242; bh=ovvpZtA9Sqmx0FN7EsTrKN/CiL5vmokMEuCX7JrSClo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QIAhxCijngJFfXNvrSGwWdLpSsgG3+PHsd91CUqlJofGDSJsuxldCb64LQbl8Fuhf Ii47bjitgT+MbR5xyFSHmN/EZ0zIj+XFkEWRwNx2B7qzXMchTxSRaLgoxuwCubuU62 PR2WV5Kb/0vbR6oi97031EM+r0h6TuMnfrGrBmukpYgPvNkzuVmqZWFm9F9X6RbHr+ u8wRrcs3wyOS0upwjcV46dvHA8uDILHRu7/fEKJ6HaQ/BVdC0zdzIfCFRBTL3FTw8D s9fu0YZCOPOtMUWdL+wbCQMFyt5lIrO2Wmk7BMkI4Tw0fUuE9TYjeDidZ8omAOfy4s WuaIuAHuaVmhw== Date: Fri, 3 May 2024 13:37:20 +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 , Ingo Molnar , Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , Thomas Gleixner , Dan Williams Subject: Re: [svsm-devel] [PATCH v4 15/15] x86/sev: Allow non-VMPL0 execution when an SVSM is present 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:58:11AM -0500, Tom Lendacky wrote: > +static void __init report_vmpl_level(void) > +{ > + if (!cc_platform_has(CC_ATTR_GUEST_SEV_SNP)) > + return; > + > + pr_info("SNP running at VMPL%u.\n", vmpl); Nit: Can this be formated more like "SNP running at VMPL-%u"? That makes it easier to parse for me when looking into dmesg :) Regards, Joerg