RE: [PATCH v7 5/6] xen/x86: move NUMA process nodes nodes code from x86 to common

2022-11-09 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年11月9日 17:30 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; George Dunlap > ; Julien Grall ; Stefano > Stabellini ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH

Re: [PATCH v7 5/6] xen/x86: move NUMA process nodes nodes code from x86 to common

2022-11-09 Thread Jan Beulich
On 09.11.2022 09:51, Wei Chen wrote: >> -Original Message- >> From: Jan Beulich >> Sent: 2022年11月9日 0:55 >> >>> @@ -341,159 +247,14 @@ acpi_numa_memory_affinity_init(const struct >> acpi_srat_mem_affinity *ma) >>> pxm &= 0xff; >>> node = setup_node(pxm); >>> if (node ==

RE: [PATCH v7 5/6] xen/x86: move NUMA process nodes nodes code from x86 to common

2022-11-09 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年11月9日 0:55 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; George Dunlap > ; Julien Grall ; Stefano > Stabellini ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH

Re: [PATCH v7 5/6] xen/x86: move NUMA process nodes nodes code from x86 to common

2022-11-08 Thread Jan Beulich
On 20.10.2022 08:14, Wei Chen wrote: > x86 has implemented a set of codes to process NUMA nodes. These > codes will parse NUMA memory and processor information from > ACPI SRAT table. But except some ACPI specific codes, most > of the process code like memory blocks validation, node memory > range

[PATCH v7 5/6] xen/x86: move NUMA process nodes nodes code from x86 to common

2022-10-19 Thread Wei Chen
x86 has implemented a set of codes to process NUMA nodes. These codes will parse NUMA memory and processor information from ACPI SRAT table. But except some ACPI specific codes, most of the process code like memory blocks validation, node memory range updates and some sanity check can be reused by