linux/arch/powerpc/platforms
Thorsten Blum 0bb024f11d 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: 6bb5cf1025 ("[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
2026-07-28 10:23:31 +05:30
..
8xx powerpc/8xx: implement get_direction() in cpm1 2026-06-08 15:54:57 +05:30
44x powerpc/warp: Fix error handling in pika_dtm_thread 2026-05-12 11:49:30 +05:30
52xx powerpc/52xx/mpc52xx_gpt: consolidate chained IRQ handler install/remove 2026-04-01 09:21:05 +05:30
82xx powerpc: 82xx: fix uninitialized pointers with free attribute 2026-05-12 11:48:47 +05:30
83xx Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
85xx powerpc/85xx: Add fsl,ifc to common device ids 2026-07-15 08:03:28 +05:30
86xx Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
512x (powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer 2025-07-09 09:15:10 +05:30
amigaone irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
book3s mm: rename zap_vma_pages() to zap_vma() 2026-04-05 13:53:14 -07:00
cell powerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access() 2026-07-13 15:10:04 +05:30
chrp irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
embedded6xx powerpc: Move GameCube/Wii options under EMBEDDED6xx 2026-04-01 09:21:05 +05:30
microwatt powerpc/microwatt: Add SMP support 2025-02-26 21:16:48 +05:30
pasemi powerpc/pasemi: Drop redundant res assignment 2026-05-06 07:49:19 +05:30
powermac powerpc/powermac: Remove pmac_low_i2c_{lock,unlock}() 2026-05-12 11:50:09 +05:30
powernv pci-v7.2-changes 2026-06-24 12:48:43 -07:00
ps3 powerpc/ps3: Fix map failure path in dma_ioc0_map_pages() 2026-07-28 10:23:31 +05:30
pseries powerpc/pseries: Skip vpa_init() for boot cpu in smp_setup_cpu() 2026-07-28 10:08:32 +05:30
fsl_uli1575.c
Kconfig soc: driver updates for 6.18 2025-10-01 17:32:51 -07:00
Kconfig.cputype powerpc/e500: Always use 64 bits PTE 2026-03-04 11:05:06 +05:30
Makefile powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00