diff options
| author | Ben Levinsky <ben.levinsky@amd.com> | 2026-05-28 19:16:35 -0700 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-06-29 09:30:58 -0600 |
| commit | 0db071a39c8637262a00763adfc44c2fae89c82c (patch) | |
| tree | 29d9228f63aed402fef4d0e7048c56737bdab26f /tools/perf/scripts/python | |
| parent | aef86ae680361cf309cf18678a88b1257dcb9a84 (diff) | |
remoteproc: Mark wc-ioremap carveouts as iomem
Carveouts registered through the shared wc-ioremap helper are backed by
I/O memory, but rproc_da_to_va() only reports that to its callers when
mem->is_iomem is set on the carveout.
Without that flag, the remoteproc ELF loader and coredump paths can
fall back to normal memcpy()/memset() accessors instead of the I/O
helpers used for iomapped memory.
Mark shared wc-ioremap carveouts as iomem so the framework uses the
proper memcpy_toio(), memset_io(), and memcpy_fromio() accessors for
these regions.
Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Tested-by: Peng Fan <peng.fan@nxp.com> #i.MX8MP-EVK
Link: https://lore.kernel.org/r/20260529021637.2077602-4-ben.levinsky@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
