Re: [PATCH v12 13/16] arm64: kexec_file: invoke the kernel without purgatory

2018-07-27 Thread AKASHI Takahiro
On Thu, Jul 26, 2018 at 02:36:07PM +0100, James Morse wrote: > Hi Akashi, > > On 24/07/18 07:57, AKASHI Takahiro wrote: > > On arm64, purgatory would do almost nothing. So just invoke secondary > > kernel directly by jumping into its entry code. > > > > While, in this case, cpu_soft_restart() mus

Re: [PATCH v12 13/16] arm64: kexec_file: invoke the kernel without purgatory

2018-07-26 Thread James Morse
Hi Akashi, On 24/07/18 07:57, AKASHI Takahiro wrote: > On arm64, purgatory would do almost nothing. So just invoke secondary > kernel directly by jumping into its entry code. > > While, in this case, cpu_soft_restart() must be called with dtb address > in the fifth argument, the behavior still st

[PATCH v12 13/16] arm64: kexec_file: invoke the kernel without purgatory

2018-07-24 Thread AKASHI Takahiro
On arm64, purgatory would do almost nothing. So just invoke secondary kernel directly by jumping into its entry code. While, in this case, cpu_soft_restart() must be called with dtb address in the fifth argument, the behavior still stays compatible with kexec_load case as long as the argument is n