Files
Heinrich Toews ee6bbf0acb drivers: remoteproc: ti_k3_m4: use memremap for no-map reserved memory
Replace devm_ioremap_wc() with memremap(MEMREMAP_WB) for no-map
reserved-memory regions that have struct page backing.

Using ioremap_wc() on a region backed by struct pages violates
ARM64 memory aliasing rules by creating conflicting cached and
write-combining mappings of the same physical pages. This can
cause SIGBUS faults in unrelated userspace processes.

Add a devm cleanup action to call memunmap() on the mapped
region when the device is released.

Signed-off-by: Heinrich Toews <ht@twx-software.de>
2026-03-18 17:32:17 +01:00
..
2025-06-20 09:56:35 -05:00