[PATCH RFC] arm64: mm: convert __dma_* routines to use start, size

Russell King - ARM Linux linux at armlinux.org.uk
Mon Jul 25 02:28:01 PDT 2016


On Mon, Jul 25, 2016 at 04:40:06PM +0900, Kwangwoo Lee wrote:
> __dma_* routines have been converted to use start and size instread of
> start and end addresses. The patch was origianlly for adding
> __clean_dcache_area_poc() which will be used in pmem driver to clean
> dcache to the PoC(Point of Coherency) in arch_wb_cache_pmem().

I'd suggest keeping to this terminology:

area: takes a start and size
range: takes a start and end

So, if you want to change the parameters to take a start and size,
the function should not contain "range" but should contain "area"
in its name.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list