[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v4 09/17] xen/arm: introduce a helper to parse device tree NUMA distance map


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Tue, 23 May 2023 10:35:47 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=HA0mV2B5cDKm8ei7Ve+40Brx4aFdGQWaPzgY9XxKeHk=; b=iuY9x6pm/3BgNlLX5CEV8VavEWK4dbvFORCgBBu22oKMK/6BFx9M2hz51NHtTHNNNtGNXP1mupb+KS8+oMH0jQ2LdMtHFiMvMKEHp/LxRQdk/SQIc6xCJvn1sph9t9bTkfd9NkjBKNMRTBB6gfGUYBme21HQ8REdyeAeCFutTORLOpoF/il4VkDfB20L8xOJWUPY0E4RouTHVrBneWbcn4YGdNoZAA0WGJNiUqaZ82Lhm1DMHW4GtuoDXQ/ICPIUaRwB/+Zn696c6W0CfAVGJz76yT3rwGVFa6btZ3ZmhnUoF+DnyNEJib6WdYYVHcVQAvFnFenjjE9I7ft9IyckPw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RDocUBfFhxuFdEWf/ZzsMoxM83oNMKrxpJyK/Fxm7iM7GSdNpXYZvZFBaWyOsyVOgnQsQtGv7nNhS7DBdL6PTNvQp5jqRqko0jM+wbBCu9WhFmNVKk/xgXkNdehVr9qLWQaqvNDlvjWrL5/SY2DSzS8gsDiCm/k/9ExV5YS9h0k1l++mfaSFMWphDqcAMf8aZIzVb4kzNNCNfLloMSH3ODMi1vH12JMddUIX0oGu0+f8Z3KCMiMBmqXA09WSDycv05y6Bc0aOMPwcm0/EdgWlshFE0Bs8ol8Zu+ezaR57l22LnI7ebSgMxwu1D885mugJE9bVM/fsFRR6WqQxsRikg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Wei Chen <Wei.Chen@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Delivery-date: Tue, 23 May 2023 10:36:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHZd0ulMpqFICe/LUiDVq6+aDsW9687sveAgAFTkCCAACNagIAAAPgggAADbgCAKli08IAADIuAgAADKTCAADbvAIAAB2ng
  • Thread-topic: [PATCH v4 09/17] xen/arm: introduce a helper to parse device tree NUMA distance map

Hi Jan,

> -----Original Message-----
> On 23.05.2023 09:32, Henry Wang wrote:
> > By looking into the existing implementation of NUMA for DT,
> > in Linux, from drivers/base/arch_numa.c: numa_set_distance(), there is a
> > "if ((u8)distance != distance)" then return. So I think at least in Linux 
> > the
> > distance value is consistent with the ACPI spec.
> 
> Can we simply gain a similar check (suitably commented), eliminating the
> need for saturation?

Yes, I will use the similar check and add the related comments in v5. Thanks
for your confirmation!

Kind regards,
Henry

> 
> Jan

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.