0fec8414a3
In commit_discard_idcache(), cache lines were marked as invalid. When some cache lines are marked as invalid, memory corruption can occur. This caused instability when using PP502x ATA DMA because of the many more calls to that function. Here, commit_discard_idcache() is changed to avoid the problem. Also, the cache is filled after being enabled to to ensure there are never any cache lines that aren't marked as valid. Change-Id: Ia26300acef6b0573c1f40299c496ee5cbda3dac8 Reviewed-on: http://gerrit.rockbox.org/339 Reviewed-by: Szymon Dziok <b0hoon@o2.pl> Tested-by: Szymon Dziok <b0hoon@o2.pl> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> |
||
---|---|---|
.. | ||
adc-pp5020.c | ||
ascodec-pp.c | ||
ata-pp5002.c | ||
ata-pp5020.c | ||
ata-sd-pp.c | ||
ata-target.h | ||
audio-pp.c | ||
boot-pp502x-bl-usb.lds | ||
crt0-pp-bl.S | ||
crt0-pp.S | ||
crt0-pp502x-bl-usb.S | ||
debug-pp.c | ||
i2c-pp.c | ||
i2s-pp.c | ||
kernel-pp.c | ||
pcm-pp.c | ||
sd-pp-target.h | ||
system-pp502x.c | ||
system-pp5002.c | ||
system-target.h | ||
thread-pp.c | ||
timer-pp.c | ||
usb-fw-pp502x.c | ||
usb-fw-pp5002.c | ||
wmcodec-pp.c |