Sorry, forgot to send one comment for this patch:
Hari Bathini writes:
> @@ -898,10 +900,37 @@ int setup_purgatory_ppc64(struct kimage *image, const
> void *slave_code,
> goto out;
> }
>
> + /* Setup the stack top */
> + stack_buf =
Hari Bathini 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
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
Tested-by: Pingfan Liu
---
v2 ->
3 matches
Mail list logo