Thread (6 messages) flat view 6 messages, 5 authors, 2026-07-30

Re: [PATCH] powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-07-30 05:42:44
Also in: lkml, stable

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help