From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BBAAC433DF for ; Wed, 10 Jun 2020 08:58:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E05BD204EA for ; Wed, 10 Jun 2020 08:58:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iqZkeX/P" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E05BD204EA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fVsOESIgw9hwisixy/KDifvXoq7rNIWPRzBW7IW0twM=; b=iqZkeX/PExGgMh ygoxcsAxoMic+mJlJJZ37G0jhd0zORnikCPyLAoBryP6yHbplJzM0yhKlCoZ4kuTPOuhQywiIzg69 XRHTZWF084rYJ1f3CWKVWc0SEirHId7/mHZKO94JmZIAzM2oPoXuNrj6FWLiTWkIvBsNupB17BD7v w5idXI06pduptH7dB1uCMEBBJWhcaUy349Iv3e0EViXemyNgbuWLSwjzgLIAPO9ri4KcpJqmeIhIJ GBZ4tQhohNR/SoEUZCb3Ad71eN4dhu02gST7Cu22PtIJe5FtKngeFvH//+azzwwp9YeVulDaBSqkC KNLYTnv8aeMDlWJVwFCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiwYa-00031n-RF; Wed, 10 Jun 2020 08:58:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiwYY-00031E-5h for linux-arm-kernel@lists.infradead.org; Wed, 10 Jun 2020 08:57:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2B5321F1; Wed, 10 Jun 2020 01:57:55 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.15.2]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 402AE3F73D; Wed, 10 Jun 2020 01:57:54 -0700 (PDT) Date: Wed, 10 Jun 2020 09:57:46 +0100 From: Mark Rutland To: Jonathan Marek Subject: Re: [PATCH] arm64: set TEXT_OFFSET to 0x0 in preparation for removing it entirely Message-ID: <20200610085746.GA38107@C02TD0UTHF1T.local> References: <24c1529e-1c8e-6912-965a-f4b921e09d79@marek.ca> <63eebe9b-9aa8-addd-7965-df59b7237079@marek.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <63eebe9b-9aa8-addd-7965-df59b7237079@marek.ca> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200610_015758_257925_B7D545BD X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Ard Biesheuvel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 09, 2020 at 08:52:42AM -0400, Jonathan Marek wrote: > On 6/9/20 8:37 AM, Ard Biesheuvel wrote: > > On Tue, 9 Jun 2020 at 14:35, Jonathan Marek wrote: > > > > > > Hi, > > > > > > Just want to add that this patch also broke booting my arm64 kernel > > > (CONFIG_RANDOMIZE_BASE=n). This is on a recent qualcomm board. > > > > Which bootloader does it use? > > abl/edk2 (https://source.codeaurora.org/quic/la/abl/tianocore/edk2/tree/?h=LA.UM.8.12.r1-11700-sm8250.0) > > Just looking at it quickly (I am no bootloader expert), I think this may > have something to do with it: https://source.codeaurora.org/quic/la/abl/tianocore/edk2/tree/QcomModulePkg/QcomModulePkg.dec?h=LA.UM.8.12.r1-11700-sm8250.0#n149 > For others following, the relevant lines are: | [PcdsFixedAtBuild.common] | # linuxloadercommon | gqcomtokenspaceguid.kernelloadaddress|0x00080000|uint32|0x00015000 ... which means this is using the dodgy built-in Linux loader rather than booting Linux as an EFI application. It's disappointing that's still being used. :( Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel