Re: cxl: fix NULL dereference in cxl_context_init() on PowerVM guests

2016-08-09 Thread Michael Ellerman
On Thu, 2016-28-07 at 05:39:41 UTC, Andrew Donnellan wrote: > Commit f67a6722d650 ("cxl: Workaround PE=0 hardware limitation in Mellanox > CX4") added a "min_pe" field to struct cxl_service_layer_ops, to allow us > to work around a Mellanox CX-4 hardware limitation. > > When allocating the PE numb

Re: [PATCH] cxl: fix NULL dereference in cxl_context_init() on PowerVM guests

2016-07-28 Thread Frederic Barrat
Le 28/07/2016 à 07:39, Andrew Donnellan a écrit : Commit f67a6722d650 ("cxl: Workaround PE=0 hardware limitation in Mellanox CX4") added a "min_pe" field to struct cxl_service_layer_ops, to allow us to work around a Mellanox CX-4 hardware limitation. When allocating the PE number in cxl_contex

Re: [PATCH] cxl: fix NULL dereference in cxl_context_init() on PowerVM guests

2016-07-27 Thread Ian Munsie
Whoops! Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] cxl: fix NULL dereference in cxl_context_init() on PowerVM guests

2016-07-27 Thread Andrew Donnellan
Commit f67a6722d650 ("cxl: Workaround PE=0 hardware limitation in Mellanox CX4") added a "min_pe" field to struct cxl_service_layer_ops, to allow us to work around a Mellanox CX-4 hardware limitation. When allocating the PE number in cxl_context_init(), we read from ctx->afu->adapter->native->sl_o