All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
@ 2017-09-01 15:45 Thadeu Lima de Souza Cascardo
  2017-09-01 16:11 ` Eduardo Habkost
  0 siblings, 1 reply; 8+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2017-09-01 15:45 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Igor Mammedov, Paolo Bonzini,
	Richard Henderson, Eduardo Habkost

Linux uses SRAT to determine the maximum memory in a system, which is
used to determine whether to use the swiotlb for IOMMU or not for a
device that supports only 32 bits of addresses.

When there is no NUMA configuration, qemu will not build SRAT. And when
memory hotplug is done, some Linux device drivers start failing.

Tested by running with -m 512M,slots=8,maxmem=1G, adding the memory,
putting that online and using the system. Without the patch, swiotlb is
not used and ATA driver fails. With the patch, swiotlb is used, no
driver failure is observed.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
---
 hw/i386/acpi-build.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 98dd424678..fb94249779 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -2645,6 +2645,9 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
     GArray *tables_blob = tables->table_data;
     AcpiSlicOem slic_oem = { .id = NULL, .table_id = NULL };
     Object *vmgenid_dev;
+    ram_addr_t hotplugabble_address_space_size =
+        object_property_get_int(OBJECT(pcms), PC_MACHINE_MEMHP_REGION_SIZE,
+                                NULL);
 
     acpi_get_pm_info(&pm);
     acpi_get_misc_info(&misc);
@@ -2708,7 +2711,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
             build_tpm2(tables_blob, tables->linker);
         }
     }
-    if (pcms->numa_nodes) {
+    if (pcms->numa_nodes || hotplugabble_address_space_size) {
         acpi_add_table(table_offsets, tables_blob);
         build_srat(tables_blob, tables->linker, machine);
         if (have_numa_distance) {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-01 15:45 [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled Thadeu Lima de Souza Cascardo
@ 2017-09-01 16:11 ` Eduardo Habkost
  2017-09-04  1:38   ` Dou Liyang
  2017-09-04  7:23   ` Igor Mammedov
  0 siblings, 2 replies; 8+ messages in thread
From: Eduardo Habkost @ 2017-09-01 16:11 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo
  Cc: qemu-devel, Michael S. Tsirkin, Igor Mammedov, Paolo Bonzini,
	Richard Henderson, Dou Liyang

On Fri, Sep 01, 2017 at 12:45:42PM -0300, Thadeu Lima de Souza Cascardo wrote:
> Linux uses SRAT to determine the maximum memory in a system, which is
> used to determine whether to use the swiotlb for IOMMU or not for a
> device that supports only 32 bits of addresses.

Do you have a pointer to the corresponding Linux code, for
reference?  Which SRAT entries Linux uses to make this decision?

> 
> When there is no NUMA configuration, qemu will not build SRAT. And when
> memory hotplug is done, some Linux device drivers start failing.
> 
> Tested by running with -m 512M,slots=8,maxmem=1G, adding the memory,
> putting that online and using the system. Without the patch, swiotlb is
> not used and ATA driver fails. With the patch, swiotlb is used, no
> driver failure is observed.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>

As far as I can see, this will only add APIC entries and a memory
affinity entry for the first 640KB (which would be obviously
wrong) if pcms->numa_nodes is 0.

Once we apply the "Fix SRAT memory building in case of node 0
without RAM" patch from Dou Liyang, no memory affinity entries
will be generated if pcms->numa_nodes is 0.  Would this cause the
problem to happen again?


