lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALAqxLXwo=Pwi7BUXNzpk3-aqm1j+O9ZTi4NpYWdc2eYVK7t1w@mail.gmail.com>
Date:   Fri, 18 Oct 2019 11:29:29 -0700
From:   John Stultz <john.stultz@...aro.org>
To:     Benjamin Gaignard <benjamin.gaignard@...aro.org>
Cc:     Brian Starkey <Brian.Starkey@....com>,
        lkml <linux-kernel@...r.kernel.org>,
        Laura Abbott <labbott@...hat.com>,
        Sumit Semwal <sumit.semwal@...aro.org>,
        Liam Mark <lmark@...eaurora.org>,
        Pratik Patel <pratikp@...eaurora.org>,
        Vincent Donnefort <Vincent.Donnefort@....com>,
        Sudipto Paul <Sudipto.Paul@....com>,
        "Andrew F . Davis" <afd@...com>,
        Christoph Hellwig <hch@...radead.org>,
        Chenbo Feng <fengc@...gle.com>,
        Alistair Strachan <astrachan@...gle.com>,
        Hridya Valsaraju <hridya@...gle.com>,
        Hillf Danton <hdanton@...a.com>,
        "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
        nd <nd@....com>
Subject: Re: [PATCH v12 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

On Fri, Oct 18, 2019 at 5:04 AM Benjamin Gaignard
<benjamin.gaignard@...aro.org> wrote:
> Le ven. 18 oct. 2019 à 13:21, Brian Starkey <Brian.Starkey@....com> a écrit :
> >
> > On Fri, Oct 18, 2019 at 05:23:22AM +0000, John Stultz wrote:
> > > This adds a CMA heap, which allows userspace to allocate
> > > a dma-buf of contiguous memory out of a CMA region.
> > >
> > > This code is an evolution of the Android ION implementation, so
> > > thanks to its original author and maintainters:
> > >   Benjamin Gaignard, Laura Abbott, and others!
> > >
> > > NOTE: This patch only adds the default CMA heap. We will enable
> > > selectively adding other CMA memory regions to the dmabuf heaps
> > > interface with a later patch (which requires a dt binding)
>
> Maybe we can use "no-map" DT property to trigger that. If set do not expose the
> cma heap.

I don't think that's a good plan. See my WIP tree for the approach I'm planning:
  https://git.linaro.org/people/john.stultz/android-dev.git/log/?h=dev/dma-buf-heap-WIP

thanks
-john

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