Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4186263pxu; Mon, 21 Dec 2020 06:21:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn7i9aXKdrZH3vtIm1UwXuLuFQI4DSZG6YbR3YO96aQF4IfZOcqnIS+cWUcxY67A8u5Svr X-Received: by 2002:a17:906:eb5b:: with SMTP id mc27mr15385894ejb.163.1608560469768; Mon, 21 Dec 2020 06:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608560469; cv=none; d=google.com; s=arc-20160816; b=b8iJsBN/KrTGbUUhv8URCeJcSG2cDVU5OYLjD1m09JJo+x5uo+vkUofGtZFwccadTY hjIkh9L2jf8/DC3aG6ltdpo7IC4HsEOmvSoOvEv1foCRZnEvZY94HTHOBIhH1J8KdcnW COtG02FIoS0S535XiyfI7TILz/mpE8aK66VkEhUfpFesrh+/SZVmeJnV9WSfZolmVUnz M71msaUJHWHAknGdB7koOm7nCc9W0dO1MSJUpu02Jpt4RNNii17MoMUCAXuYW04X4IK/ JdM980fD+n/eGyy5aL88bdywhCCawWwJLJYGrWPpWN5t0bvMp4ly/q0Yi0+kwKWsvB8/ P9Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :dkim-signature:dkim-signature; bh=Ips+4h9qI7oPeVN8j7u2+LFFCTfYFzbZEBk88cu7bKE=; b=meSwn5CChdHHXyygkPQdU+3ZMXvVSSK1NX10Mml2U0+61J2+uypyg9S0Go/T2LjbEz U+EVgLqoxg82aYd/Ce6I12tcU0LponJ3kDD3o29CzR4lP43D6TiVQUzQQkOVmQjkvDmq ES+1u/Jd/ACN9l2c1xx/gIRMy/MUNfZq90aCARwO9pob4pFenJmhqOwLTHncqi11IMof OGdYQt4mG3mUtvFqWHW4RGbHnXPSvvz3mgZVlMHgw6euIDiAH2jJXPonV0VRyJeEgiCw VWE+tBGjVWRlPdmGB7gsAz5j6N+WlIc8bTwBoDZ12N5LP3bGiamzvKTBalKs6htVpXbo wRQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=NEEHpMes; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=P5OcROwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si11599148edj.99.2020.12.21.06.20.47; Mon, 21 Dec 2020 06:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=NEEHpMes; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=P5OcROwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbgLUOUI (ORCPT + 99 others); Mon, 21 Dec 2020 09:20:08 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:51869 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727070AbgLUOUI (ORCPT ); Mon, 21 Dec 2020 09:20:08 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id B8C80580515; Mon, 21 Dec 2020 09:19:21 -0500 (EST) Received: from imap1 ([10.202.2.51]) by compute6.internal (MEProxy); Mon, 21 Dec 2020 09:19:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm1; bh=Ips+4 h9qI7oPeVN8j7u2+LFFCTfYFzbZEBk88cu7bKE=; b=NEEHpMesYTCjtW7Lda1re rJkLKa6HOX4SH53vSnEv8BJMueM9MnPEFJaO+DLr7Kf3+k+ATdqcFzb7CzNnT/NF ovameU0lgpppraSrWJTERgsC9dhfSzwf87V1Ngs3Pk1u6uMvr/cL8xoMGtzUmYB0 zpJK5Mj70mg4HWLnI06sBAgTvJSRBWkLgLK/UwEedgk04FkVwMJNXi1UywYuZO6v nQfP117SJpdfE1gw0LatwaW9++tWaMuM0ddnQR6t30IFaLO7DrbQHRWQ7N7fvxCf XHtG6WhQv0/PXNuoZVVGPVHyIx6izb+zkj+HrGZouS4MSRSzQl2CHAuHUyG7EdPm w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Ips+4h9qI7oPeVN8j7u2+LFFCTfYFzbZEBk88cu7b KE=; b=P5OcROwqhwk1w1ojMdedhBmU+4mT4frCPhJWpNPXYAhYG41JdYd6oaPLb ERrTfVwh34Rtj/w46wJ8IP1FqglUuDH2mLb5XR7R7tPzJB+Uh0cVOxxR1JiEPu0w s6H/4gqOZcLzk8EFZnSIdzkwemiAnA72jy/hGM0nxkKTaZo/GLEChqsnfwPRg+6N eGOETb+J0qSXs4vW7rLcM0h5G/MLeV2FZUWI0p5hATmdf3QTVz7JsmlKRRPsJz0e rH7R+uGzycN4tT5vsLOBDNnTfh3LHCm0ZnTcj3tQRH9NxWlcItsDu0jBhwoW35Is ogcw5Poa3ud1wtYrprbmbWUupSpdw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtvddgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedflfhi rgiguhhnucgjrghnghdfuceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh eqnecuggftrfgrthhtvghrnhepteeltdegleetvdeiffefgeegleehgeegieffveeihfdt iefgheekfefgvdfhieehnecuffhomhgrihhnpehhvggrugdrshgsnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7BBCFC200A5; Mon, 21 Dec 2020 09:19:20 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20201221130048.7753-1-jiaxun.yang@flygoat.com> Date: Mon, 21 Dec 2020 22:18:58 +0800 From: "Jiaxun Yang" To: "Paul Cercueil" Cc: "linux-mips@vger.kernel.org" , "Thomas Bogendoerfer" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: zboot: head.S clean up Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 21, 2020, at 10:09 PM, Paul Cercueil wrote: > Hi Jiaxun, >=20 > Le lun. 21 d=C3=A9c. 2020 =C3=A0 21:00, Jiaxun Yang a=20 > =C3=A9crit : > > .cprestore is removed as we don't except Position Independent > > zboot ELF. > >=20 > > .noreorder is also removed and rest instructions is massaged > > to improve readability. > >=20 > > t9 register is used to indirect jump as MIPS ABI requirement. > >=20 > > Reported-by: Paul Cercueil > > Signed-off-by: Jiaxun Yang > > --- > > arch/mips/boot/compressed/head.S | 17 +++++++---------- > > 1 file changed, 7 insertions(+), 10 deletions(-) > >=20 > > diff --git a/arch/mips/boot/compressed/head.S=20 > > b/arch/mips/boot/compressed/head.S > > index 409cb483a9ff..977218c90bc8 100644 > > --- a/arch/mips/boot/compressed/head.S > > +++ b/arch/mips/boot/compressed/head.S > > @@ -15,8 +15,6 @@ > > #include > > #include > >=20 > > - .set noreorder > > - .cprestore > > LEAF(start) > > start: >=20 > You can also remove the 'start' label, since it's declared inside the=20= > LEAF() macro as well. GNU's assembler won't mind, but LLVM will choke=20= > on that. Thanks, will do in v2! I was trying to catch you on IRC but failed every time when it comes to = my mind :-( >=20 > Cheers, > -Paul >=20 - Jiaxun