aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2021-06-09 17:02:30 +0200
committerUlf Hansson <[email protected]>2021-06-14 14:02:33 +0200
commit103a5348c22c3fca8b96c735a9e353b8a0801842 (patch)
tree1d422098b4cfdc485c7ffb4f17e07bb7201d8fcc /tools/perf/util/trace-event-scripting.c
parent009c9aa5be652675a06d5211e1640e02bbb1c33d (diff)
mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
It has been reported that usage of memcpy() to/from an iomem mapping is invalid, and a recent arm64 memcpy update [1] triggers a memory abort when dram-access-quirk is used on the G12A/G12B platforms. This adds a local sg_copy_to_buffer which makes usage of io versions of memcpy when dram-access-quirk is enabled. [1] 285133040e6c ("arm64: Import latest memcpy()/memmove() implementation") Fixes: acdc8e71d9bb ("mmc: meson-gx: add dram-access-quirk") Reported-by: Marek Szyprowski <[email protected]> Suggested-by: Mark Rutland <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions