From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Subject: Re: [PATCH v9 12/18] arm64: kexec: arm64_relocate_new_kernel don't use x0 as temp References: <20200326032420.27220-1-pasha.tatashin@soleen.com> <20200326032420.27220-13-pasha.tatashin@soleen.com> From: James Morse Message-ID: <04f091b1-692d-c204-8a65-9048fb8b5a5e@arm.com> Date: Thu, 7 May 2020 17:22:20 +0100 MIME-Version: 1.0 In-Reply-To: <20200326032420.27220-13-pasha.tatashin@soleen.com> Content-Language: en-GB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Pavel Tatashin , sashal@kernel.org Cc: mark.rutland@arm.com, vladimir.murzin@arm.com, corbet@lwn.net, catalin.marinas@arm.com, bhsharma@redhat.com, steve.capper@arm.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, jmorris@namei.org, linux-mm@kvack.org, rfontana@redhat.com, ebiederm@xmission.com, maz@kernel.org, matthias.bgg@gmail.com, tglx@linutronix.de, will@kernel.org, selindag@gmail.com, linux-arm-kernel@lists.infradead.org Hi Pavel, On 26/03/2020 03:24, Pavel Tatashin wrote: > x0 will contain the only argument to arm64_relocate_new_kernel; don't > use it as a temp. Reassigned registers to free-up x0. The missing bit of motivation is _why_ you need x0 keep its value until the end of this code. With that covered, Reviewed-by: James Morse Thanks, James _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec