public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Marcin Wojtas <mw@semihalf.com>, edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: [PATCH] Platform/Armada/Pp2Dxe: switch to ArmDmaLib
Date: Thu, 31 Aug 2017 14:58:46 +0100	[thread overview]
Message-ID: <CAKv+Gu9FL+gg++X4bo9cjNGQDNEBGYhdjKr-VadDoc6UfM2YWg@mail.gmail.com> (raw)
In-Reply-To: <CAF7UmSyHe+r2i_Y4-HaqZs9uxno0hqjbgX0iGyijQAxCnh=tVQ@mail.gmail.com>

On 31 August 2017 at 14:51, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On 30 August 2017 at 14:26, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
>> On 29 August 2017 at 18:01, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
>>> On 29 August 2017 at 16:53, Marcin Wojtas <mw@semihalf.com> wrote:
>>>> 2017-08-29 17:48 GMT+02:00 Ard Biesheuvel <ard.biesheuvel@linaro.org>:
>>>>> On 29 August 2017 at 16:47, Marcin Wojtas <mw@semihalf.com> wrote:
>>>>>> 2017-08-29 17:46 GMT+02:00 Leif Lindholm <leif.lindholm@linaro.org>:
>>>>>>> On Fri, Aug 25, 2017 at 01:25:54PM +0100, Ard Biesheuvel wrote:
>>>>>>>> Instead of hardcoding the non-cache coherent nature of this device
>>>>>>>> by invoking UncachedMemoryAllocationLib directly for allocating
>>>>>>>> shared buffers, switch to DmaLib, which encapsulates this at a
>>>>>>>> more abstract level. This allows the driver to be shared with
>>>>>>>> platforms that are cache coherent (by simply switching to another
>>>>>>>> DmaLib implementation), and removes the hardcoded dependency on
>>>>>>>> UncachedMemoryAllocationLib, which will be removed from upstream
>>>>>>>> EDK2.
>>>>>>>>
>>>>>>>> Contributed-under: TianoCore Contribution Agreement 1.1
>>>>>>>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>>>>>>>
>>>>>>> Ah, and there is the non-bogus fix :)
>>>>>>> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
>>>>>>
>>>>>> Please let me just run this on the HW before merge - I'll do it tomorrow.
>>>>>>
>>>>>
>>>>> Sure. Note that you will need to sync EDK2 after I merged the DmaLib
>>>>> changes (which I will do today)
>>>>
>>>> Ok, please let know once it's available and also it would be great if
>>>> this patch could be shared via github repo.
>>>>
>>>
>>> The prerequisite patches for DmaLib are in EDK2 now.
>>>
>>> https://git.linaro.org/people/ard.biesheuvel/edk2-platforms.git/log/?h=mvpp2-dmalib
>>
>> Note that I just updated this branch to use NonCoherentDmaLib rather
>> than ArmDmaLib
>
> For clarity - my Reviewed-by: still applies.
>

Thank. Pushed as bff9700855e43e4948fb4f7249b9a4fb5451072e


      reply	other threads:[~2017-08-31 13:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 12:25 [PATCH] Platform/Armada/Pp2Dxe: switch to ArmDmaLib Ard Biesheuvel
2017-08-29 15:46 ` Leif Lindholm
2017-08-29 15:47   ` Marcin Wojtas
2017-08-29 15:48     ` Ard Biesheuvel
2017-08-29 15:53       ` Marcin Wojtas
2017-08-29 17:01         ` Ard Biesheuvel
2017-08-30 13:26           ` Ard Biesheuvel
2017-08-31 13:35             ` Marcin Wojtas
2017-08-31 13:40               ` Ard Biesheuvel
2017-08-31 13:51             ` Leif Lindholm
2017-08-31 13:58               ` Ard Biesheuvel [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-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+Gu9FL+gg++X4bo9cjNGQDNEBGYhdjKr-VadDoc6UfM2YWg@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