]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: __inval_dcache_area to take end parameter instead of size
authorFuad Tabba <tabba@google.com>
Mon, 24 May 2021 08:29:53 +0000 (09:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 25 May 2021 18:27:49 +0000 (19:27 +0100)
commit32bb6537461ca774e18cd28705076276e5e03100
tree40a6901843b0f241328d3cec48ad33f4f6bf5ae7
parent4b13981041712228fb9d508a790ed66d046b5826
arm64: __inval_dcache_area 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_inv_area, it changes the
parameters for that as well. However, __dma_inv_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-11-tabba@google.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cacheflush.h
arch/arm64/kernel/head.S
arch/arm64/mm/cache.S
arch/arm64/mm/flush.c