[PATCH] cxl: Fix number of allocated pages in SPA

2015-10-06 Thread Ian Munsie
From: Christophe Lombard The scheduled process area is currently allocated before assigning the correct maximum processes to the AFU, which will mean we only ever allocate a fixed number of pages for the scheduled process area. This will limit us to 958 processes

Re: [PATCH] cxl: Fix number of allocated pages in SPA

2015-10-06 Thread Ian Munsie
Excerpts from Michael Ellerman's message of 2015-10-06 17:19:02 +1100: > On Fri, 2015-10-02 at 16:01 +0200, Christophe Lombard wrote: > > This moves the initialisation of the num_procs to before the SPA > > allocation. > > Why? What does it fix? I can't tell from the diff or the change log. This

Re: [PATCH] cxl: Fix number of allocated pages in SPA

2015-10-06 Thread Michael Ellerman
On Fri, 2015-10-02 at 16:01 +0200, Christophe Lombard wrote: > This moves the initialisation of the num_procs to before the SPA > allocation. Why? What does it fix? I can't tell from the diff or the change log. cheers ___ Linuxppc-dev mailing list

Re: [PATCH] cxl: Fix number of allocated pages in SPA

2015-10-06 Thread christophe lombard
The field 'num_procs' of the structure cxl_afu is not updated to the right value (maximum number of processes that can be supported by the AFU) when the pages are allocated (i.e. when cxl_alloc_spa() is called). The number of allocates pages depends on the max number of processes. Thanks On

Re: [PATCH] cxl: Fix number of allocated pages in SPA

2015-10-05 Thread Ian Munsie
Acked-by: Ian Munsie Excerpts from Christophe Lombard's message of 2015-10-03 00:01:25 +1000: > This moves the initialisation of the num_procs to before the SPA > allocation. > > Signed-off-by: Christophe Lombard > --- >

[PATCH] cxl: Fix number of allocated pages in SPA

2015-10-02 Thread Christophe Lombard
This moves the initialisation of the num_procs to before the SPA allocation. Signed-off-by: Christophe Lombard --- drivers/misc/cxl/native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c