From: Andrew Jones <andrew.jones@linux.dev>
To: kvmarm@lists.linux.dev
Cc: alexandru.elisei@arm.com, eric.auger@redhat.com,
jean-philippe@linaro.org
Subject: Re: [kvm-unit-tests PATCH] arm/arm64: efi: Bump number of memregions
Date: Tue, 8 Apr 2025 17:16:54 +0200 [thread overview]
Message-ID: <20250408-bd9dcf82f26d72cee5d8013c@orel> (raw)
In-Reply-To: <20250408150413.97104-2-andrew.jones@linux.dev>
On Tue, Apr 08, 2025 at 05:04:14PM +0200, Andrew Jones wrote:
> When using QEMU's 'max' cpu type additional EFI memory regions are
> present. Just like riscv's commit f35fe0ee486a ("riscv: efi: Bump
> number of memregions"), bump the number we allow to ensure we don't
> hit the assert in memregions_add().
>
> Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
> ---
> lib/arm/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/arm/setup.c b/lib/arm/setup.c
> index aaa0da9804a2..67b5db07ba8f 100644
> --- a/lib/arm/setup.c
> +++ b/lib/arm/setup.c
> @@ -31,7 +31,7 @@
> #include "io.h"
>
> #define MAX_DT_MEM_REGIONS 16
> -#define NR_EXTRA_MEM_REGIONS 64
> +#define NR_EXTRA_MEM_REGIONS 128
> #define NR_MEM_REGIONS (MAX_DT_MEM_REGIONS + NR_EXTRA_MEM_REGIONS)
>
> extern unsigned long _text, _etext, _data, _edata;
> --
> 2.49.0
>
Merged through arm/queue.
Thanks,
drew
prev parent reply other threads:[~2025-04-08 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 15:04 [kvm-unit-tests PATCH] arm/arm64: efi: Bump number of memregions Andrew Jones
2025-04-08 15:16 ` Andrew Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250408-bd9dcf82f26d72cee5d8013c@orel \
--to=andrew.jones@linux.dev \
--cc=alexandru.elisei@arm.com \
--cc=eric.auger@redhat.com \
--cc=jean-philippe@linaro.org \
--cc=kvmarm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.