Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449399

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

From Russell King - ARM Linux <linux@armlinux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH RFC] arm64: mm: convert __dma_* routines to use start, size
Date 2016-07-25 11:30 +0200
Message-ID <rYKmZ-2Pk-15@gated-at.bofh.it> (permalink)
References <rYIOd-1OA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH RFC] arm64: mm: convert __dma_* routines to use start, size Kwangwoo Lee <kwangwoo.lee@sk.com> - 2016-07-25 09:50 +0200
  Re: [PATCH RFC] arm64: mm: convert __dma_* routines to use start,  size Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-07-25 11:30 +0200

csiph-web