]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: Convert __inval_cache_range() to area-based
authorRobin Murphy <robin.murphy@arm.com>
Tue, 25 Jul 2017 10:55:39 +0000 (11:55 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Aug 2017 10:00:23 +0000 (11:00 +0100)
commitd46befef4c03fb61a62b3319ff5265aaac7bc465
tree6763ef91e7843454332de1b200809a76f0d791f7
parent09c2a7dc4ca2755892b74858fe3bf62b652ff9d0
arm64: Convert __inval_cache_range() to area-based

__inval_cache_range() is already the odd one out among our data cache
maintenance routines as the only remaining range-based one; as we're
going to want an invalidation routine to call from C code for the pmem
API, let's tweak the prototype and name to bring it in line with the
clean operations, and to make its relationship with __dma_inv_area()
neatly mirror that of __clean_dcache_area_poc() and __dma_clean_area().
The loop clearing the early page tables gets mildly massaged in the
process for the sake of consistency.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cacheflush.h
arch/arm64/kernel/head.S
arch/arm64/mm/cache.S