Re: [PATCH v9 12/18] arm64: kexec: arm64_relocate_new_kernel don't use x0 as temp
From: James Morse <james.morse@arm.com>
Date: 2020-05-07 16:22:31
Also in:
kexec, linux-mm, lkml
From: James Morse <james.morse@arm.com>
Date: 2020-05-07 16:22:31
Also in:
kexec, linux-mm, lkml
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 <james.morse@arm.com> Thanks, James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel