mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
5a8a8045a9
There is a strange interaction with drivers which use DMA if the cache starts off in a dirty state. Buffer space which the driver reads (but has not previously written) can contain zero bytes from alloc_priv(). This can cause corruption of the memory used by DMA for incoming data. Fix this and add a comment to explain the problem. This allows the dwc2 driver to work correctly with driver model, for example. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
device-remove.c | ||
device.c | ||
devres.c | ||
dump.c | ||
Kconfig | ||
lists.c | ||
Makefile | ||
regmap.c | ||
root.c | ||
simple-bus.c | ||
syscon-uclass.c | ||
uclass.c | ||
util.c |