]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: __clean_dcache_area_poc to take end parameter instead of size
authorFuad Tabba <tabba@google.com>
Mon, 24 May 2021 08:29:56 +0000 (09:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 25 May 2021 18:27:49 +0000 (19:27 +0100)
commit68c63f95bb6191bb5492bcf2037cf09884d8b21e
tree9d11ccec1979b3c40c0ff367a01d806e6ecc3540
parentd99a65c3d36a5cc9bf5404e5d9423a3a18ea5218
arm64: __clean_dcache_area_poc to take end parameter instead of size

To be consistent with other functions with similar names and
functionality in cacheflush.h, cache.S, and cachetlb.rst, change
to specify the range in terms of start and end, as opposed to
start and size.

Because the code is shared with __dma_clean_area, it changes the
parameters for that as well. However, __dma_clean_area is local to
cache.S, so no other users are affected.

No functional change intended.

Reported-by: Will Deacon <will@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20210524083001.2586635-14-tabba@google.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cacheflush.h
arch/arm64/kernel/efi-entry.S
arch/arm64/mm/cache.S