On Tue, 2018-10-02 at 03:22:31 UTC, Alexey Kardashevskiy wrote: > As a part of cleanup, the SPAPR TCE IOMMU subdriver releases preregistered > memory. If there is a bug in memory release, the loop in > tce_iommu_release() becomes infinite; this actually happened to me. > > This makes the loop finite and prints a warning on every failure to make > the code more bug prone. > > Signed-off-by: Alexey Kardashevskiy <[email protected]> > Reviewed-by: David Gibson <[email protected]> > Acked-by: Alex Williamson <[email protected]>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/517ad4ae8aa93dccdb9a88c27257ec cheers
