Re: [PATCH] powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()
From: Madhavan Srinivasan
Date: Thu Jul 30 2026 - 01:50:20 EST
On Sat, 11 Jul 2026 15:09:32 +0200, Thorsten Blum wrote:
> If lv1_put_iopte() fails in dma_ioc0_map_pages(), the error path
> decrements iopage but keeps using the failed mapping's offset. As a
> result, it repeatedly tries to invalidate the failed IOPTE slot and
> leaves the already installed IOPTEs valid.
>
> Recompute offset and invalidate the installed IOPTEs instead.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()
https://git.kernel.org/powerpc/c/0bb024f11d120abff3e8db9144a585b9d7fb8459
cheers