Re: [PATCH] cxl: Don't ignore add_process_element result when attaching context

2015-08-05 Thread Michael Neuling
On Wed, 2015-07-29 at 14:40 +1000, Daniel Axtens wrote: > On Wed, 2015-07-29 at 14:25 +1000, Michael Ellerman wrote: > > On Wed, 2015-07-29 at 14:07 +1000, Daniel Axtens wrote: > > > Previously, when attaching a context in dedicated mode, we ignored > > > > Previously? You mean currently? Now is b

Re: [PATCH] cxl: Don't ignore add_process_element result when attaching context

2015-07-28 Thread Daniel Axtens
On Wed, 2015-07-29 at 14:25 +1000, Michael Ellerman wrote: > On Wed, 2015-07-29 at 14:07 +1000, Daniel Axtens wrote: > > Previously, when attaching a context in dedicated mode, we ignored > > Previously? You mean currently? Now is before this patch is applied. I do mean currently. Apologies for th

Re: [PATCH] cxl: Don't ignore add_process_element result when attaching context

2015-07-28 Thread Michael Ellerman
On Wed, 2015-07-29 at 14:07 +1000, Daniel Axtens wrote: > Previously, when attaching a context in dedicated mode, we ignored Previously? You mean currently? Now is before this patch is applied. > the result of add_process_element, which could potentially fail. > > If add_process_element returns

[PATCH] cxl: Don't ignore add_process_element result when attaching context

2015-07-28 Thread Daniel Axtens
Previously, when attaching a context in dedicated mode, we ignored the result of add_process_element, which could potentially fail. If add_process_element returns and error, pass it back to the caller. Signed-off-by: Daniel Axtens --- I'm not sure if this is worth sending to stable: it doesn't