summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-07-11 15:09:32 +0200
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-07-28 10:23:31 +0530
commit0bb024f11d120abff3e8db9144a585b9d7fb8459 (patch)
tree6a1ceb926715ecd849e13ac8441da718b3db3293 /include/linux
parent41bf83c1b10781fcb992ff0680db771b7b833308 (diff)
powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()
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. Fixes: 6bb5cf102541 ("[POWERPC] PS3: System-bus rework") Cc: stable@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260711130931.740719-3-thorsten.blum@linux.dev
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions