ARM: decompressor: prepare cache_clean_flush for doing by-VA maintenance
authorArd Biesheuvel <ardb@kernel.org>
Tue, 18 Feb 2020 15:50:54 +0000 (16:50 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 27 Feb 2020 10:15:35 +0000 (11:15 +0100)
commite114412f616446708b3d1e559ff4af9db7ade46e
tree2a0b4e63c0e999f967eb96f3198c926816c7a996
parent184bf653a7a452c18b29136e6ef59972af288c7e
ARM: decompressor: prepare cache_clean_flush for doing by-VA maintenance

In preparation for turning the decompressor's cache clean/flush
operations into proper by-VA maintenance for v7 cores, pass the
start and end addresses of the regions that need cache maintenance
into cache_clean_flush in registers r0 and r1.

Currently, all implementations of cache_clean_flush ignore these
values, so no functional change is expected as a result of this
patch.

Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/boot/compressed/head.S