Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3950664ybl; Tue, 20 Aug 2019 04:55:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0szPDUyx/r1pFcnpIa3h7rEDwRLPq2uWGj6FIdFzhQK/h/LiqVIMzn+3hFB2ItHFh+W4d X-Received: by 2002:aa7:8c57:: with SMTP id e23mr19092173pfd.48.1566302151102; Tue, 20 Aug 2019 04:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566302151; cv=none; d=google.com; s=arc-20160816; b=ksIfI7KI8JzHSujlAI4LyuF/8wjdkXnU1ayqJ93mc7hyy9iqG0UstBvdrZOtvE2xGO +/CS7/Bovew1L3iCiVNDnS5iw82TegfqRuP46/dVDkH9ZDB170noXzX+lEdoPX9LpsJf MV0P/NVy/iIpPySH70tcIjN1fcXuRvERtofE610se4oRjy2uq/gfRyUWjrybnfoJfxR5 kRiPQQfTUxIFePjJzPw4rm6IEYAdvI9ZN9ii8chSqy5BB7Hya+VIEbb/039gTidVYyK7 SCsGqj8qVBCpvhDIrzNk2VY11IB1DDw3CBQVYxEmyOIQtIXz9f5TaiGJVgLcm7xbxtHO QBFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OXrOAN6eHe7BZs+9Ca5eeCBnDoTWb1Lr6g97dXXB9WM=; b=UaYkzwippJ32jbjsxztkDUlUq+SjHMueOicXK8qg/Iw4YokpIQ59yvei+iY1oHKeYg tX7LqqYM1rcELdLervtK805a3YZcpsBnwWlNKjiYGKZOQqF8aClJnBwVVaKPYvwBIAeJ RVirbSsfKJNXwMl0cv/gdsVZsZUh6ttvCSskA86hFhM62UhEtd53to9/sLwrC12g3waf GZiWMnM36UcFYwZLEF6zfmxiNIrBY6hMV3s7HcML37na9FwGvNrA8SPsrzRub2+Zuj4u mkTRQQCThP9bbr6gNt6kL8b20hQB0HVcIGEzkKUIpQteUb/S9jav3V4sIMkZiy8d7Xx8 Yhbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="zBhndaa/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si10828128pjp.57.2019.08.20.04.55.35; Tue, 20 Aug 2019 04:55:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="zBhndaa/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728657AbfHTLyh (ORCPT + 99 others); Tue, 20 Aug 2019 07:54:37 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:36082 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbfHTLyg (ORCPT ); Tue, 20 Aug 2019 07:54:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OXrOAN6eHe7BZs+9Ca5eeCBnDoTWb1Lr6g97dXXB9WM=; b=zBhndaa/3WKWlHsf0MJPuqHCj 6PY8J/VVcKmPQNs6acc0JD/1ZGg/wzvOA4yJFAVUuZDGZAB9c4bsXLac+JNDYQeq5yFscGOydAKcb zfnbMQMthlxg5Q0PpJkhfopzLrmjelIWuCHRen60K9n0doSPf1j03OEWVholwJXwLsuvbiVMPgCe7 CcTtQuST7v7WrlFMSTKfuCWM1irdDFhmRccsjDEGQ592LQ9tsx/m39X0y3e3yCX752OL0i0vvlvoO 1mDVACdO20hRV1obmq3emxeOJHtKMARL2e8mg2B0Zean+dFnkka7qHVfc8PxvPhOUdOhS7aZqC4Dm KQVZ7a22A==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:54734) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1i02iO-00020m-Pp; Tue, 20 Aug 2019 12:54:16 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1i02iH-0005mO-H2; Tue, 20 Aug 2019 12:54:09 +0100 Date: Tue, 20 Aug 2019 12:54:09 +0100 From: Russell King - ARM Linux admin To: Ard Biesheuvel Cc: Chester Lin , "akpm@linux-foundation.org" , "rppt@linux.ibm.com" , "ren_guo@c-sky.com" , Juergen Gross , "geert@linux-m68k.org" , "mingo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-efi@vger.kernel.org" , "guillaume.gardet@arm.com" , Joey Lee , Gary Lin Subject: Re: [PATCH] efi/arm: fix allocation failure when reserving the kernel base Message-ID: <20190820115409.GO13294@shell.armlinux.org.uk> References: <20190802053744.5519-1-clin@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 04, 2019 at 10:57:00AM +0300, Ard Biesheuvel wrote: > (The first TEXT_OFFSET bytes are no longer used in practice, which is > why putting a reserved region of 4 KB bytes works at the moment, but > this is fragile). That is not correct for 32-bit ARM. The swapper page table is still located 16kiB below the kernel. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up