Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2330791lqp; Sun, 24 Mar 2024 13:56:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjLd6rl0+GmBTfU//bC8GbRjmRANq0sMfcn1xv1q4IuCArN6Ismkr/x462mJWw63JZe33D6EHFKHCBMu6Ne7Qu43djkNWYhC+Wm705sQ== X-Google-Smtp-Source: AGHT+IEVJpGfhZTqAxkIjz4RWy3P8wzVsq4i3u0quQdAThx0yxFnap0NS6T+iJ+CVjI4l8z6hjBM X-Received: by 2002:a05:6808:138c:b0:3c3:7a97:acc8 with SMTP id c12-20020a056808138c00b003c37a97acc8mr6255414oiw.13.1711313782776; Sun, 24 Mar 2024 13:56:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711313782; cv=pass; d=google.com; s=arc-20160816; b=epuyt/Urdd0tJF85BvFlaeBh4+ZZrQEvLUJ87zXcPB+nrpMunPDUMOZK5X3D49rAJN Cogx+T3I6d7k8RKUkDSnSm7e+iAZ7XRlvB78e1UdKDtG+G4C0bx5FkwBWE8s0WpQUVmf VHrarqCJkQQZq4lXHRcyihVgvDsV4OBYpsslXf9w5W36aynSWZpAc6v3wt2C/MpCQpa4 k03qza98YYd906rzyKJL7EOPcverz3bLHVGhdAuZtDRG67Y3gpBc1ob0PCKlVBs2QO6i AHoKtV2/c8qFVnsCB6eKrMoP89ngKIYqNehS4Sx80zKlML9JX4Den1nKGppgoEt+ZeRt isTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=2sxR9gem4rOkDv3LJEJDqf4tBKN+JI2mEjl3swXxyuY=; fh=hSLqQp8vEQgI5l/+FEeBwVBKfiG6lE3VFIonLWuJ8Wo=; b=xMbf7zyDdM/BQNuSbdiRxCpoz8iuGqqOFxIakkIvxDKV2Z4pEYsCD+oQ5tPi70d+bs R5U6edAfuv/luPLbYKZwYPGGN7Jwd3VHbCcCTBlt1RF3qURTGXH0t5PwFm6CgDrvWhsi fq9X7TmNAV4BI8CK3+aqbF4xkAEOaStun+rpuu3if4OfTo67yqS/TBrH/A/ygdqiw4vO W2DSTfeFa/FaBn4Mirr/aRjw/kukA0JZTrWHL7ylj1J9iQJ2fauzlJ2TJaBmXNN64Uw4 IFQk89tKWgjke32vsKtwcsVxxzuYzCJzeJSv9xNgqi5oQv0ad7a11s1xvLztmfZcKJLO na0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ovOhXdxf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d30-20020a630e1e000000b005e81d20ec7dsi6109315pgl.877.2024.03.24.13.56.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 13:56:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ovOhXdxf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1B4F5281309 for ; Sun, 24 Mar 2024 20:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEBB319474; Sun, 24 Mar 2024 20:54:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ovOhXdxf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F208A8BFB; Sun, 24 Mar 2024 20:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711313642; cv=none; b=J+TBYwrRSeUE/V6UMJJHG+TksK/js20opFleAWlIYluAup/SujD9jtcpL2PPbbLCI/kNLjk6J4zMIcAsuhP+NayxaZ0UgYkNwwsM0oPrCnt6uijW8dX8XvbgjunuuLQbDFhSft0z/JD4Z8E91GB+r2eB8mNZBr5/qBtcdax0lUs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711313642; c=relaxed/simple; bh=2sxR9gem4rOkDv3LJEJDqf4tBKN+JI2mEjl3swXxyuY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dcdzVZuqvVFblJfsD2lqNZ4EVQjQzX7hHRV8cqqGuVztpCYK+9srJQGkHcvjCFbeGdS1uFJi+qZaz8kq+oHSnIAU0V8ZXv45vMNBz6IHxNCAy8qg7uTva4iDMuTk2pJs/kLO+tCljbzpWVAFX/dILdhk5IqK+VGDhVp7Q657XMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ovOhXdxf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71EB8C433F1; Sun, 24 Mar 2024 20:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711313641; bh=2sxR9gem4rOkDv3LJEJDqf4tBKN+JI2mEjl3swXxyuY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ovOhXdxfjk5Ht36sjn3SLnoY5KoxbidxLBEHhlLqiSQTIx53YUJ2q36E6CJyy5wTB XfEU+tHrwf9W3S9foGvqJ7Gy2EIFJ5F6gdYYrGVVAaA2xjz2PyWnLL+ZWl4DBplByH NKViYuwg3oE0w97ImY/VI75mxnz11pwouUtFX7orW6VBVVZ5qw1unHHzoXkPPxWHxX 1cnd2Zl7VdDm1JlrR35ZpYgryxvw+q2k9HRg2yo7c+hT70wJF21ykMbtBdBYKES7zq AEIure9RatI4bI/p0HAasYirS8Xk7AIQLfsU9324Mn5Q5WTexy7TaQEUfHfsT13ObO RAsmAmrIMghFQ== Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d48d75ab70so55812901fa.0; Sun, 24 Mar 2024 13:54:01 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXYrEr1CW2Vf1/6JSuXLM6rTjgiFwkrTgHrC/rfL1YQNdHNyPb7eDGIum9mQv5rHELi8OoWwopQekLiumLWmF/2mpZesj2KFvLM94SqTaznBbUEGnZ/0izje2Icfz9o8Bk5Fb5CSPjL X-Gm-Message-State: AOJu0YxI54BCcikCeNyMDCmX1rM6ZPPGZ46wBUfv1vgXrTQrKpIonCN3 zmm1ru4W5Z9sHcckHH+qfG3z1WfuBw22jnYMRzhnbOlE2cHc15Dni1ml8G7sveEfjuhHR3BNskZ WvvNGSS9jhtvLeDyK3nL19651KrM= X-Received: by 2002:a2e:98d9:0:b0:2d4:6c1c:7734 with SMTP id s25-20020a2e98d9000000b002d46c1c7734mr3124077ljj.26.1711313639873; Sun, 24 Mar 2024 13:53:59 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240321150510.GI8211@craftyguy.net> <749b1cea4fd9e8d8debadc51cf3c0374d9878ae9@craftyguy.net> In-Reply-To: <749b1cea4fd9e8d8debadc51cf3c0374d9878ae9@craftyguy.net> From: Ard Biesheuvel Date: Sun, 24 Mar 2024 22:53:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: x86_64 32-bit EFI mixed mode boot broken To: Clayton Craft Cc: Hans de Goede , x86@kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" On Sun, 24 Mar 2024 at 22:46, Clayton Craft wrote: > > March 24, 2024 at 10:43 AM, "Ard Biesheuvel" wrote: > > > > Thanks. > > > > I pushed another branch > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=efi-clayton-3 > > > > which has a proper fix for the issue that you found. > > > > As it turns out, the compat mixed mode (with handover protocol) was > > > > broken from the beginning, and the change you identified just happened > > > > to trigger it on your hardware. > > > Tested and fixes booting on my Bay Trail tablet and NUC. Thanks for fixing this! > > Tested-by: Clayton Craft > Thanks!