From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH 0/6] ArmPkg EmbeddedPkg: clean up DmaLib implementations
Date: Wed, 30 Aug 2017 14:17:23 +0100 [thread overview]
Message-ID: <CAKv+Gu_vXWWeb7P7O7r79a3nQsueTY4L12W=k9WFTT2uzrDwzg@mail.gmail.com> (raw)
In-Reply-To: <20170830130639.dutwmsa5fzx3khsp@bivouac.eciton.net>
On 30 August 2017 at 14:06, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Wed, Aug 30, 2017 at 09:21:02AM +0100, Ard Biesheuvel wrote:
>> Currently, we have two DmaLib implementations: a cache coherent one called
>> 'NullDmaLib' residing in EmbeddedPkg, and a non-cache coherent one called
>> 'ArmDmaLib', residinh in ArmPkg.
>>
>> In both cases, this is slightly awkward: NullDmaLib suggests no functionality
>> whatsoever, which is slightly misleading because 'nothing' is the correct
>> action in case of cache coherent DMA, rather than a lack of action. As for
>> ArmDmalib, this was never specific to ARM, and no longer depends on anything
>> that ArmPkg provides, so it does not really belong in ArmPkg anymore.
>>
>> So let's rename them to CoherentDmaLib and NonCoherentDmaLib, respectively,
>> and move that latter into EmbeddedPkg where it arguably belongs. To align
>> the two further, add support for non-1:1 DMA mappings to CoherentDmaLib as
>> well.
>>
>> Note that the final patch can only be merged after out-of-tree platforms
>> have switched from ArmDmaLib to NonCoherentDmaLib.
>
> For 4-6/6:
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
>
Thanks,
#1 - #5 merged as
7385d2543e2a EmbeddedPkg: rename NullDmaLib to CoherentDmaLib
0bcb80106762 EmbeddedPkg/CoherentDmaLib: add support for non-1:1 DMA translation
723102c72fb0 EmbeddedPkg: implement NonCoherentDmaLib based on ArmDmaLib
c878cd95e132 Omap35xxPkg: switch to EmbeddedPkg's NonCoherentDmaLib
877f4460b3e3 BeagleBoardPkg: switch to generic non-coherent DmaLib
#6 needs to wait until the edk2-platforms changes are in.
next prev parent reply other threads:[~2017-08-30 13:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 8:21 [PATCH 0/6] ArmPkg EmbeddedPkg: clean up DmaLib implementations Ard Biesheuvel
2017-08-30 8:21 ` [PATCH 1/6] EmbeddedPkg: rename NullDmaLib to CoherentDmaLib Ard Biesheuvel
2017-08-30 10:46 ` Leif Lindholm
2017-08-30 10:52 ` Ard Biesheuvel
2017-08-30 11:37 ` Leif Lindholm
2017-08-30 8:21 ` [PATCH 2/6] EmbeddedPkg/CoherentDmaLib: add support for non-1:1 DMA translation Ard Biesheuvel
2017-08-30 10:51 ` Leif Lindholm
2017-08-30 10:54 ` Ard Biesheuvel
2017-08-30 11:47 ` Leif Lindholm
2017-08-30 8:21 ` [PATCH 3/6] EmbeddedPkg: implement NonCoherentDmaLib based on ArmDmaLib Ard Biesheuvel
2017-08-30 13:05 ` Leif Lindholm
2017-08-30 8:21 ` [PATCH 4/6] Omap35xxPkg: switch to EmbeddedPkg's NonCoherentDmaLib Ard Biesheuvel
2017-08-30 8:21 ` [PATCH 5/6] BeagleBoardPkg: switch to generic non-coherent DmaLib Ard Biesheuvel
2017-08-30 8:21 ` [PATCH 6/6] ArmPkg: remove ArmDmaLib Ard Biesheuvel
2017-08-30 13:06 ` [PATCH 0/6] ArmPkg EmbeddedPkg: clean up DmaLib implementations Leif Lindholm
2017-08-30 13:17 ` Ard Biesheuvel [this message]
2017-09-01 12:01 ` Ard Biesheuvel
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-list 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='CAKv+Gu_vXWWeb7P7O7r79a3nQsueTY4L12W=k9WFTT2uzrDwzg@mail.gmail.com' \
--to=devel@edk2.groups.io \
/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