Re: [PATCH v3 1/8] powerpc/xive: introduce a common routine xive_queue_page_alloc()

2017-08-31 Thread Benjamin Herrenschmidt
On Wed, 2017-08-30 at 21:46 +0200, Cédric Le Goater wrote: > This routine will be used in the spapr backend. Also introduce a short > xive_alloc_order() helper. > > Signed-off-by: Cédric Le Goater > Reviewed-by: David Gibson Acked-by: Benjamin Herrenschmidt > --- > arch/powerpc/sysdev/xive/c

[PATCH v3 1/8] powerpc/xive: introduce a common routine xive_queue_page_alloc()

2017-08-30 Thread Cédric Le Goater
This routine will be used in the spapr backend. Also introduce a short xive_alloc_order() helper. Signed-off-by: Cédric Le Goater Reviewed-by: David Gibson --- arch/powerpc/sysdev/xive/common.c| 16 arch/powerpc/sysdev/xive/native.c| 16 +--- arch/po