On 17.04.2025 18:08, Oleksii Kurochko wrote:
> A randconfig job failed with the following issue:
>   riscv64-linux-gnu-ld: Xen too large for early-boot assumptions
> 
> The reason is that enabling the UBSAN config increased the size of
> the Xen binary.
> 
> Increase XEN_VIRT_SIZE to reserve enough space, allowing both UBSAN
> and GCOV to be enabled together, with some slack for future growth.
> 
> Additionally, add checks to verify that XEN_VIRT_START is 1GB-aligned
> and XEN_VIRT_SIZE is 2MB-aligned to reduce the number of page tables
> needed for the initial mapping. In the future, when 2MB mappings are
> used for .text (rx), .rodata (r), and .data (rw), this will also help
> reduce TLB pressure.
> 
> Reported-by: Andrew Cooper <andrew.coop...@citrix.com>
> Signed-off-by: Oleksii Kurochko <oleksii.kuroc...@gmail.com>

Acked-by: Jan Beulich <jbeul...@suse.com>



Reply via email to