Re: [PATCH 3/7] CXL: Fix leaking interrupts if attach process fails

2014-12-08 Thread Ian Munsie
This one would be nice to go to stable, but I'm not sure if it's critical enough to justify it since it only reduces the number of available interrupts (and therefore, contexts) that can be used by the card (so, maybe you can only run 507 contexts simultaneously instead of 509)... Cheers, -Ian __

[PATCH 3/7] CXL: Fix leaking interrupts if attach process fails

2014-12-08 Thread Ian Munsie
From: Ian Munsie In this particular error path we have already allocated the AFU interrupts, but have not yet set the status to STARTED. The detach context code will only attempt to release the interrupts if the context is in state STARTED, so in this case the interrupts would remain allocated.