[kvm-unit-tests v3 11/13] powerpc: Discover runtime load address dynamically
Thomas Huth
thuth at redhat.com
Tue Apr 4 17:34:07 AEST 2023
On 27/03/2023 14.45, Nicholas Piggin wrote:
> The next change will load the kernels at different addresses depending
> on test options, so this needs to be reverted back to dynamic
> discovery.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
> powerpc/cstart64.S | 19 ++++++++++++++-----
> 1 file changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/powerpc/cstart64.S b/powerpc/cstart64.S
> index 1bd0437..0592e03 100644
> --- a/powerpc/cstart64.S
> +++ b/powerpc/cstart64.S
> @@ -33,9 +33,14 @@ start:
> * We were loaded at QEMU's kernel load address, but we're not
> * allowed to link there due to how QEMU deals with linker VMAs,
> * so we just linked at zero. This means the first thing to do is
> - * to find our stack and toc, and then do a relocate.
> + * to find our stack and toc, and then do a relocate. powernv and
> + * pseries load addreses are not the same, so find the address
With s/addreses/addresses/ :
Acked-by: Thomas Huth <thuth at redhat.com>
More information about the Linuxppc-dev
mailing list