RE: [PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2022-01-25 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年1月25日 0:30 > To: Wei Chen > Cc: Bertrand Marquis ; xen- > de...@lists.xenproject.org; sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 10/37] xen/x86: use helpers to access/update > mem_ho

Re: [PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2022-01-24 Thread Jan Beulich
On 23.09.2021 14:02, Wei Chen wrote: > --- a/xen/arch/x86/srat.c > +++ b/xen/arch/x86/srat.c > @@ -391,8 +391,8 @@ acpi_numa_memory_affinity_init(const struct > acpi_srat_mem_affinity *ma) > memblk_nodeid[num_node_memblks] = node; > if (ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) { >

RE: [PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2021-09-23 Thread Wei Chen
roger@citrix.com; w...@xen.org > Subject: Re: [PATCH 10/37] xen/x86: use helpers to access/update > mem_hotplug > > +x86 maintainers > > > On Thu, 23 Sep 2021, Wei Chen wrote: > > We want to abstract code from acpi_numa_memory_affinity_init. > > But mem_hotplug

Re: [PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2021-09-23 Thread Stefano Stabellini
+x86 maintainers On Thu, 23 Sep 2021, Wei Chen wrote: > We want to abstract code from acpi_numa_memory_affinity_init. > But mem_hotplug is coupled with x86. In this patch, we use > helpers to repace mem_hotplug direct accessing. This will ^ replace > allow most code can be common.

[PATCH 10/37] xen/x86: use helpers to access/update mem_hotplug

2021-09-23 Thread Wei Chen
We want to abstract code from acpi_numa_memory_affinity_init. But mem_hotplug is coupled with x86. In this patch, we use helpers to repace mem_hotplug direct accessing. This will allow most code can be common. Signed-off-by: Wei Chen --- xen/arch/x86/srat.c | 4 ++-- 1 file changed, 2 insertions