Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1206374rwr; Wed, 3 May 2023 11:32:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ewQPABnTxsLehgRULfzN4XskBkC7iB0TS0P3Ns5+hF9k6GIggFuf6IkAIul3Am13XAqpA X-Received: by 2002:a05:6a20:258b:b0:f6:51ff:9c27 with SMTP id k11-20020a056a20258b00b000f651ff9c27mr30483410pzd.42.1683138733798; Wed, 03 May 2023 11:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683138733; cv=none; d=google.com; s=arc-20160816; b=jOUXXenrDhItCOm69SWEtxmuUOhA/ac6B2u8V+HjBq1wx/PcNy/1WR6CjrT2+XrwO+ KLIsKVwljgJv3DEI1R2SJA3khEYaXpeUdjsEDyyS4Wt0c2wNumQCyxvtOS93VZZ9GbaJ LBtAyxsFQM/Bb4c84NyE8zSJAPYCzB5oCHdX1cqcgDjAx86/cAL9psmBSHV+y6At2xOw jAgr7A28QcEmZteodVoF0kIboi6nMepe15T1eLYf6RBwZf2IKiuoz+MhaJISquCXSH1D gpx7X7LIBowYIUqs/Yh8v1kqx9Sahs4k8YznKsNatyXNPu8lTIUvyMou2lgxs0PVWdbD ROmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iWLErMvOWaKoW0oVpbqNFUUKIEuWA+CRFAzvpHhYlF8=; b=b1sWDHXEkPek5NmZ8YVkAqJA+D1NRlx0ymNwPsmKSJUdskAx3IOX62+4Dm1tnjJV6D EIrLxPX5pnxOI3MDAURhYHek7hxb0vAT1dCajwZZLCBwYTjaaupuRvQBiwdEblSyEnHS YIRyFGTgv+G+U6ThvHRO+gGOfR/zHMOIIw3q+RewovbFNG+TuX6y2C0ox42h9uv1ta7Q CRazzJUFPFdreH6VQvT/9rlL9CFtTCeCQPYQOO5jV8zndA7GlUdzxJF6GaDDdWGhofd8 VokW96ZWlhdY7jZDOxjLwL4O1M3DAmnUijFlegw7qeR4+gAESI1ReV91/PK85XX94Xmi 3VSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=rUCZd0Ys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e18-20020a63e012000000b0051b5fc497e9si32638363pgh.739.2023.05.03.11.31.58; Wed, 03 May 2023 11:32:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=rUCZd0Ys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjECSYq (ORCPT + 99 others); Wed, 3 May 2023 14:24:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbjECSYm (ORCPT ); Wed, 3 May 2023 14:24:42 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AFF24237; Wed, 3 May 2023 11:24:41 -0700 (PDT) Received: from zn.tnic (p5de8e8ea.dip0.t-ipconnect.de [93.232.232.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 152551EC0506; Wed, 3 May 2023 20:24:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1683138279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=iWLErMvOWaKoW0oVpbqNFUUKIEuWA+CRFAzvpHhYlF8=; b=rUCZd0YsQ+uFU5Sgy8P3L2jI/jkMFV9C3Y43OkPMnz2937pAfBYTRLXtwwwOJhNmVMTEnL XJRmxeAZisxBkmjaag4VGHhaDLK5onRgPuXyitDfcaQRC3W/m10GqrQJ/4FgN6PzDOP91K M6Y4nPsV0xGRsGPf+wjKhP/hji1tjuo= Date: Wed, 3 May 2023 20:24:33 +0200 From: Borislav Petkov To: Ard Biesheuvel Cc: Tom Lendacky , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Evgeniy Baskov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , Gerd Hoffmann , Dave Young , Mario Limonciello , Kees Cook , "Kirill A . Shutemov" , Linus Torvalds Subject: Re: [PATCH 0/6] efi/x86: Avoid legacy decompressor during EFI boot Message-ID: <20230503182433.GFZFKm4QAiqXRBYM0s@fat_crate.local> References: <20230424165726.2245548-1-ardb@kernel.org> <8f85787a-1fa5-8f59-6047-b3a791291bfd@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 03, 2023 at 08:17:28PM +0200, Ard Biesheuvel wrote: > (There is some 32-bit SEV code in the decompressor as well that > obviously never gets called when booting in long mode, but I hadn't > quite grasped how much other SEV code there actually is) If you mean the thing in startup_32 which does get_sev_encryption_bit() etc, that is going away. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette