From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1B701E898 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="QIAhxCij" 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-coco@lists.linux.dev 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