> ---
>  hw/i386/acpi-build.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
> index 98dd424678..fb94249779 100644
> --- a/hw/i386/acpi-build.c
> +++ b/hw/i386/acpi-build.c
> @@ -2645,6 +2645,9 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
>      GArray *tables_blob = tables->table_data;
>      AcpiSlicOem slic_oem = { .id = NULL, .table_id = NULL };
>      Object *vmgenid_dev;
> +    ram_addr_t hotplugabble_address_space_size =
> +        object_property_get_int(OBJECT(pcms), PC_MACHINE_MEMHP_REGION_SIZE,
> +                                NULL);
>  
>      acpi_get_pm_info(&pm);
>      acpi_get_misc_info(&misc);
> @@ -2708,7 +2711,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
>              build_tpm2(tables_blob, tables->linker);
>          }
>      }
> -    if (pcms->numa_nodes) {
> +    if (pcms->numa_nodes || hotplugabble_address_space_size) {
>          acpi_add_table(table_offsets, tables_blob);
>          build_srat(tables_blob, tables->linker, machine);
>          if (have_numa_distance) {
> -- 
> 2.11.0
> 

-- 
Eduardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-01 16:11 ` Eduardo Habkost
@ 2017-09-04  1:38   ` Dou Liyang
  2017-09-04 13:08     ` Eduardo Habkost
  2017-09-04  7:23   ` Igor Mammedov
  1 sibling, 1 reply; 8+ messages in thread
From: Dou Liyang @ 2017-09-04  1:38 UTC (permalink / raw)
  To: Eduardo Habkost, Thadeu Lima de Souza Cascardo
  Cc: qemu-devel, Michael S. Tsirkin, Igor Mammedov, Paolo Bonzini,
	Richard Henderson

Hi Eduardo, Thadeu,

At 09/02/2017 12:11 AM, Eduardo Habkost wrote:
> On Fri, Sep 01, 2017 at 12:45:42PM -0300, Thadeu Lima de Souza Cascardo wrote:
>> Linux uses SRAT to determine the maximum memory in a system, which is
>> used to determine whether to use the swiotlb for IOMMU or not for a
>> device that supports only 32 bits of addresses.
>
> Do you have a pointer to the corresponding Linux code, for
> reference?  Which SRAT entries Linux uses to make this decision?
>
>>
>> When there is no NUMA configuration, qemu will not build SRAT. And when
>> memory hotplug is done, some Linux device drivers start failing.
>>
>> Tested by running with -m 512M,slots=8,maxmem=1G, adding the memory,
>> putting that online and using the system. Without the patch, swiotlb is
>> not used and ATA driver fails. With the patch, swiotlb is used, no
>> driver failure is observed.
>>
>> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
>
> As far as I can see, this will only add APIC entries and a memory
> affinity entry for the first 640KB (which would be obviously
> wrong) if pcms->numa_nodes is 0.
>

In my opinion, this may also add the hotpluggable memory, and see the 
following commemts.

     /*
      * Entry is required for Windows to enable memory hotplug in OS
      * and for Linux to enable SWIOTLB when booted with less than
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      * 4G of RAM. Windows works better if the entry sets proximity
      * to the highest NUMA node in the machine.
      * Memory devices may override proximity set by this entry,
      * providing _PXM method if necessary.
      */
     if (hotplugabble_address_space_size) {
         numamem = acpi_data_push(table_data, sizeof *numamem);
         build_srat_memory(numamem, pcms->hotplug_memory.base,
                           hotplugabble_address_space_size, 
pcms->numa_nodes - 1,
                           MEM_AFFINITY_HOTPLUGGABLE | 
MEM_AFFINITY_ENABLED);
     }


Thanks,
	dou.

> Once we apply the "Fix SRAT memory building in case of node 0
> without RAM" patch from Dou Liyang, no memory affinity entries
> will be generated if pcms->numa_nodes is 0.  Would this cause the
> problem to happen again?
>



>
>> ---
>>  hw/i386/acpi-build.c | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
>> index 98dd424678..fb94249779 100644
>> --- a/hw/i386/acpi-build.c
>> +++ b/hw/i386/acpi-build.c
>> @@ -2645,6 +2645,9 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
>>      GArray *tables_blob = tables->table_data;
>>      AcpiSlicOem slic_oem = { .id = NULL, .table_id = NULL };
>>      Object *vmgenid_dev;
>> +    ram_addr_t hotplugabble_address_space_size =
>> +        object_property_get_int(OBJECT(pcms), PC_MACHINE_MEMHP_REGION_SIZE,
>> +                                NULL);
>>
>>      acpi_get_pm_info(&pm);
>>      acpi_get_misc_info(&misc);
>> @@ -2708,7 +2711,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
>>              build_tpm2(tables_blob, tables->linker);
>>          }
>>      }
>> -    if (pcms->numa_nodes) {
>> +    if (pcms->numa_nodes || hotplugabble_address_space_size) {
>>          acpi_add_table(table_offsets, tables_blob);
>>          build_srat(tables_blob, tables->linker, machine);
>>          if (have_numa_distance) {
>> --
>> 2.11.0
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-01 16:11 ` Eduardo Habkost
  2017-09-04  1:38   ` Dou Liyang
@ 2017-09-04  7:23   ` Igor Mammedov
  1 sibling, 0 replies; 8+ messages in thread
From: Igor Mammedov @ 2017-09-04  7:23 UTC (permalink / raw)
  To: Eduardo Habkost
  Cc: Thadeu Lima de Souza Cascardo, qemu-devel, Michael S. Tsirkin,
	Paolo Bonzini, Richard Henderson, Dou Liyang

On Fri, 1 Sep 2017 13:11:18 -0300
Eduardo Habkost <ehabkost@redhat.com> wrote:

> On Fri, Sep 01, 2017 at 12:45:42PM -0300, Thadeu Lima de Souza Cascardo wrote:
> > Linux uses SRAT to determine the maximum memory in a system, which is
> > used to determine whether to use the swiotlb for IOMMU or not for a
> > device that supports only 32 bits of addresses.  
> 
> Do you have a pointer to the corresponding Linux code, for
> reference?  Which SRAT entries Linux uses to make this decision?
ec941c5f x86/mm/64: Enable SWIOTLB if system has SRAT memory regions above MAX_DMA32_PFN


> > When there is no NUMA configuration, qemu will not build SRAT. And when
> > memory hotplug is done, some Linux device drivers start failing.
> > 
> > Tested by running with -m 512M,slots=8,maxmem=1G, adding the memory,
> > putting that online and using the system. Without the patch, swiotlb is
> > not used and ATA driver fails. With the patch, swiotlb is used, no
> > driver failure is observed.
> > 
> > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>  
> 
> As far as I can see, this will only add APIC entries and a memory
> affinity entry for the first 640KB (which would be obviously
> wrong) if pcms->numa_nodes is 0.
I think safest way to achieve what patch needs is to
enable add numa node implicitly if user hasn't done it explicitly on CLI
when memory hotplug is enabled i.e. slots != 0.

> 
> Once we apply the "Fix SRAT memory building in case of node 0
> without RAM" patch from Dou Liyang, no memory affinity entries
> will be generated if pcms->numa_nodes is 0.  Would this cause the
> problem to happen again?
> 
> 
> > ---
> >  hw/i386/acpi-build.c | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
> > index 98dd424678..fb94249779 100644
> > --- a/hw/i386/acpi-build.c
> > +++ b/hw/i386/acpi-build.c
> > @@ -2645,6 +2645,9 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
> >      GArray *tables_blob = tables->table_data;
> >      AcpiSlicOem slic_oem = { .id = NULL, .table_id = NULL };
> >      Object *vmgenid_dev;
> > +    ram_addr_t hotplugabble_address_space_size =
> > +        object_property_get_int(OBJECT(pcms), PC_MACHINE_MEMHP_REGION_SIZE,
> > +                                NULL);
> >  
> >      acpi_get_pm_info(&pm);
> >      acpi_get_misc_info(&misc);
> > @@ -2708,7 +2711,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
> >              build_tpm2(tables_blob, tables->linker);
> >          }
> >      }
> > -    if (pcms->numa_nodes) {
> > +    if (pcms->numa_nodes || hotplugabble_address_space_size) {
> >          acpi_add_table(table_offsets, tables_blob);
> >          build_srat(tables_blob, tables->linker, machine);
> >          if (have_numa_distance) {
> > -- 
> > 2.11.0
> >   
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-04  1:38   ` Dou Liyang
@ 2017-09-04 13:08     ` Eduardo Habkost
  2017-09-05  1:17       ` Dou Liyang
  0 siblings, 1 reply; 8+ messages in thread
From: Eduardo Habkost @ 2017-09-04 13:08 UTC (permalink / raw)
  To: Dou Liyang
  Cc: Thadeu Lima de Souza Cascardo, qemu-devel, Michael S. Tsirkin,
	Igor Mammedov, Paolo Bonzini, Richard Henderson

On Mon, Sep 04, 2017 at 09:38:47AM +0800, Dou Liyang wrote:
> Hi Eduardo, Thadeu,
> 
> At 09/02/2017 12:11 AM, Eduardo Habkost wrote:
> > On Fri, Sep 01, 2017 at 12:45:42PM -0300, Thadeu Lima de Souza Cascardo wrote:
> > > Linux uses SRAT to determine the maximum memory in a system, which is
> > > used to determine whether to use the swiotlb for IOMMU or not for a
> > > device that supports only 32 bits of addresses.
> > 
> > Do you have a pointer to the corresponding Linux code, for
> > reference?  Which SRAT entries Linux uses to make this decision?
> > 
> > > 
> > > When there is no NUMA configuration, qemu will not build SRAT. And when
> > > memory hotplug is done, some Linux device drivers start failing.
> > > 
> > > Tested by running with -m 512M,slots=8,maxmem=1G, adding the memory,
> > > putting that online and using the system. Without the patch, swiotlb is
> > > not used and ATA driver fails. With the patch, swiotlb is used, no
> > > driver failure is observed.
> > > 
> > > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
> > 
> > As far as I can see, this will only add APIC entries and a memory
> > affinity entry for the first 640KB (which would be obviously
> > wrong) if pcms->numa_nodes is 0.
> > 
> 
> In my opinion, this may also add the hotpluggable memory, and see the
> following commemts.
> 
>     /*
>      * Entry is required for Windows to enable memory hotplug in OS
>      * and for Linux to enable SWIOTLB when booted with less than
>            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>      * 4G of RAM. Windows works better if the entry sets proximity
>      * to the highest NUMA node in the machine.
>      * Memory devices may override proximity set by this entry,
>      * providing _PXM method if necessary.
>      */
>     if (hotplugabble_address_space_size) {
>         numamem = acpi_data_push(table_data, sizeof *numamem);
>         build_srat_memory(numamem, pcms->hotplug_memory.base,
>                           hotplugabble_address_space_size, pcms->numa_nodes
> - 1,
>                           MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
>     }

You are correct, I didn't see that part of the code.  If that's
the entry that's missing, the patch makes sense.  Thanks!

However, the resulting tables still don't look correct: it will
generate an entry assigned to NUMA node (uint32_t)-1 if no NUMA
nodes are configured elsewhere, some APIC entries, but no entries
for the rest of the memory.

Igor's suggestion to enable NUMA implicitly sounds safer to me.

> 
> 
> Thanks,
> 	dou.
> 
> > Once we apply the "Fix SRAT memory building in case of node 0
> > without RAM" patch from Dou Liyang, no memory affinity entries
> > will be generated if pcms->numa_nodes is 0.  Would this cause the
> > problem to happen again?
> > 
> 
> 
> 
> > 
> > > ---
> > >  hw/i386/acpi-build.c | 5 ++++-
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > > 
> > > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
> > > index 98dd424678..fb94249779 100644
> > > --- a/hw/i386/acpi-build.c
> > > +++ b/hw/i386/acpi-build.c
> > > @@ -2645,6 +2645,9 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
> > >      GArray *tables_blob = tables->table_data;
> > >      AcpiSlicOem slic_oem = { .id = NULL, .table_id = NULL };
> > >      Object *vmgenid_dev;
> > > +    ram_addr_t hotplugabble_address_space_size =
> > > +        object_property_get_int(OBJECT(pcms), PC_MACHINE_MEMHP_REGION_SIZE,
> > > +                                NULL);
> > > 
> > >      acpi_get_pm_info(&pm);
> > >      acpi_get_misc_info(&misc);
> > > @@ -2708,7 +2711,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
> > >              build_tpm2(tables_blob, tables->linker);
> > >          }
> > >      }
> > > -    if (pcms->numa_nodes) {
> > > +    if (pcms->numa_nodes || hotplugabble_address_space_size) {
> > >          acpi_add_table(table_offsets, tables_blob);
> > >          build_srat(tables_blob, tables->linker, machine);
> > >          if (have_numa_distance) {
> > > --
> > > 2.11.0
> > > 
> > 
> 
> 

-- 
Eduardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-04 13:08     ` Eduardo Habkost
@ 2017-09-05  1:17       ` Dou Liyang
  2017-09-11 10:58         ` Igor Mammedov
  0 siblings, 1 reply; 8+ messages in thread
From: Dou Liyang @ 2017-09-05  1:17 UTC (permalink / raw)
  To: Eduardo Habkost
  Cc: Thadeu Lima de Souza Cascardo, qemu-devel, Michael S. Tsirkin,
	Igor Mammedov, Paolo Bonzini, Richard Henderson

Hi Eduardo,

At 09/04/2017 09:08 PM, Eduardo Habkost wrote:
[...]
>> In my opinion, this may also add the hotpluggable memory, and see the
>> following commemts.
>>
>>     /*
>>      * Entry is required for Windows to enable memory hotplug in OS
>>      * and for Linux to enable SWIOTLB when booted with less than
>>            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>      * 4G of RAM. Windows works better if the entry sets proximity
>>      * to the highest NUMA node in the machine.
>>      * Memory devices may override proximity set by this entry,
>>      * providing _PXM method if necessary.
>>      */
>>     if (hotplugabble_address_space_size) {
>>         numamem = acpi_data_push(table_data, sizeof *numamem);
>>         build_srat_memory(numamem, pcms->hotplug_memory.base,
>>                           hotplugabble_address_space_size, pcms->numa_nodes
>> - 1,
>>                           MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
>>     }
>
> You are correct, I didn't see that part of the code.  If that's
> the entry that's missing, the patch makes sense.  Thanks!
>
> However, the resulting tables still don't look correct: it will
> generate an entry assigned to NUMA node (uint32_t)-1 if no NUMA
> nodes are configured elsewhere, some APIC entries, but no entries
> for the rest of the memory.

Yes, indeed.

>
> Igor's suggestion to enable NUMA implicitly sounds safer to me.
>

I agree with Igor too.

Is anybody doing this? If not, may I make a patch to enable adding NUMA
node implicitly first. let's see what it looks like.

Thanks,
	dou.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-05  1:17       ` Dou Liyang
@ 2017-09-11 10:58         ` Igor Mammedov
  2017-09-12  0:58           ` Dou Liyang
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Mammedov @ 2017-09-11 10:58 UTC (permalink / raw)
  To: Dou Liyang
  Cc: Eduardo Habkost, Thadeu Lima de Souza Cascardo, qemu-devel,
	Michael S. Tsirkin, Paolo Bonzini, Richard Henderson

On Tue, 5 Sep 2017 09:17:06 +0800
Dou Liyang <douly.fnst@cn.fujitsu.com> wrote:

> Hi Eduardo,
> 
> At 09/04/2017 09:08 PM, Eduardo Habkost wrote:
> [...]
> >> In my opinion, this may also add the hotpluggable memory, and see the
> >> following commemts.
> >>
> >>     /*
> >>      * Entry is required for Windows to enable memory hotplug in OS
> >>      * and for Linux to enable SWIOTLB when booted with less than
> >>            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>      * 4G of RAM. Windows works better if the entry sets proximity
> >>      * to the highest NUMA node in the machine.
> >>      * Memory devices may override proximity set by this entry,
> >>      * providing _PXM method if necessary.
> >>      */
> >>     if (hotplugabble_address_space_size) {
> >>         numamem = acpi_data_push(table_data, sizeof *numamem);
> >>         build_srat_memory(numamem, pcms->hotplug_memory.base,
> >>                           hotplugabble_address_space_size, pcms->numa_nodes
> >> - 1,
> >>                           MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
> >>     }  
> >
> > You are correct, I didn't see that part of the code.  If that's
> > the entry that's missing, the patch makes sense.  Thanks!
> >
> > However, the resulting tables still don't look correct: it will
> > generate an entry assigned to NUMA node (uint32_t)-1 if no NUMA
> > nodes are configured elsewhere, some APIC entries, but no entries
> > for the rest of the memory.  
> 
> Yes, indeed.
> 
> >
> > Igor's suggestion to enable NUMA implicitly sounds safer to me.
> >  
> 
> I agree with Igor too.
> 
> Is anybody doing this? If not, may I make a patch to enable adding NUMA
> node implicitly first. let's see what it looks like.
As far as I'm aware nobody is doing it, so fill free to look into it.

> 
> Thanks,
> 	dou.
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled
  2017-09-11 10:58         ` Igor Mammedov
@ 2017-09-12  0:58           ` Dou Liyang
  0 siblings, 0 replies; 8+ messages in thread
From: Dou Liyang @ 2017-09-12  0:58 UTC (permalink / raw)
  To: Igor Mammedov
  Cc: Eduardo Habkost, Thadeu Lima de Souza Cascardo, qemu-devel,
	Michael S. Tsirkin, Paolo Bonzini, Richard Henderson

Hi Igor,

At 09/11/2017 06:58 PM, Igor Mammedov wrote:
>>> > >
>>> > > Igor's suggestion to enable NUMA implicitly sounds safer to me.
>>> > >
>> >
>> > I agree with Igor too.
>> >
>> > Is anybody doing this? If not, may I make a patch to enable adding NUMA
>> > node implicitly first. let's see what it looks like.
> As far as I'm aware nobody is doing it, so fill free to look into it.
>

Got it!  I will do it right now.

Thanks,
	dou.

>> >
>> > Thanks,
>> > 	dou.
>> >
>> >

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-09-12  1:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-01 15:45 [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled Thadeu Lima de Souza Cascardo
2017-09-01 16:11 ` Eduardo Habkost
2017-09-04  1:38   ` Dou Liyang
2017-09-04 13:08     ` Eduardo Habkost
2017-09-05  1:17       ` Dou Liyang
2017-09-11 10:58         ` Igor Mammedov
2017-09-12  0:58           ` Dou Liyang
2017-09-04  7:23   ` Igor Mammedov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.