summaryrefslogtreecommitdiffstats
path: root/samples/trace_events
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2021-06-09 17:02:30 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-06-14 14:02:33 +0200
commit103a5348c22c3fca8b96c735a9e353b8a0801842 (patch)
tree1d422098b4cfdc485c7ffb4f17e07bb7201d8fcc /samples/trace_events
parentLinux 5.13-rc6 (diff)
downloadlinux-103a5348c22c3fca8b96c735a9e353b8a0801842.tar.xz
linux-103a5348c22c3fca8b96c735a9e353b8a0801842.zip
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 <m.szyprowski@samsung.com> Suggested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20210609150230.9291-1-narmstrong@baylibre.com Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions