]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: cacheflush refactor #1: push aux reg ascertaining into leaf routine
authorVineet Gupta <vgupta@synopsys.com>
Thu, 5 Sep 2013 07:33:35 +0000 (13:03 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 6 Nov 2013 05:11:29 +0000 (10:41 +0530)
commite99c4a9ffdd191e225e2cf6b6901a32d01639bd4
tree15ff0625f7848aac0b8d436f497a17a5fd5a4144
parent80d3e4bcfc6bf2d2c68642bee3822fc873f9e0b5
ARC: cacheflush refactor #1: push aux reg ascertaining into leaf routine

ARC dcache supports 3 ops - Inv, Flush, Flush-n-Inv.
The programming model however provides 2 commands FLUSH, INV.
INV will either discard or flush-n-discard (based on DT_CTRL bit)

The leaf helper __dc_line_loop() used to take the AUX register
(corresponding to the 2 commands). Now we push that to within the
helper, paving way for code consolidations to follow.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache_arc700.c