On 8/14/23 8:09 AM, Jan Beulich wrote:
> On 10.08.2023 00:48, Shawn Anastasio wrote:
>> --- a/xen/arch/ppc/ppc64/head.S
>> +++ b/xen/arch/ppc/ppc64/head.S
>> @@ -17,6 +17,33 @@ ENTRY(start)
>> addis %r2, %r12, .TOC.-1b@ha
>> addi%r2, %r2, .TOC.-1b@l
>>
>> +/*
>> + * Copy Xen
On 10.08.2023 00:48, Shawn Anastasio wrote:
> --- a/xen/arch/ppc/ppc64/head.S
> +++ b/xen/arch/ppc/ppc64/head.S
> @@ -17,6 +17,33 @@ ENTRY(start)
> addis %r2, %r12, .TOC.-1b@ha
> addi%r2, %r2, .TOC.-1b@l
>
> +/*
> + * Copy Xen to physical address zero and jump to XEN_VIRT_S
Introduce a small assembly loop in `start` to copy the kernel to
physical address 0 before continuing. This ensures that the physical
address lines up with XEN_VIRT_START (0xc000) and allows us
to identity map the kernel when the MMU is set up in the next patch.
We are also able to sta