Re: [PATCH] powerpc/iommu: Memory leak in TCE table userspace view

2025-05-02 Thread IBM
Gaurav Batra writes: > 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 t

Re: [PATCH] powerpc/iommu: Memory leak in TCE table userspace view

2025-05-02 Thread Nilay Shroff
On 4/25/25 10:38 PM, 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. nitpick: Please consider folding the above line into the previous one. Oth

[PATCH] powerpc/iommu: Memory leak in TCE table userspace view

2025-04-25 Thread Gaurav Batra
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 kern