Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2017-03-02 Thread Vijay Kilari
On Thu, Mar 2, 2017 at 6:22 PM, Julien Grall wrote: > Hello Vijay, > > > On 02/03/17 12:39, Vijay Kilari wrote: >> >> On Fri, Dec 16, 2016 at 3:48 PM, Dario Faggioli >> wrote: >>> >>> On Fri, 2016-12-16 at 09:40 +, Julien Grall wrote:

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2017-03-02 Thread Julien Grall
Hello Vijay, On 02/03/17 12:39, Vijay Kilari wrote: On Fri, Dec 16, 2016 at 3:48 PM, Dario Faggioli wrote: On Fri, 2016-12-16 at 09:40 +, Julien Grall wrote: Hi Vijay, On 16/12/2016 07:39, Vijay Kilari wrote: If we drop numa-node-id from memory node generated

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2017-03-02 Thread Vijay Kilari
On Fri, Dec 16, 2016 at 3:48 PM, Dario Faggioli wrote: > On Fri, 2016-12-16 at 09:40 +, Julien Grall wrote: >> Hi Vijay, >> On 16/12/2016 07:39, Vijay Kilari wrote: >> > If we drop numa-node-id from memory node generated to dom0, then >> > dom0 will >> > assume all

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-12-16 Thread Dario Faggioli
On Fri, 2016-12-16 at 09:40 +, Julien Grall wrote: > Hi Vijay, > On 16/12/2016 07:39, Vijay Kilari wrote: > > If we drop numa-node-id from memory node generated to dom0, then > > dom0 will > > assume all the memory is from node0. So eventually node1 device > > intialization fails. > > I

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-12-16 Thread Julien Grall
Hi Vijay, On 16/12/2016 07:39, Vijay Kilari wrote: On Tue, Nov 29, 2016 at 12:29 AM, Julien Grall wrote: On 26/11/16 06:59, Vijay Kilari wrote: If you drop numa-node-id property from every node, DOM0 will not try to use NUMA. Is there any specific reason to not do

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-12-15 Thread Vijay Kilari
On Tue, Nov 29, 2016 at 12:29 AM, Julien Grall wrote: > > > On 26/11/16 06:59, Vijay Kilari wrote: >> >> Hi, > > > Hi Vijay, > > This mail is mixing two distinct problems: > 1) Making Xen NUMA-aware > 2) Make DOM0 NUMA-aware > > As mentioned in another part

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Julien Grall
On 26/11/16 06:59, Vijay Kilari wrote: Hi, Hi Vijay, This mail is mixing two distinct problems: 1) Making Xen NUMA-aware 2) Make DOM0 NUMA-aware As mentioned in another part of this thread, those problems should be one by one rather than together. I will focus on problem

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Julien Grall
Hi Dario, On 28/11/16 12:30, Dario Faggioli wrote: On Mon, 2016-11-28 at 16:32 +0530, Vijay Kilari wrote: On Mon, Nov 28, 2016 at 2:21 AM, Dario Faggioli wrote: That makes perfect sense to me, and FWIW, is also what I'd do. In fact, the whole point of what I was

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Julien Grall
Hi Vijay, On 28/11/16 15:05, Vijay Kilari wrote: On Mon, Nov 28, 2016 at 7:20 PM, Andre Przywara wrote: On 26/11/16 06:59, Vijay Kilari wrote: 3) Parsing Memory nodes: -- For all the DT memory nodes in the flattend DT, start

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Vijay Kilari
On Mon, Nov 28, 2016 at 7:20 PM, Andre Przywara wrote: > Hi Vijay, > > On 26/11/16 06:59, Vijay Kilari wrote: >> Hi, >> >>Below basic write up on DT based NUMA feature support for arm64 platform. >> I have attempted to get NUMA support, However I face below issues. I

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Andre Przywara
Hi Vijay, On 26/11/16 06:59, Vijay Kilari wrote: > Hi, > >Below basic write up on DT based NUMA feature support for arm64 platform. > I have attempted to get NUMA support, However I face below issues. I would > like > to discuss these issues. Please let me know your comments on this. Yet to

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Dario Faggioli
On Mon, 2016-11-28 at 16:32 +0530, Vijay Kilari wrote: > On Mon, Nov 28, 2016 at 2:21 AM, Dario Faggioli > wrote: > >  > > That makes perfect sense to me, and FWIW, is also what I'd do. In > > fact, > > the whole point of what I was saying was not to confuse Xen NUMA >

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-28 Thread Vijay Kilari
On Mon, Nov 28, 2016 at 2:21 AM, Dario Faggioli wrote: > On Sun, 2016-11-27 at 12:23 +, Julien Grall wrote: >> Hi Dario, >> > Hi, > >> On 27/11/2016 01:01, Dario Faggioli wrote: >> > On Sat, 2016-11-26 at 12:29 +0530, Vijay Kilari wrote: >> > I agree that we need to

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-27 Thread Dario Faggioli
On Sun, 2016-11-27 at 12:23 +, Julien Grall wrote: > Hi Dario, > Hi, > On 27/11/2016 01:01, Dario Faggioli wrote: > > On Sat, 2016-11-26 at 12:29 +0530, Vijay Kilari wrote: > > I agree that we need to support vNUMA for Dom0 sooner rather than > > later, and I agree that Dom0 is a bit

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-27 Thread Julien Grall
Hi Dario, On 27/11/2016 01:01, Dario Faggioli wrote: On Sat, 2016-11-26 at 12:29 +0530, Vijay Kilari wrote: 4) Generating memory nodes for DOM0 - Linux kernel device drivers that uses devm_zalloc(), tries to allocate memory from local

Re: [Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-26 Thread Dario Faggioli
On Sat, 2016-11-26 at 12:29 +0530, Vijay Kilari wrote: > 4) Generating memory nodes for DOM0 > - > Linux kernel device drivers that uses devm_zalloc(), tries to > allocate memory > from local memory node. So Dom0 needs to have memory

[Xen-devel] arm64: Approach for DT based NUMA and issues

2016-11-25 Thread Vijay Kilari
Hi, Below basic write up on DT based NUMA feature support for arm64 platform. I have attempted to get NUMA support, However I face below issues. I would like to discuss these issues. Please let me know your comments on this. Yet to look at ACPI support. DT based NUMA support for arm64