|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.12 v2 2/2] xen/arm: Stop relocating Xen
On 12/18/18 12:09 PM, Andrii Anisov wrote: Hello Julien, Hi, On 17.12.18 19:34, Andrii Anisov wrote:I see something like following as a quick WA (not even build tested): diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index d2c63a8..bf72ba9 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -223,8 +223,9 @@ fail: * meet these requirements directly. So instead of proceed as follows: * * We first allocate the largest allocation we can as low as we - * can. This then becomes the first bank. This bank must be at least - * 128MB (or dom0_mem if that is smaller).+ * can. This then becomes the first bank. This bank is at least 128MB even if + * dom0 is configured for less. It is the way to get that bank 128MB aligned,+ * what is required for 32-bit zImage. * * Then we start allocating more memory, trying to allocate the * largest possible size and trying smaller sizes until we@@ -253,7 +254,7 @@ static void __init allocate_memory_11(struct domain *d, AFAICT, it was possible to boot a Dom0 with only 64MB on Arm64. So I am not entirely why we would also limit the size there. For Arm32, I think we should just return an error and fail the domain build. If you ask 64MB and we give you 128MB then something is already really wrong. Anyway, I think this should be submitted properly to discuss for Xen 4.12 inclusion. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |