RE: [PATCH 32/37] xen/arm: unified entry to parse all NUMA data from device tree

2021-09-24 Thread Stefano Stabellini
: Re: [PATCH 32/37] xen/arm: unified entry to parse all NUMA data > > from device tree > > > > On Thu, 23 Sep 2021, Wei Chen wrote: > > > In this API, we scan whole device tree to parse CPU node id, memory > > ^ function ^ the whole > > > >

RE: [PATCH 32/37] xen/arm: unified entry to parse all NUMA data from device tree

2021-09-24 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2021年9月24日 11:17 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org; > Bertrand Marquis > Subject: Re: [PATCH 32/37] xen/arm: unified entry to parse all NU

Re: [PATCH 32/37] xen/arm: unified entry to parse all NUMA data from device tree

2021-09-23 Thread Stefano Stabellini
On Thu, 23 Sep 2021, Wei Chen wrote: > In this API, we scan whole device tree to parse CPU node id, memory ^ function ^ the whole > node id and distance-map. Though early_scan_node will invoke has a > handler to process memory nodes. If we want to parse memory node id > in this handler

[PATCH 32/37] xen/arm: unified entry to parse all NUMA data from device tree

2021-09-23 Thread Wei Chen
In this API, we scan whole device tree to parse CPU node id, memory node id and distance-map. Though early_scan_node will invoke has a handler to process memory nodes. If we want to parse memory node id in this handler, we have to embeded NUMA parse code in this handler. But we still need to scan w