Hi,
On 16/01/2024 14:37, Julien Grall wrote:
> From: Julien Grall <jgrall@amazon.com>
>
> Hi all,
>
> Right now, the MMU-off code will access may access data that are either
> in .rodata or .data. With the enablement of cache coloring, Xen may
> not be physcally contiguous anymore when secondary CPUs are brought up.
>
> There are multiple way to solve this problem. The first is to keep
> a copy of Xen physically contiguous in memory. The downside is this
> means we are using up to 8MB (maximum size of Xen) when only a few
> KBs is necessary.
>
> This series is reworking the logic so all the MMU-off code is now
> self-contained for secondary boot CPUs on arm64.
>
> On arm32, this is not yet possible because secondary CPUs needs to
> rebuild boot page-tables.
>
> Cheers,
>
> Julien Grall (4):
> arm/mmu: Move init_ttbr to a new section .data.idmap
> arm/smpboot: Move smp_up_cpu to a new section .data.idmap
> xen/arm64: head: Use PRINT_ID() for secondary CPU MMU-off boot code
The first 3 patches are now committed.
Cheers,
--
Julien Grall