RE: [XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x86 to common

2021-08-31 Thread Wei Chen
Hi Stefano, > -Original Message- > From: Stefano Stabellini > Sent: 2021年8月31日 9:27 > To: Wei Chen > Cc: xen-devel@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org; > jbeul...@suse.com; Bertrand Marquis > Subject: Re: [XEN RFC PATCH 34/40] xen: move num

Re: [XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x86 to common

2021-08-30 Thread Stefano Stabellini
On Wed, 11 Aug 2021, Wei Chen wrote: > After the previous patches preparations, numa_scan_nodes can be > used by Arm and x86. So we move this function from x86 to common. > As node_cover_memory will not be used cross files, we restore its > static attribute in this patch. > > Signed-off-by: Wei Ch

RE: [XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x86 to common

2021-08-27 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2021年8月27日 22:14 > To: Wei Chen ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; jbeul...@suse.com > Cc: Bertrand Marquis > Subject: Re: [XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x8

Re: [XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x86 to common

2021-08-27 Thread Julien Grall
Hi Wei, On 11/08/2021 11:24, Wei Chen wrote: diff --git a/xen/include/asm-x86/acpi.h b/xen/include/asm-x86/acpi.h index 33b71dfb3b..2140461ff3 100644 --- a/xen/include/asm-x86/acpi.h +++ b/xen/include/asm-x86/acpi.h @@ -101,9 +101,6 @@ extern unsigned long acpi_wakeup_address; #define ARCH_

[XEN RFC PATCH 34/40] xen: move numa_scan_nodes from x86 to common

2021-08-11 Thread Wei Chen
After the previous patches preparations, numa_scan_nodes can be used by Arm and x86. So we move this function from x86 to common. As node_cover_memory will not be used cross files, we restore its static attribute in this patch. Signed-off-by: Wei Chen --- xen/arch/x86/srat.c| 52