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


Groups > linux.kernel > #1676425

Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU

From Benjamin Gaignard <benjamin.gaignard@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU
Date 2017-06-28 09:40 +0200
Message-ID <tXfJU-3SL-9@gated-at.bofh.it> (permalink)
References <tWylA-tB-21@gated-at.bofh.it> <tX0Bc-2nz-31@gated-at.bofh.it> <tX20h-3fI-15@gated-at.bofh.it> <tX2D0-3Ko-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-06-27 19:36 GMT+02:00 Christoph Hellwig <hch@lst.de>:
> On Tue, Jun 27, 2017 at 05:54:17PM +0100, Russell King - ARM Linux wrote:
>> On Tue, Jun 27, 2017 at 05:27:53PM +0200, Christoph Hellwig wrote:
>> > I've applied patches 1, 3 and 4 to the dma-mapping tree.  2 will need
>> > a respin for less code duplication.  I'd be happy to take 5,6 and 7 if
>> > Russell is fine with that.
>>
>> If Vladimir is okay with those going in without patch 2, then I'm
>> happy - I seem to remember a mail from Vladimir stating that they
>> depended on some of the previous patches, but I don't know which.
>>
>> Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
>
> Thanks, I'll add them.  Patch 2 only adds optional mmap functionality,
> so it's not really required.  Although I'd really like to see a fixed
> up version that I can merge anyway.

Without mmap we will have a regression for nommu platform which are using
dma_alloc_coherent and specialy in drm/kms where dumb buffer are allocated
like that.
Even with this problem I think the patches should be merged but we should have
a quick fix for mmap.

Benjamin

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


Thread

[PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:20 +0200
  [PATCH v6 1/7] dma: Take into account dma_pfn_offset Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 4/7] drivers: dma-coherent: Introduce default DMA pool Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 5/7] ARM: NOMMU: Introduce dma operations for noMMU Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 2/7] dma: Add simple dma_noop_mmap Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 3/7] drivers: dma-coherent: Account dma_pfn_offset when used with device tree Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 7/7] ARM: dma-mapping: Remove traces of NOMMU code Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  [PATCH v6 6/7] ARM: NOMMU: Set ARM_DMA_MEM_BUFFERABLE for M-class cpus Vladimir Murzin <vladimir.murzin@arm.com> - 2017-06-26 11:30 +0200
  Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for         NOMMU Christoph Hellwig <hch@lst.de> - 2017-06-26 12:40 +0200
  Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for         NOMMU Christoph Hellwig <hch@lst.de> - 2017-06-27 17:30 +0200
    Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for  NOMMU Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-06-27 19:00 +0200
      Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for         NOMMU Christoph Hellwig <hch@lst.de> - 2017-06-27 19:40 +0200
        Re: [PATCH v6 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-06-28 09:40 +0200

csiph-web