armv7a: rework automatic flush-on-write handling
authorMatthias Welwarsky <matthias@welwarsky.de>
Fri, 16 Oct 2015 08:10:02 +0000 (10:10 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 30 Nov 2015 05:41:58 +0000 (05:41 +0000)
commitd17c11759fa0b183dd9a9837534e9d6849a8db14
tree394af38a783e1af7d80a74aa0b51c2b284ff6b46
parent7986faba21f29b50341f8357baf38481dae0e58f
armv7a: rework automatic flush-on-write handling

The following changes are implemented:
- Clean&Invalidate the VA range to PoC *before* the write takes place
- Remove SMP handling since DCCIMVA instruction already maintains SMP
  coherence.
- Remove separate Invalidate step

Change-Id: I19fd3cc226d8ecf2937276fc63258b6a26e369a7
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3027
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: jenkins
src/target/armv7a_cache.c
src/target/armv7a_cache.h
src/target/cortex_a.c