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 before

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 the

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 and