From: "kwangwoo.lee@sk.com" <kwangwoo.lee@sk.com>
To: Robin Murphy <robin.murphy@arm.com>,
Russell King - ARM Linux <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
"Will Deacon" <will.deacon@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Cc: "woosuk.chung@sk.com" <woosuk.chung@sk.com>,
"hyunchul3.kim@sk.com" <hyunchul3.kim@sk.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH v3] arm64: mm: convert __dma_* routines to use start, size
Date: Wed, 10 Aug 2016 02:14:30 +0000 [thread overview]
Message-ID: <86c4d03a1bf84da6a460fa2cc1455032@nmail01.hynixad.com> (raw)
In-Reply-To: <80a4602f-8105-fe2e-0f52-ee23f2c0b2e4@arm.com>
Hi Robin,
> -----Original Message-----
> From: Robin Murphy [mailto:robin.murphy@arm.com]
> Sent: Tuesday, August 09, 2016 8:51 PM
> To: 이광우(LEE KWANGWOO) MS SW; Russell King - ARM Linux; Catalin Marinas; Will Deacon; Mark Rutland;
> linux-arm-kernel@lists.infradead.org
> Cc: 정우석(CHUNG WOO SUK) MS SW; 김현철(KIM HYUNCHUL) MS SW; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v3] arm64: mm: convert __dma_* routines to use start, size
>
> On 02/08/16 01:50, 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().
> >
> > The functionality of __clean_dcache_area_poc() was equivalent to
> > __dma_clean_range(). The difference was __dma_clean_range() uses the end
> > address, but __clean_dcache_area_poc() uses the size to clean.
> >
> > Thus, __clean_dcache_area_poc() has been revised with a fallthrough
> > function of __dma_clean_range() after the change that __dma_* routines
> > use start and size instead of using start and end.
> >
> > As a consequence of using start and size, the name of __dma_* routines
> > has also been altered following the terminology below:
> > area: takes a start and size
> > range: takes a start and end
>
> This looks pretty nice and tidy now; I don't see anything obviously
> wrong, and comparing before-and-after disassemblies shows essentially
> nothing more than the movement of some add instructions as expected, so:
>
> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Thank you very much for your review!
I'm going to add Reviewed-by: and Cc: lines and send it again. Thanks!
Best Regards,
Kwangwoo Lee
prev parent reply other threads:[~2016-08-10 2:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 0:50 Kwangwoo Lee
2016-08-09 11:51 ` Robin Murphy
2016-08-10 2:14 ` kwangwoo.lee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86c4d03a1bf84da6a460fa2cc1455032@nmail01.hynixad.com \
--to=kwangwoo.lee@sk.com \
--cc=catalin.marinas@arm.com \
--cc=hyunchul3.kim@sk.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robin.murphy@arm.com \
--cc=will.deacon@arm.com \
--cc=woosuk.chung@sk.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®