Re: [PATCH v2 02/10] cxl: Allocate and release the SPA with the AFU

2015-08-10 Thread Daniel Axtens
On Tue, 2015-08-11 at 13:42 +1000, Cyril Bur wrote: > On Tue, 28 Jul 2015 15:28:35 +1000 > Daniel Axtens wrote: > > > Previously the SPA was allocated and freed upon entering and leaving > > AFU-directed mode. This causes some issues for error recovery - contexts > > hold a pointer inside the SPA

Re: [PATCH v2 02/10] cxl: Allocate and release the SPA with the AFU

2015-08-10 Thread Cyril Bur
On Tue, 28 Jul 2015 15:28:35 +1000 Daniel Axtens wrote: > Previously the SPA was allocated and freed upon entering and leaving > AFU-directed mode. This causes some issues for error recovery - contexts > hold a pointer inside the SPA, and they may persist after the AFU has > been detached. > > W

[PATCH v2 02/10] cxl: Allocate and release the SPA with the AFU

2015-07-27 Thread Daniel Axtens
Previously the SPA was allocated and freed upon entering and leaving AFU-directed mode. This causes some issues for error recovery - contexts hold a pointer inside the SPA, and they may persist after the AFU has been detached. We would ideally like to allocate the SPA when the AFU is allocated, an