RE: [PATCH v3 1/6] xen/x86: Provide helpers for common code to access acpi_numa

2022-08-29 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年8月25日 18:18 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v3 1/6] xen/x86: Provide helpers for common code to &g

Re: [PATCH v3 1/6] xen/x86: Provide helpers for common code to access acpi_numa

2022-08-25 Thread Jan Beulich
On 22.08.2022 04:58, Wei Chen wrote: > --- a/xen/arch/x86/include/asm/numa.h > +++ b/xen/arch/x86/include/asm/numa.h > @@ -32,8 +32,9 @@ extern void numa_add_cpu(int cpu); > extern void numa_init_array(void); > extern bool numa_off; > > - > -extern int srat_disabled(void); > +extern int arch_nu

[PATCH v3 1/6] xen/x86: Provide helpers for common code to access acpi_numa

2022-08-21 Thread Wei Chen
acpi_numa is a specific NUMA switch for ACPI NUMA implementation. Other NUMA implementation may not need this switch. But this switch is not only used by ACPI code, it is also used directly in some general NUMA logic code. So far this hasn't caused any problem because Xen only has x86 implementing