On Wed, 2015-30-09 at 01:58:06 UTC, Andrew Donnellan wrote: > At present, ctx->irq_bitmap is freed in afu_release_irqs(), which is called > from afu_release() via cxl_context_detach(). > > Move the freeing of ctx->irq_bitmap from afu_release_irqs() to > reclaim_ctx() (called through cxl_context_free()) so it's freed when > releasing a context via the kernel API (cxl_release_context()) or the > userspace API (afu_release()). > > Reported-by: Matthew R. Ochs <mro...@linux.vnet.ibm.com> > Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API") > Signed-off-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com> > Acked-by: Ian Munsie <imun...@au1.ibm.com> > Reviewed-by: Matthew R. Ochs <mro...@linux.vnet.ibm.com>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/52adee580d3c71a0dfabc316 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev