Re: [PATCH] powerpc/iommu: TCEs are incorrectly manipulated with DLPAR add/remove of memory
From: Michael Ellerman <hidden>
Date: 2023-07-03 05:38:40
From: Michael Ellerman <hidden>
Date: 2023-07-03 05:38:40
On Tue, 13 Jun 2023 12:16:41 -0500, Gaurav Batra wrote:
When memory is dynamically added/removed, iommu_mem_notifier() is invoked. This routine traverses through all the DMA windows (DDW only, not default windows) to add/remove "direct" TCE mappings. The routines for this purpose are tce_clearrange_multi_pSeriesLP() and tce_clearrange_multi_pSeriesLP(). Both these routines are designed for Direct mapped DMA windows only. [...]
Applied to powerpc/next.
[1/1] powerpc/iommu: TCEs are incorrectly manipulated with DLPAR add/remove of memory
https://git.kernel.org/powerpc/c/d61cd13e732c0eaa7d66b45edb2d0de8eab65a1e
cheers