This helper is used only for prepearing code flushes thus no point in
keeping the corresponding dcache lines around
Infact keeping the dcache line around is risky - a writeback on eviction
can cause issues on aliasing configurations.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
local_irq_save(flags);
__ic_line_inv_vaddr(paddr, vaddr, len);
- __dc_line_op(paddr, vaddr, len, OP_FLUSH);
+ __dc_line_op(paddr, vaddr, len, OP_FLUSH_N_INV);
local_irq_restore(flags);
}