Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1472172rwb; Sat, 5 Aug 2023 16:38:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtOXl/Z+eitD7JFh1mHtwLHyxlXOyhY9EotyHFtYo/XNW0PCzKmStympAZPk28Fb/EjXjN X-Received: by 2002:a05:6a21:7882:b0:131:f3a:4020 with SMTP id bf2-20020a056a21788200b001310f3a4020mr5534941pzc.33.1691278730111; Sat, 05 Aug 2023 16:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691278730; cv=none; d=google.com; s=arc-20160816; b=kgHDUAxRlhHGjAe2iKOBQxEtEL+A3CqrUPxTlmOFERUBCEumq7/2Zyjb22+enU6Tkt /NhCePn5X5RVhWM+FxF/P6bVBepi5o+haROdb76vTYmQZkU+zhbr1E7whBuHc5II8+WV H2KE0OrDU5ZAcS1iOsmP1oHdY4pbdgYrFIQUg9Ci5/raWuOWbwJQ0l6p+/cvE66rhb5a KqdQMU5CU489j06y0HQS8zmn7jeb9cmr67D6HclBiX+KF4c/7cJLJJdHZbpibPyQ71Rt 6/0fgGZWVfp7CZiGb7xNeCH/yn5wjA5UtmTx8jabWP+m2om3v7iVaIVaTvJuXeM93cg4 dzMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8L00r6W/hg8NEpCDkD6zSDjERcppNOkTBRzJM/gOKMU=; fh=bUsfhlSxo5mbGO/gV6Q/B6Bpk+EeS6wLgNtVxkEE7VY=; b=jFZUfsmOgHbnd/rJhjwfWBHsuFE5SZ6LGBM7SaVcjr2zjlDjYZzd2wO13Cs1SIjsvq 0UZoQepim2N4OB9MV8Eqm+++WQSS6J7f1foFHe/J0QCX9lWq5V8PObQ+vBKJxxtGu3rN qOjE27Up/ThtMwlxY0Bb4lQoAK1GHT5l2S3LQi1CD9H3RewhSDIHeMVEiczRTZPMjTk/ mH4r7XIgtQvrFfsjC+4VuKdzCRYSNB55EFfhECKVauB0QKUF9fT1M0UwHub3u5Ke/VOf lDIvPzRoWkmSer6I/bXp7pH4eCo/XpYGPXm3FeanD0oF98WnVjWD5XUZYndVnAiP5Yg1 D5ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AtwV08PK; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu13-20020a056a00410d00b00687562db494si3629013pfb.356.2023.08.05.16.38.39; Sat, 05 Aug 2023 16:38:50 -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=@kernel.org header.s=k20201202 header.b=AtwV08PK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbjHEWUE (ORCPT + 99 others); Sat, 5 Aug 2023 18:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjHEWUC (ORCPT ); Sat, 5 Aug 2023 18:20:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41838E78; Sat, 5 Aug 2023 15:20:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CA73060C1A; Sat, 5 Aug 2023 22:20:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A42CC433CB; Sat, 5 Aug 2023 22:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691274000; bh=8L00r6W/hg8NEpCDkD6zSDjERcppNOkTBRzJM/gOKMU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AtwV08PK9m+WcQVTR6LRg44HgLboaXqB8xx0nkr/Hb+tRtMmKzn6z0A6/7J9wDMC5 R6l4uMs5Ak4YZ2/NFoZwY4+m6kY7TRxUi3jPhEZ53OGp8cFuczbQSW/HpjRHJqb1kn HnNwUirsiU0Az6Hf903EZAyseYdY5WQU7Klm9q9AfmWtL9Pfnnzw30iySTqY5amulB ZMQVjudvhnP+aI9almUnfFNZ0Hw4InpjVXsydBSrMzEKcXme5uibby/pwSJIQfRuuC 4ks6hV1xyz+eYrNQpz+ozA7RgmQPvPvRhlvX8fZdX1v/aaUDgaYKEuc80UWp+cX9QJ IOB7dm+gU2L1Q== Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-4fe216edaf7so5356075e87.0; Sat, 05 Aug 2023 15:20:00 -0700 (PDT) X-Gm-Message-State: AOJu0Yy4u4fnkJAZLTmVfo3yGQd4YVylAnqB6t9yMpAhWSABjDH5ckoz gfre9adcHVAfzBGEyVhedr+LRCpI1qBQiIr5n5I= X-Received: by 2002:a05:6512:159c:b0:4fe:8be:6065 with SMTP id bp28-20020a056512159c00b004fe08be6065mr1032701lfb.5.1691273998150; Sat, 05 Aug 2023 15:19:58 -0700 (PDT) MIME-Version: 1.0 References: <20230802154831.2147855-1-ardb@kernel.org> <20230805144030.GDZM5fXvaqXBLxwXfj@fat_crate.local> <20230805210631.GEZM6518W3qOCYYgNK@fat_crate.local> In-Reply-To: <20230805210631.GEZM6518W3qOCYYgNK@fat_crate.local> From: Ard Biesheuvel Date: Sun, 6 Aug 2023 00:19:46 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 00/23] efi/x86: Avoid bare metal decompressor during EFI boot To: Borislav Petkov 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Sat, 5 Aug 2023 at 23:07, Borislav Petkov wrote: > > On Sat, Aug 05, 2023 at 07:37:17PM +0200, Ard Biesheuvel wrote: > > So this is the host booting, right? > > Yes. > > > So is the position of the C bit perhaps getting detect incorrectly? > > I don't know yet. But the evildoer is someone else: > > 02d47ce2ae02 ("x86/head_64: Store boot_params pointer in callee save register") > > after bisection. More staring later as to why... > How bizarre. But that was a bonus patch anyway, so we could just drop it for now.