Messages in this thread | | | Date | Fri, 10 Dec 2021 15:02:41 +0000 | From | Catalin Marinas <> | Subject | Re: [RFC PATCH 3/6] arm64: remove __dma_*_area() aliases |
| |
On Mon, Dec 06, 2021 at 12:47:12PM +0000, Mark Rutland wrote: > The __dma_inv_area() and __dma_clean_area() aliases make cache.S harder > to navigate, but don't gain us anything in practice. > > For clarity, let's remove them along with their redundant comments. The > only users are __dma_map_area() and __dma_unmap_area(), which need to be > position independent, and can call __pi_dcache_inval_poc() and > __pi_dcache_clean_poc() directly. > > There should be no functional change as a result of this patch. > > Signed-off-by: Mark Rutland <mark.rutland@arm.com> > Cc: Ard Biesheuvel <ardb@kernel.org> > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Fuad Tabba <tabba@google.com> > Cc: Marc Zyngier <maz@kernel.org> > Cc: Will Deacon <will@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
| |