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=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 205EAC07E9C for ; Wed, 14 Jul 2021 09:56:07 +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 E34966115A for ; Wed, 14 Jul 2021 09:56:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E34966115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KRh6BrKzexN7Ppcx67W1V/tRiApjPr3GCvSGK6O0FRQ=; b=iAOvHDNfDoKXKl ZKqxhGp8gV0LmdWribx6CPsJgBI8nxcZOOZoPAxrWhqyY6j3PE7jFXlh7dd/cp+w+FnsWz2n9YO6M Dh0bnqWS1iDi4DAL/CwlG92OWxZg4Qxw4vQnugqZ3Sr3NPmJyk4MeRr4Oiext25s3xmPP9esxmuN8 IN/LyCM9eO5uJ8CStyZehBc2WoKjMq/BBIu+8Ajdv/tUuK3vpxOz05dYD558dGErKrIdasxHRWx9F 0zZiI0PaCLkuxeEIHubJtUdJqpsny4kP2yTr+b5bt3858xYJqZnCDsq2270vTHAJu9sFr7rdugKsm hygw8Ddafbiwp+LSJKtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3bb7-00CxmS-Bj; Wed, 14 Jul 2021 09:54:33 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3bb2-00CxlZ-Pm for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 09:54:30 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D033601FE; Wed, 14 Jul 2021 09:54:28 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m3bb0-00DG75-Fl; Wed, 14 Jul 2021 10:54:26 +0100 Date: Wed, 14 Jul 2021 10:54:25 +0100 Message-ID: <87lf696x0u.wl-maz@kernel.org> From: Marc Zyngier To: Naohiro Tamura Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Ard Biesheuvel , Mark Rutland , Fuad Tabba , Andrey Konovalov , David Brazdil Subject: Re: [PATCH] arm64: Remove AArch64 X30 redundant register alias In-Reply-To: <20210713132945.334534-1-naohirot@fujitsu.com> References: <20210713132945.334534-1-naohirot@fujitsu.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: naohirot@fujitsu.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org, ardb@kernel.org, mark.rutland@arm.com, tabba@google.com, andreyknvl@gmail.com, dbrazdil@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_025428_896546_0B6AAA3A X-CRM114-Status: GOOD ( 23.63 ) 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 Tue, 13 Jul 2021 14:29:45 +0100, Naohiro Tamura wrote: > > This trivial patch is my first one to the kernel community. > Please advice me if something is not right. > > -- >8 -- > Subject: arm64: Remove AArch64 X30 redundant register alias > > This patch removes a redundant AArch64 register alias of X30. > According to the GNU as manual [1], "ip0, ip1, lr and fp are > automatically defined to alias to X16, X17, X30 and X29 > respectively". > > [1] https://sourceware.org/binutils/docs/as/AArch64-Directives.html > > Signed-off-by: Naohiro Tamura > --- > arch/arm64/include/asm/assembler.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h > index 89faca0e740d..c66efc1b5406 100644 > --- a/arch/arm64/include/asm/assembler.h > +++ b/arch/arm64/include/asm/assembler.h > @@ -155,11 +155,6 @@ alternative_endif > 9999: x; \ > _asm_extable 9999b, l > > -/* > - * Register aliases. > - */ > -lr .req x30 // link register > - > /* > * Vector entry > */ I seem to vaguely remember that this isn't always defined, see [1] for a recent example. Dropping it altogether may end-up being pretty disruptive. Thanks, M. [1] https://lore.kernel.org/linux-arm-kernel/20210526213128.GB20442@willie-the-truck -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel