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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 5B0F2C433E6 for ; Wed, 2 Sep 2020 06:51:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 223292067C for ; Wed, 2 Sep 2020 06:51:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Y9R/+BpE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 223292067C 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+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=merlin.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:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZNWCN7zXP/RJwsPJzFaEwoFQHQ/+/nRw1xhnmGXGK8c=; b=Y9R/+BpEjyjw8aad/ydn6FzWf /xOF9Wlw+b0gaqtXJTyBe7TwkDx+pCRWxet+41faOh0aUWj8fW20v3VmL2ybokIMZcXOZJfSktxNF YVfsQ7D9GVjEWoa6/oJLZzyDDjMgQdIkHY0bK1+8dsKx18Gc+5BMFprD9y6lGKupfSthj5UZgWQQm +huq/xR/hmVCvPDxkQNPsu51ThmiaLSFyEtmnVYk4lFjBCszqkF7oVW+jfq+oaifsHnXtWPKcVg/m gQZ5sKGHnOlgb0Y3P7J1i+ipYJv8c/3jQPMVZmKhYLVKZo3bsAdsf4IqT3wUpJqpjuzkQ/9xlicwZ CTIyBvVeg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDMb9-0003g1-Uj; Wed, 02 Sep 2020 06:50:24 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDMb6-0003f6-Uo for linux-arm-kernel@lists.infradead.org; Wed, 02 Sep 2020 06:50:21 +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 3FFAA31B; Tue, 1 Sep 2020 23:50:19 -0700 (PDT) Received: from [10.163.70.144] (unknown [10.163.70.144]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2844D3F68F; Tue, 1 Sep 2020 23:50:16 -0700 (PDT) Subject: Re: [PATCH] arm64: get rid of TEXT_OFFSET To: Ard Biesheuvel , linux-arm-kernel@lists.infradead.org References: <20200825135440.11288-1-ardb@kernel.org> From: Anshuman Khandual Message-ID: <30a43ae2-4b3b-c8b9-aea4-fd404c64dbd9@arm.com> Date: Wed, 2 Sep 2020 12:19:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200825135440.11288-1-ardb@kernel.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200902_025021_036342_5DEE4179 X-CRM114-Status: GOOD ( 16.69 ) 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: mark.rutland@arm.com, catalin.marinas@arm.com, will@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 08/25/2020 07:24 PM, Ard Biesheuvel wrote: > TEXT_OFFSET serves no purpose, and for this reason, it was redefined > as 0x0 in the v5.8 timeframe. Since this does not appear to have caused > any issues that require us to revisit that decision, let's get rid of the > macro entirely, along with any references to it. > > Signed-off-by: Ard Biesheuvel > --- > arch/arm64/Makefile | 6 ------ > arch/arm64/include/asm/boot.h | 3 +-- > arch/arm64/include/asm/kernel-pgtable.h | 2 +- > arch/arm64/include/asm/memory.h | 2 +- > arch/arm64/kernel/Makefile | 2 -- > arch/arm64/kernel/head.S | 16 ++++++---------- > arch/arm64/kernel/image.h | 1 - > arch/arm64/kernel/vmlinux.lds.S | 4 ++-- > drivers/firmware/efi/libstub/Makefile | 1 - > drivers/firmware/efi/libstub/arm64-stub.c | 6 +++--- > 10 files changed, 14 insertions(+), 29 deletions(-) Documentation/arm64/booting.rst needs an update ? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel