OSDN Git Service

ARCv2: cache: fix slc_entire_op: flush only instead of flush-n-inv
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 17 Jan 2018 13:39:17 +0000 (16:39 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 17 Jan 2018 20:26:52 +0000 (12:26 -0800)
commit8bbfbc2df6e9a37bc5c9ee674c496ea277b0bd39
tree13bf6d3b72b8de53edc2167d1a624b3bf2ec0180
parentb2cd1df66037e7c4697c7e40496bf7e4a5e16a2d
ARCv2: cache: fix slc_entire_op: flush only instead of flush-n-inv

slc_entire_op with OP_FLUSH command also invalidates it.

This is a preventive fix as the current use of slc_entire_op is only
with OP_FLUSH_N_INV where the invalidate is required.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
[vgupta: fixed changelog]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache.c