Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-11 Thread Dou Liyang
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

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-11 Thread Igor Mammedov
On Tue, 5 Sep 2017 09:17:06 +0800 Dou Liyang 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 me

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-04 Thread Dou Liyang
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

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-04 Thread Eduardo Habkost
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 >

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-04 Thread Igor Mammedov
On Fri, 1 Sep 2017 13:11:18 -0300 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 th

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-03 Thread Dou Liyang
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

[Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-01 Thread Thadeu Lima de Souza Cascardo
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 devic

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-01 Thread Eduardo Habkost
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 th