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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B83E0C47DD9 for ; Wed, 28 Feb 2024 18:01:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=VYsU/hUNDlMSWCL7onn1QlhcVs5nlWOW7qQIAas0RXg=; b=L80YID5IUN9NJ5 vLmral0xaE/+hZxjQcGU9rMYgg+s+jRMc1V6zgk/Omca9QY2ngV3HzQIPySvvlzKF8bjJX/js6QlS 6348bDGx9ZJ633tK0OMbMhOYMyEG7tKeLg3qBHyfPfJUdObjvSREMZlcSK0lo1B3muSMb/qIMtCIo hTehB0p5jbjkf7kadaJ/rWNpgkuQ2Y5VBra083e767LF/WC0F1tZsVNkox/WzcIIxHxz6HYp87V6u Mb+/IKOtMicx77ClhHVYTrUfzSFlnT2xJGH3KAFhM2JnO/+YVAsvdEAWVkwGoqbhsB7b53f5ASDDL BkC6rhEeMW05/uUNHyaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfOF2-0000000AOyP-14l0; Wed, 28 Feb 2024 18:01:16 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfOEy-0000000AOxB-2fiL for linux-arm-kernel@lists.infradead.org; Wed, 28 Feb 2024 18:01:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id EFDDC60C3D; Wed, 28 Feb 2024 18:01:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1998C433C7; Wed, 28 Feb 2024 18:01:08 +0000 (UTC) Date: Wed, 28 Feb 2024 18:01:06 +0000 From: Catalin Marinas To: Seongsu Park Cc: will@kernel.org, anshuman.khandual@arm.com, ardb@kernel.org, maz@kernel.org, joey.gouly@arm.com, quic_neeraju@quicinc.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Leem ChaeHoon , Hyongwu Kim , Gyeonggeon Choi , Soomin Cho , Daero Lee , kmasta Subject: Re: [PATCH] arm64: head: Remove the instructions that get the virtual offset in __relocate_kernel Message-ID: References: <20240226040224.611039-1-sgsu.park@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240226040224.611039-1-sgsu.park@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240228_100112_733374_9AB32B67 X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Mon, Feb 26, 2024 at 01:02:24PM +0900, Seongsu Park wrote: > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > index cab7f91949d8..90db196f7c19 100644 > --- a/arch/arm64/kernel/head.S > +++ b/arch/arm64/kernel/head.S > @@ -787,8 +787,6 @@ SYM_FUNC_START_LOCAL(__relocate_kernel) > */ > adr_l x9, __rela_start > adr_l x10, __rela_end > - mov_q x11, KIMAGE_VADDR // default virtual offset > - add x11, x11, x23 // actual virtual offset > > 0: cmp x9, x10 > b.hs 1f This code has been removed by commit 734958ef0b54 ("arm64: head: move relocation handling to C code") in linux-next, so the patch is no longer needed. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel