Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3206544pxb; Fri, 4 Feb 2022 03:50:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyNcypE015B/iYFHgbHW5OpawFnVb1h6Y5OZf18663Gz/LWsIeLivSnCU48a3BdDTx+qVx X-Received: by 2002:a63:5f48:: with SMTP id t69mr2052509pgb.98.1643975449776; Fri, 04 Feb 2022 03:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643975449; cv=none; d=google.com; s=arc-20160816; b=i/IQFsaJcaxSzpwyMFHDm5PTj5nm52nqqJIFZEQWsQyjOixzICrVBYntmVHim9aTnN Sf66JESrwApXG+/ilr8hAbT9XYrGqTrzKrKSlmgcus2PS4PKTwIIOxaOx3GlsKY469Zt yo2yQ4TW37YVMr2/eSues1Gm1D8f5ugh6PLdIpW6CiOrBuYVerwESIeR0f7xqUqFpejj zbIucbHs93D331QHk//NfbbyU3PeHgMXxIOAfvF2LDCx9irjtOfHm9t3haRqMqV8tdj0 J+wjtMRM+rq6JfkciftYFww9fkpRCgcZK8rH/UaE1h+ycVMHVSE4UePt3RqXOVTF6nyY KaNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=GZcDnEHyU1ASpKyhszvvklKEBiHntNkId6vkg/qjC/U=; b=xp22RUSWhAahHCsmeN7OqwxJSpgOOtHidPaTWJ3J+VpEzlUlWcFQggiU/fSlGXD3mi jy0O7BFK2DB+rGp7em/FkoLPvbX3YOZgpZ6z43EmF0wqWh4dT/GzoGhhkkhPsqAbLvIq Im9plt4cA1UqUnA88fmMrEm8Z2LFNDAYfNuERHjLq6F8f4XRiXa/W1mTkBUpJF42ahBS pIagdHGKTgsWcbUCAll0QZLVMU7zzOBXDI32UK47PWF4ZrdwUwuJ7Q5KGhgU45SRbuzP nCqkQLTU3D3hu75quAuWX010S1md1d9kdX9cLYpcHfyCI64cmV8aeJTEKGEMKxzfdBVs lzog== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16si1583339plh.465.2022.02.04.03.50.36; Fri, 04 Feb 2022 03:50:48 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241452AbiBCU7f (ORCPT + 99 others); Thu, 3 Feb 2022 15:59:35 -0500 Received: from cavan.codon.org.uk ([176.126.240.207]:59828 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235108AbiBCU7e (ORCPT ); Thu, 3 Feb 2022 15:59:34 -0500 Received: by cavan.codon.org.uk (Postfix, from userid 1000) id 1588440A55; Thu, 3 Feb 2022 20:59:33 +0000 (GMT) Date: Thu, 3 Feb 2022 20:59:33 +0000 From: Matthew Garrett To: Pavel Machek Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Jeremy Kerr , Aditya Garg , Orlando Chamberlain , Ard Biesheuvel Subject: Re: [PATCH 5.10 011/100] efi: runtime: avoid EFIv2 runtime services on Apple x86 machines Message-ID: <20220203205933.GA27367@srcf.ucam.org> References: <20220131105220.424085452@linuxfoundation.org> <20220131105220.835281614@linuxfoundation.org> <20220203205223.GA19153@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220203205223.GA19153@duo.ucw.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 03, 2022 at 09:52:23PM +0100, Pavel Machek wrote: > This problem is not 64-bit specific, right? Should it depend on > CONFIG_X86, instead? Only 64-bit systems are affected (the one 32-bit generation of Apple hardware implementing EFI only claims 1.10 support), and 32-bit kernels can't make 64-bit UEFI runtime calls, so I think it's correct to make it 64-bit only.