On Mon, 12 May 2025 17:46:53 -0500, Gaurav Batra wrote: > When a device is opened by a userspace driver, via VFIO interface, DMA > window is created. This DMA window has TCE Table and a corresponding > data for userview of TCE table. > > When the userspace driver closes the device, all the above infrastructure > is free'ed and the device control given back to kernel. Both DMA window > and TCE table is getting free'ed. But due to a code bug, userview of the > TCE table is not getting free'ed. This is resulting in a memory leak. > > [...]
Applied to powerpc/next. [1/1] powerpc/pseries/iommu: Fix kmemleak in TCE table userspace view https://git.kernel.org/powerpc/c/d36e3f11fe8b55b801bdbe84ad51f612b1bd84da Thanks