summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-01-14 12:49:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-01-14 12:51:27 +0100
commit614c4feef09753d6e13ee8a27fc6fbdf9c51b4c5 (patch)
treeac066d88238d16a4d1c19eeb929b2b5df576aa0c /Makefile
parentd5f8bd9c503e0a17ef071eec50c537cc82a7956c (diff)
downloadbarebox-614c4feef09753d6e13ee8a27fc6fbdf9c51b4c5.tar.gz
barebox-614c4feef09753d6e13ee8a27fc6fbdf9c51b4c5.tar.xz
usb: ehci: Do not use memset on dma coherent memory
memset is an optimized operation that at least on ARM64 may only be called on cached memory, see 32e8842c40 ("ARM: lib64: Make string functions aware of MMU configuration"). To avoid crashes in the ehci driver we no longer call memset on memory allocated with dma_alloc_coherent(), but use a simple memzero32 function instead. Reported-by: Elmar Albert <EAlbert@data-modul.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions