Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1495945rdb; Tue, 30 Jan 2024 23:32:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6+SH4QK2SYbDiHxZKZYPY+YsMEUuwcCEaH/XpLgbAiGGXrIn8Y6McaIGYndjpYD5jJfRB X-Received: by 2002:a17:906:7d56:b0:a35:c371:8b27 with SMTP id l22-20020a1709067d5600b00a35c3718b27mr457569ejp.30.1706686356733; Tue, 30 Jan 2024 23:32:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706686356; cv=pass; d=google.com; s=arc-20160816; b=VP24y2wwnqTIy+YZxdmKRGj9N+cDQ1S11oBhVI06S77YUKb630FMKSCoN6U4S/T7QI P1uBUkq8Gk0gHwtrSN2gTzjNzzefjADwmAvmgx2sWEl0ZpzVxc8zHhPE5Gxr8Vt77jOw kHqEk9vg8I+xC0LA5DJviZNd8rERMvQwqjujEOzMYuHfxrHH7sy/q7EvC8oBdINBCr8H 7RzyoUTWoa2umPxMTJ5GQC9HQxGUEGkLe9zq0S2J9E9E+Y/js0fOF36iLIvosATiELmK SUaHFbNa5eTmbaQU/kRS5eGPYXDburGQo4sfkfQUySLL/Iq59xWMsn8/2uLAq4CBbzJ1 KR7Q== 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=4Kjl9jkNKfQ+jTyuemj6gc3E9MJ5mD2Pes6z9Kzttk0=; fh=SJGSwaHEj1q/vyry6CMlTAr4kjCNXQcoVMfu7HRIavc=; b=kJ6mImhASIAzhtx1iRx/ltCRtVUeKGyf6uDabtsBmabH0JFShGpQCjvqrY3Tx801Bf ukvcj06z1PXmZY1yZ61bS3Z/zof4bdiAQSjszXWc878l8Sxi3EK2MZzuBrB8446vSxNH ssk9BjZB+Sr/WMH9O/Zi2GmawOx+RmwKxjWvltegyGSMHeEnmPNJrzX5pgVfNlITItsK kGIXnkjsmgNLXDouAlO0IK6KkMtqtNsMOckrMqmFJrCdf+myG3YNCEUtHVWPtOLP2OVn M7Rjh5zjNED/absvvCfbAzWYRnj+I2MC1tU0r49j82DysaevDrkfdkHCqWJle6YAVZ6s mAPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=f1siF1NH; 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-45927-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=1; AJvYcCWvTNc9MwT9QPGaDGVm70OKBu3meUUCzddMjbzAp4UXlMulNqnFxuvCzo84FW3GGSzxKwETEFoXml2vlQhBl5DVvilMsToo6Wt1aDMDMg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k26-20020a170906579a00b00a30fc521223si5324400ejq.76.2024.01.30.23.32.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:32:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45927-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=f1siF1NH; 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-45927-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45927-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 7E6211F27846 for ; Wed, 31 Jan 2024 07:32:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44D0E537F8; Wed, 31 Jan 2024 07:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="f1siF1NH" 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 EF2C450A7C; Wed, 31 Jan 2024 07:32:25 +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=1706686348; cv=none; b=ingBTlWgyo/sb66AKYXTjhh5xqkNvMdvF/d7WqrOyZqkjEX+FcFdY96bbn4Nsbsc+tNo8PRrJ1O77ojuXhStIIr6TpPZDFHDK/F/iaQSKuJnG/PRi81FpZli2EP3HiWhHhEkRCEmzutYxKrVg9yigjKPH3Vc7GwA/trhSrpGVNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706686348; c=relaxed/simple; bh=pgyAw8iVHEbKDoIUzik08bQYOc4UhRc4AOUSm9mIbiw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=W5ruAqrZbRVTNNCpugsJkNXPzTVGkKILOkeu2qtLujZUCmm2tM09Nd9uF5/nd/UpyGrnjJtC2N3hennHLeWi42FDQDm9g/tDnM0EjO/N0YO27UzVzML0ZFR4ryKh0bq3Gi+6Mmn6YXAqCbWwS3rAGuq3YjiQ4HA9wfEthfv3448= 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=f1siF1NH; 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 76C9E40E0177; Wed, 31 Jan 2024 07:32:23 +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 uu-ek8orGlLV; Wed, 31 Jan 2024 07:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706686341; bh=4Kjl9jkNKfQ+jTyuemj6gc3E9MJ5mD2Pes6z9Kzttk0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f1siF1NHDuVwULjFf7dcR0YIrzh5ESly6O2pk1RpPg3mexdymmqb8WkleMy5AaCaT +LEa3/Ti+zdJR3cC7wwZIi7P6SLMOcGxbP7MRa480cs4PvoW7JTgX7hcr7fi829Aaf pqAdmdjfb2TN1FnRC42B6LhbES3mtXZxd+odQUxlHtj2gSf54Euri06mBpcVjKoni3 RoxSxQnDUmol1J0Qf8S8NTaU8PEBVGYOUV99PcezuZefCXEurUBqk+N00mVUofE0M8 QaAfb5XWyK4oVeFUrbE2u94H4NA6OEVaGk9aQCFJARNhth9gSvYrh5yj9yZ1VyYuI/ f5Wue99ErQqCF+oWV0ABrd4JYS2DeHoQZh/FpEdV/5dROw63OQwU84xDTqFqZnfpa7 y+AAeT9taj42oV3yscn4nN/tUUz6Ah/k4hW6Mp4I+s9JH0D0ZrHXNAsexOsC2jddZU bWenXqv3+PHkdAucidcGxxXuNg0N08J0Llhem3yYg7cHFfls+reYf3kXexehYVNCqU Vrupnzqig0BngwQOccnoorA2pYAz775lVG9ZxgJH5oNEpezw7knquviR6WK37ARAGH kjJOJmvVvvRY+bWXL5w+rfpgCxl9yMJINny7camU96eoz3Ex61PVTWWj97uOs+I1Jc 4nSLQq1KG7NtPwXpA/yq977w= Received: from zn.tnic (pd953033e.dip0.t-ipconnect.de [217.83.3.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1C05240E01FA; Wed, 31 Jan 2024 07:32:03 +0000 (UTC) Date: Wed, 31 Jan 2024 08:31:56 +0100 From: Borislav Petkov To: Ard Biesheuvel Cc: linux-kernel@vger.kernel.org, Ard Biesheuvel , Kevin Loughlin , Tom Lendacky , Dionna Glaze , Thomas Gleixner , Ingo Molnar , Dave Hansen , Andy Lutomirski , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Justin Stitt , Kees Cook , Brian Gerst , linux-arch@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v3 01/19] efi/libstub: Add generic support for parsing mem_encrypt= Message-ID: <20240131073156.GHZbn3bILaWLEluzp-@fat_crate.local> References: <20240129180502.4069817-21-ardb+git@google.com> <20240129180502.4069817-22-ardb+git@google.com> 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-Disposition: inline In-Reply-To: <20240129180502.4069817-22-ardb+git@google.com> On Mon, Jan 29, 2024 at 07:05:04PM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > Parse the mem_encrypt= command line parameter from the EFI stub if > CONFIG_ARCH_HAS_MEM_ENCRYPT=y, so that it can be passed to the early > boot code by the arch code in the stub. I guess all systems which do memory encryption are EFI systems anyway so we should not worry about the old ones... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette