Hari Bathini <hbath...@linux.ibm.com> writes:
> To avoid any weird errors, the purgatory should run with its own > stack. Set one up by adding the stack buffer to .data section of > the purgatory. Also, setup opal base & entry values in r8 & r9 > registers to help early OPAL debugging. > > Signed-off-by: Hari Bathini <hbath...@linux.ibm.com> > Tested-by: Pingfan Liu <pi...@redhat.com> Reviewed-by: Thiago Jung Bauermann <bauer...@linux.ibm.com> > --- > > v2 -> v3: > * Unchanged. Added Tested-by tag from Pingfan. > > v1 -> v2: > * Setting up opal base & entry values in r8 & r9 for early OPAL debug. > > > arch/powerpc/include/asm/kexec.h | 4 ++++ > arch/powerpc/kexec/file_load_64.c | 29 +++++++++++++++++++++++++++++ > arch/powerpc/purgatory/trampoline_64.S | 32 > ++++++++++++++++++++++++++++++++ > 3 files changed, 65 insertions(+) > -- Thiago Jung Bauermann IBM Linux Technology Center