Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1830049rwb; Sun, 6 Aug 2023 04:07:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IES9iU6OqNlIDA6ZzDpvqzTLqgH5SLmejcdemRwAEgSTbUgi/x3LrS9vakRvghuICT1m78y X-Received: by 2002:a05:6a20:3c8e:b0:134:16a3:83ad with SMTP id b14-20020a056a203c8e00b0013416a383admr6378296pzj.57.1691320047839; Sun, 06 Aug 2023 04:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691320047; cv=none; d=google.com; s=arc-20160816; b=p74faeQyIXzBNxnM//BAJd1336/uL0xjO3v/iADcpBEA+MiZguZ9a6o9NSeyNN9CZP Lu16S4ZDjLileVupK3XyZVpZGc+T4UJaDGnMYFO9P554Sz+qWFcvf2l91qtuulZ+cGmC M/DR1CMRs6hQpT3+Z883kHdUYodR46k0I8w+vAjvoO9jFUev/kWs82sNWzcG+OEcCh85 4gRf7WkBSUiMx80rqz68uFLN16efgGPEOq+cmcRSCAVvHw5CpJ4tGkmdgQepFfkuf6sx NJSV2LhoUtv22YHkpLeZzNYFRbfSVldvbjVsm42lpPTcuHzXw5Mzn7SeWwxAarUElJCX /IZA== 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=cGBlvXe5nfTxKa4rZNV7x1A+ypMAcyG/itGXCpuyhY0=; fh=smwlySTEPN7NbtuvxBDR0YLYw0n8sfL/zSNxRQmJRvQ=; b=lqIzTg4S4MleUeKuZv6r+gFWK7d6XscScxUzW6QMpXtz7U1Y1jm3EkPKMVAbu57+Ad jD+P9FU9hoqNqT2JRdLilgudq4rm/+WD1CyiLarN44z4aUo3+QqcTGGG8+OGhGbQa6Xh DH86NHVuBbuTXOwtR4LVIsNFeC0oA066NzDLIIad5+Gk6eXN6dip6k32iva17y4zNIUQ XX0xddd++AFDGq0t/MV8jCLKXCIblxrONXW3uo1PHxt+0uv8qG7nrM4Cot/aEQcxI8JD Cp8HakfKD2NU+Gvu2pz8Cw/KU02OyU11JdKadTXSawMng5FWhWq3TTEOcYk9u1Kc8vCI qF9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=N2rLiiVm; 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 m13-20020a654c8d000000b0055380fbd9e1si4082750pgt.483.2023.08.06.04.07.04; Sun, 06 Aug 2023 04:07:27 -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=alien8 header.b=N2rLiiVm; 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 S230190AbjHFKRq (ORCPT + 99 others); Sun, 6 Aug 2023 06:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjHFKRp (ORCPT ); Sun, 6 Aug 2023 06:17:45 -0400 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B46FC131; Sun, 6 Aug 2023 03:17:40 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 31DFC40E0191; Sun, 6 Aug 2023 10:17:38 +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 U1AK7kcEZdll; Sun, 6 Aug 2023 10:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1691317055; bh=cGBlvXe5nfTxKa4rZNV7x1A+ypMAcyG/itGXCpuyhY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N2rLiiVmk8WORAehH28yJ0e/Hir/x7xDeBqDfhnQkZ/KKxEzOebRhCZQggen0OH7k 7wZp0JuS2cRcztbLdfd/1ibae4qxo9JiQSosgYtdxD6ApAnMphgXTCHY3ctOFFY2jg Mj/YVI33fJHYEVLPPDfnfNuV0eIEQ/mJiLMi59/GTzFuwIUYWYomqQmB4se54pJLFV +sXfkzFwJrAhW1NqRIuyXzQU+c7/dSxmgHVzsUk//A4XrsqeFIsJVDBXo7GHk5qffV 6zGvUNOBJDEtJKmlcEvlfrVyEmT0OE534E6P+ghVsS01UUWtSYCJDxFr4SB1uurwKZ SiiyClnUkNJvlTLyPtw84CLQTdWgRA94PaC1SzEALTZS6xg9+7iQH5WhuSMWgR7RFj oduK64f+Y66j6w8HOq8acdBVB2YAqIgG9qzCjHhDUY/XuFx8l+6hZQubWCEKu+yvPl PahzDVPhr7TMJ0mAkNWwuIUuGh2lHc/kLjfLe0NWp3Hp00q96LgoPiczF+1X/x3B8J kerSfeq7OzpL2SFmH0JldMf96WtawdfYlUDMAa3LYGuYVvejdqwOeN8LnM3V5W3qtS l1EfoWandsOHrJvuJn3nYUyZEvIRYG/4p0enVh4Jta5/RpxEPCDZyu8zGWhmlKvTo3 TB1hNs7qx+vShSHCRrDJHc7A= Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (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 A575440E0185; Sun, 6 Aug 2023 10:17:16 +0000 (UTC) Date: Sun, 6 Aug 2023 12:17:10 +0200 From: Borislav Petkov To: Ard Biesheuvel Cc: 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 , Tom Lendacky , "Kirill A . Shutemov" , Linus Torvalds , Joerg Roedel Subject: Re: [PATCH v8 00/23] efi/x86: Avoid bare metal decompressor during EFI boot Message-ID: <20230806101710.GAZM9zJjwoNKFSfWD6@fat_crate.local> References: <20230802154831.2147855-1-ardb@kernel.org> <20230805144030.GDZM5fXvaqXBLxwXfj@fat_crate.local> <20230805210631.GEZM6518W3qOCYYgNK@fat_crate.local> 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,RCVD_IN_DNSWL_BLOCKED,SPF_PASS, T_SPF_HELO_TEMPERROR 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 Sun, Aug 06, 2023 at 12:05:25PM +0200, Ard Biesheuvel wrote: > I suspect this should fix the issue: > > --- a/arch/x86/kernel/head_64.S > +++ b/arch/x86/kernel/head_64.S > @@ -110,6 +110,7 @@ SYM_CODE_START_NOALIGN(startup_64) > * programmed into CR3. > */ > leaq _text(%rip), %rdi > + movq %r15, %rsi > call __startup_64 Yah, I was suspecting we're not passing boot_params properly somewhere. Aaand there it is. So yes, that fixes it. Lemme know when you've refreshed your branch so that I can continue testing. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette