[PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping
Sakari Ailus
sakari.ailus at iki.fi
Wed Apr 11 09:26:56 PDT 2018
On Mon, Mar 26, 2018 at 11:40:58AM -0500, Suman Anna wrote:
> Hi Mauro,
>
> On 03/21/2018 05:26 AM, Laurent Pinchart wrote:
> > Hi Suman,
> >
> > Thank you for the patch.
> >
> > On Wednesday, 14 March 2018 17:41:36 EET Suman Anna wrote:
> >> The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware
> >> ARM DMA backend. The current code creates a dma_iommu_mapping and
> >> attaches this to the ISP device, but never detaches the mapping in
> >> either the probe failure paths or the driver remove path resulting
> >> in an unbalanced mapping refcount and a memory leak. Fix this properly.
> >>
> >> Reported-by: Pavel Machek <pavel at ucw.cz>
> >> Signed-off-by: Suman Anna <s-anna at ti.com>
> >> Acked-by: Sakari Ailus <sakari.ailus at linux.intel.com>
> >
> > Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
>
> I don't see this patch in -next yet, can you pick up this patch at your
> earliest?
Here:
<URL:https://patchwork.linuxtv.org/patch/48599/>
--
Sakari Ailus
e-mail: sakari.ailus at iki.fi
More information about the linux-arm-kernel
mailing list