Received: by 2002:ab2:79d4:0:b0:1fb:83da:398 with SMTP id t20csp61306lqp; Thu, 30 May 2024 10:06:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVssjv86y7Vdxm4cNbcvcEGu+gM+RNI6PruR93oDhcDkNLSGOvcKDsCljTFJ/aSI4iXrnT70kjvxS+r5Liviv5fupWbH9P50YN1/MIZgg== X-Google-Smtp-Source: AGHT+IFGo8vGbiRJ1YabeuT6TLqdfV3ezK0+J6deoKnY/JOr1bJ71wCjwOaPhYFSegUSqwKOx1AU X-Received: by 2002:ac2:5147:0:b0:52a:e852:72e4 with SMTP id 2adb3069b0e04-52b7d47abf7mr1843140e87.45.1717088807568; Thu, 30 May 2024 10:06:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717088807; cv=pass; d=google.com; s=arc-20160816; b=yUxUBSgLinWUIZGDVLAJfltitFxIrzjo2PX+MIkKlDS3Z+GU6SZQaMVcxBFME2OcrW oBuV3+qFrTnHl9zCFfxoTXypBeG+tjfYcMs8XGcF4L43MKMXBy+etyRQmJHYkRMe+VgM M5ZYh8xk7vYhIsKcJr2JpUaNGcR0vPD3o+mZwZ3A0xESW+HjUael3VBbEtFrxREy/VE9 4dqtcJtUDkeMQGMgP0zUURCSrQ6f4lbHpSpZeixK2c7EwQYVWxPEOwZU496G1BUmWMrD W3DqddWLIfYRuzrB4VEw7XzyAzTJp6i8W5CkK/8yjSxAMb7oaN76A+iO5i5C2wHMPFlH Ve9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:references:in-reply-to :user-agent:subject:cc:to:from:date:dkim-signature; bh=NIJhHBYRXpsOpCMDaZBRg66bIGp2F6TZ3LYJusBswTw=; fh=yOXSm0E/8tOfmRnhk0JfE6MKLQieMwDr2DHng9Fw+Y4=; b=Lm95zBYijtufTWK6naD5Z0hLr2Z9CWMzhXZek6gRCaK79z5YaWIwZA83AGdYtWCoAN H0S3nLYMu0vQYsgaPN+G0Re4khovHiDLFyU6diGTIEWBwDWnGjrZh4Uoaf9TpLZ64M08 fhwKUgJa0fgxsbu8VYFI51fgUDCQXdWQYftjdtYzpZ6mWvTa9fGjVgrcwj24rZwC4iHu jS8S2NFXEpmrhVwLOPQ16/NAIjiJgIgOJIM2Tsob2ghuzWrr+pwU3uYMd4Rav3YjaFBQ oszRWmHx4P0M1JDY3zHQkgYDAwN8gvGj9P4IxbttjA1oGOuFla4hKPIhJmMgILFyUW4X Rf3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=D0hx+6mW; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-195704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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-57a31c788e8si16528a12.447.2024.05.30.10.06.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 10:06:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195704-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=@alien8.de header.s=alien8 header.b=D0hx+6mW; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-195704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 4740E1F21DDC for ; Thu, 30 May 2024 17:06:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B06442076; Thu, 30 May 2024 17:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="D0hx+6mW" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF15545BEF for ; Thu, 30 May 2024 17:06:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717088801; cv=none; b=qcGUhZJqRN4tQIqXilhrsQdSW2np5jA4jA0n0xaPbLe/eJ4goxu2HSrqpPY0/F9J8YljA/guRd5jYF1s6wNMdFE/kRGF2MyvVdVf81wZUzuXNjrivvZ5I6F9+tLY31qOm4Pghn8Pvs7d9RnqetHxncEoVqRWvPlWLQ0jEnYWgMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717088801; c=relaxed/simple; bh=gtdu0GvAQFq8iw8q+5qfg7hoyhbmRH7qS9rbJZ8b2pg=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=fnfL3QT9EeNgSS6ca8hjZC51Od7dtxCTTtQS0uACz858LUO0O67OWrwAlHosdC2fsAkGdQMRR/ASQOimVnXvvaCQ0seZETVk3HUVaBTE0eRM+c+3BejL3sn8+Ewe2ympLj/8JCEIK0HawLbXNZpQaPZhkx7Wo2V3Ui9CCdzmPA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=D0hx+6mW; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 9C87540E0192; Thu, 30 May 2024 17:06:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sNYyHG-YTVhx; Thu, 30 May 2024 17:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1717088789; bh=NIJhHBYRXpsOpCMDaZBRg66bIGp2F6TZ3LYJusBswTw=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=D0hx+6mW4KXBs5YWbfF192f9g1dp5vAbEAD0981MrCo83AR/hJgT6La4iNba4zp9B dFN8/FbZLldqWdoKULCvGhdrRoRS56tWw4L66fKKQyT6VclbzJPERJmkVqwczxVJFO hKLkBTV7RD0+KeCO6rwcAZWYIL3yXMLgqcAN5ueR94KaIDM7sjw+GbamIQJVQpycO5 rgF3H5FpayfB/FmnKe1ubeOi1AgSntci3VvO+OYk0b5QWwGJVYer4ge0hpyUlwvQfe wyHkkQ3EFV2qH4Y/DOjLU5UlEDGQF0OPpB2le5gMz8Dc64x2F9KObQkEmmYzskD+ab 60sAn8zCNCcCePMi4gPf5PtuQyWJN5mPo2lr7HJ9MHqjcMYLyZCuLTaGupDCiSm3rU YaqRw2XxCkwGES2WPBkkwuwLJhYtU71Zj1SrLBWqBe3SvX52VGXGmXGDSuOpo5l5lx Lxt8TlWT8Ro8e+/aYn2sutgwusaNlapdKQt2i5vSL4j4lItPB4MSO97Etfoax66XiR jzk/Zik2POMYZWQvXAP4umo9iZ4QL4hFPkxiGSSnST/2Q2PgZ8JONrygfkbMQm9sP+ DChBobSMA5+8kPsHqZ0AtNR64Dr4QIQx4+La2zo88n5AHj/WkHIXWMKjizTK/Viq+8 q6rYMpwgbpXd34TsX+9srG6M= Received: from [IPv6:::1] (unknown [IPv6:2a02:3038:20f:938d:41e9:261d:4ad2:487c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 6E9C440E0177; Thu, 30 May 2024 17:06:15 +0000 (UTC) Date: Thu, 30 May 2024 19:06:12 +0200 From: Borislav Petkov To: Tom Lendacky CC: linux-kernel@vger.kernel.org, x86@kernel.org, linux-coco@lists.linux.dev, svsm-devel@coconut-svsm.dev, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Dan Williams , Michael Roth , Ashish Kalra Subject: Re: [PATCH v4 09/15] x86/sev: Provide guest VMPL level to userspace User-Agent: K-9 Mail for Android In-Reply-To: References: <435f78e07c76e25d2d857138724098bc2a729b0a.1713974291.git.thomas.lendacky@amd.com> <20240527135101.GBZlSPxQ6iBSlMDefY@fat_crate.local> Message-ID: 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=utf-8 Content-Transfer-Encoding: quoted-printable On May 28, 2024 11:08:35 PM GMT+02:00, Tom Lendacky wrote: >I can move it there=2E Or what about creating a coco folder under /sys/ke= rnel/? This would then create /sys/kernel/coco/sev/? > Sysfs hierarchy is special - can't just add stuff willy nilly=2E This doc = hints at that: https://git=2Ekernel=2Eorg/pub/scm/linux/kernel/git/torvalds/linux=2Egit/t= ree/Documentation/filesystems/sysfs=2Erst And then those things get documented here: https://git=2Ekernel=2Eorg/pub/scm/linux/kernel/git/torvalds/linux=2Egit/t= ree/Documentation/ABI and supported forever and ever until the end of time=2E So the usage needs to be precisely documented and weighed whether we reall= y need it=2E=2E=2E Thx=2E --=20 Sent from a small device: formatting sucks and brevity is inevitable=2E