Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-13 Thread Igor Mammedov
On Wed, 13 Oct 2021 10:32:18 +1100 Gavin Shan wrote: > Hi Igor, > > On 10/13/21 12:53 AM, Igor Mammedov wrote: > > On Tue, 12 Oct 2021 15:13:08 +0200 > > Andrew Jones wrote: > >> On Tue, Oct 12, 2021 at 02:27:54PM +0200, Igor Mammedov wrote: > >>> On Tue, 12 Oct 2021 12:37:54 +0200 > >>> A

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Andrew Jones
On Tue, Oct 12, 2021 at 03:53:21PM +0200, Igor Mammedov wrote: ... > > > > > > Instead of putting workaround in QEMU and then making them generic, > > > I'd prefer to: > > > 1. make QEMU to be able generate DT with memory-less nodes > > > > How? DT syntax doesn't allow this, because each node

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Gavin Shan
Hi Igor, On 10/13/21 12:53 AM, Igor Mammedov wrote: On Tue, 12 Oct 2021 15:13:08 +0200 Andrew Jones wrote: On Tue, Oct 12, 2021 at 02:27:54PM +0200, Igor Mammedov wrote: On Tue, 12 Oct 2021 12:37:54 +0200 Andrew Jones wrote: On Tue, Oct 12, 2021 at 11:40:16AM +0200, Igor Mammedov wrote:

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Gavin Shan
Hi Drew and Igor, On 10/13/21 12:05 AM, Andrew Jones wrote: On Tue, Oct 12, 2021 at 02:34:30PM +0200, Igor Mammedov wrote: On Tue, 12 Oct 2021 13:48:02 +0200 On Tue, Oct 12, 2021 at 09:31:55PM +1100, Gavin Shan wrote: On 10/12/21 8:40 PM, Igor Mammedov wrote: On Wed, 6 Oct 2021 18:22:08 +08

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Igor Mammedov
On Tue, 12 Oct 2021 15:13:08 +0200 Andrew Jones wrote: > On Tue, Oct 12, 2021 at 02:27:54PM +0200, Igor Mammedov wrote: > > On Tue, 12 Oct 2021 12:37:54 +0200 > > Andrew Jones wrote: > > > > > On Tue, Oct 12, 2021 at 11:40:16AM +0200, Igor Mammedov wrote: > > > > On Wed, 6 Oct 2021 18:22:0

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Andrew Jones
On Tue, Oct 12, 2021 at 02:27:54PM +0200, Igor Mammedov wrote: > On Tue, 12 Oct 2021 12:37:54 +0200 > Andrew Jones wrote: > > > On Tue, Oct 12, 2021 at 11:40:16AM +0200, Igor Mammedov wrote: > > > On Wed, 6 Oct 2021 18:22:08 +0800 > > > Gavin Shan wrote: > > > > > > > The following option is

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Andrew Jones
On Tue, Oct 12, 2021 at 02:34:30PM +0200, Igor Mammedov wrote: > On Tue, 12 Oct 2021 13:48:02 +0200 > Andrew Jones wrote: > > > On Tue, Oct 12, 2021 at 09:31:55PM +1100, Gavin Shan wrote: > > > Hi Igor, > > > > > > On 10/12/21 8:40 PM, Igor Mammedov wrote: > > > > On Wed, 6 Oct 2021 18:22:08

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Igor Mammedov
On Tue, 12 Oct 2021 13:48:02 +0200 Andrew Jones wrote: > On Tue, Oct 12, 2021 at 09:31:55PM +1100, Gavin Shan wrote: > > Hi Igor, > > > > On 10/12/21 8:40 PM, Igor Mammedov wrote: > > > On Wed, 6 Oct 2021 18:22:08 +0800 > > > Gavin Shan wrote: > > > > > > > The following option is used to

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Igor Mammedov
On Tue, 12 Oct 2021 12:37:54 +0200 Andrew Jones wrote: > On Tue, Oct 12, 2021 at 11:40:16AM +0200, Igor Mammedov wrote: > > On Wed, 6 Oct 2021 18:22:08 +0800 > > Gavin Shan wrote: > > > > > The following option is used to specify the distance map. It's > > > possible the option isn't provide

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Igor Mammedov
On Tue, 12 Oct 2021 21:31:55 +1100 Gavin Shan wrote: > Hi Igor, > > On 10/12/21 8:40 PM, Igor Mammedov wrote: > > On Wed, 6 Oct 2021 18:22:08 +0800 > > Gavin Shan wrote: > > > >> The following option is used to specify the distance map. It's > >> possible the option isn't provided by user.

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Andrew Jones
On Tue, Oct 12, 2021 at 09:31:55PM +1100, Gavin Shan wrote: > Hi Igor, > > On 10/12/21 8:40 PM, Igor Mammedov wrote: > > On Wed, 6 Oct 2021 18:22:08 +0800 > > Gavin Shan wrote: > > > > > The following option is used to specify the distance map. It's > > > possible the option isn't provided by u

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Andrew Jones
On Tue, Oct 12, 2021 at 11:40:16AM +0200, Igor Mammedov wrote: > On Wed, 6 Oct 2021 18:22:08 +0800 > Gavin Shan wrote: > > > The following option is used to specify the distance map. It's > > possible the option isn't provided by user. In this case, the > > distance map isn't populated and expos

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Gavin Shan
Hi Igor, On 10/12/21 8:40 PM, Igor Mammedov wrote: On Wed, 6 Oct 2021 18:22:08 +0800 Gavin Shan wrote: The following option is used to specify the distance map. It's possible the option isn't provided by user. In this case, the distance map isn't populated and exposed to platform. On the oth

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-12 Thread Igor Mammedov
On Wed, 6 Oct 2021 18:22:08 +0800 Gavin Shan wrote: > The following option is used to specify the distance map. It's > possible the option isn't provided by user. In this case, the > distance map isn't populated and exposed to platform. On the > other hand, the empty NUMA node, where no memory r

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-11 Thread Gavin Shan
Hi Drew, On 10/8/21 5:07 PM, Andrew Jones wrote: On Fri, Oct 08, 2021 at 10:51:24AM +1100, Gavin Shan wrote: On 10/6/21 10:56 PM, Andrew Jones wrote: On Wed, Oct 06, 2021 at 10:03:25PM +1100, Gavin Shan wrote: On 10/6/21 9:35 PM, Andrew Jones wrote: On Wed, Oct 06, 2021 at 06:22:08PM +0800,

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-07 Thread Andrew Jones
On Fri, Oct 08, 2021 at 10:51:24AM +1100, Gavin Shan wrote: > Hi Drew, > > On 10/6/21 10:56 PM, Andrew Jones wrote: > > On Wed, Oct 06, 2021 at 10:03:25PM +1100, Gavin Shan wrote: > > > On 10/6/21 9:35 PM, Andrew Jones wrote: > > > > On Wed, Oct 06, 2021 at 06:22:08PM +0800, Gavin Shan wrote: > >

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-07 Thread Gavin Shan
Hi Drew, On 10/6/21 10:56 PM, Andrew Jones wrote: On Wed, Oct 06, 2021 at 10:03:25PM +1100, Gavin Shan wrote: On 10/6/21 9:35 PM, Andrew Jones wrote: On Wed, Oct 06, 2021 at 06:22:08PM +0800, Gavin Shan wrote: The following option is used to specify the distance map. It's possible the option

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-06 Thread Andrew Jones
On Wed, Oct 06, 2021 at 10:03:25PM +1100, Gavin Shan wrote: > Hi Drew, > > On 10/6/21 9:35 PM, Andrew Jones wrote: > > On Wed, Oct 06, 2021 at 06:22:08PM +0800, Gavin Shan wrote: > > > The following option is used to specify the distance map. It's > > > possible the option isn't provided by user.

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-06 Thread Gavin Shan
Hi Drew, On 10/6/21 9:35 PM, Andrew Jones wrote: On Wed, Oct 06, 2021 at 06:22:08PM +0800, Gavin Shan wrote: The following option is used to specify the distance map. It's possible the option isn't provided by user. In this case, the distance map isn't populated and exposed to platform. On the

Re: [PATCH 1/2] numa: Set default distance map if needed

2021-10-06 Thread Andrew Jones
On Wed, Oct 06, 2021 at 06:22:08PM +0800, Gavin Shan wrote: > The following option is used to specify the distance map. It's > possible the option isn't provided by user. In this case, the > distance map isn't populated and exposed to platform. On the > other hand, the empty NUMA node, where no mem

[PATCH 1/2] numa: Set default distance map if needed

2021-10-06 Thread Gavin Shan
The following option is used to specify the distance map. It's possible the option isn't provided by user. In this case, the distance map isn't populated and exposed to platform. On the other hand, the empty NUMA node, where no memory resides, is allowed on ARM64 virt platform. For these empty NUMA