[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/arm: Skip memory nodes if not enabled
- To: Leo Yan <leo.yan@xxxxxxxxxx>
- From: Michal Orzel <michal.orzel@xxxxxxx>
- Date: Fri, 29 Sep 2023 10:13:13 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linaro.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+zK8PYbqMgWjTT7+BWgIy5Ap5w/Tr855imzXimnjSfs=; b=U4zN9S+jogwulR4AwCFKYhe3ebVXd27Cr5QXzaSESG1x3evyo3TBP8FHfOYorPKjOKYXDGvQbTwntm+F6JxGsBh8jtl+CSOmFiZn8hiuTzcWMF81f9zED3YboUSitj4wMv+UcgLCzjd+803N99xDgC5qhnXEvCS8tyPcotUf4DeYcNqRRh7kD7JXk20wMMyzilN7wXfzYkCEGKt5c7byM1CrPNIXW1Gv1nvrd2E1r2/3dQzKO6ro3YGLnjM3VUCOvHIjihgh9ol3NyhjF40UREaHRdLX0yUl3FMhrDcnOJCj5BGqXNw07QRg97PlcnVjqLKzkFqM9K9JNzWWq1ChPQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XuTpErqs6a9UvxjGFSbFE9sjzXMr7tb8DDsARYK1fQpO3Kvvp9Ku+GFMor/HjUPF2SWcjif3JeONWuEujSNsJTwEgKezR0EJUxfVndJKF8Kvk43KigmJbvPSU3vxXE06b4tRc/LaSEhf6TbvGVUJsOsecNCuk+TQINLVVsSz5+AsgJaapY7IoORq7qNaOscM0hOL3Fqv+QeISd/CJaxar3QfceG1QUZ1CGHeh4WMYMJ+dDEucInJDKk5g2KpmddNj1ycBaODGbgvSaBnkzIwLbcg9C+1FVGBK0o/+z5qWVNZX+zg8XBgxH3iZzS7hYTn7jn539NCrBuevWJVxnqgEA==
- Cc: Julien Grall <julien@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 29 Sep 2023 08:13:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Leo,
On 28/09/2023 16:37, Leo Yan wrote:
>
>
> Hi Michal, Julien,
>
> On Wed, Sep 27, 2023 at 02:49:23PM +0200, Michal Orzel wrote:
>
> [...]
>
>> Either way is fine. The advantage of placing the check in boot_fdt_info() is
>> that we can have a single check instead of duplicated and we do the check
>> before
>> the "first" use which happens to be the banks sorting. The advantage of
>> setup_mm()
>> is that it is the one dealing with memory banks and is called after
>> early_print_info()
>> so user can see some additional info.
>>
>> @Leo, will you send a patch for that? Don't feel obliged as it is not
>> strictly related
>> to your patch in which case I can handle it.
>
> @Michal, since you have much better sense than me for adding check for
> memory banks, I'd like to leave it to you.
Ok, no problem.
~Michal
|