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


Groups > linux.kernel > #1505913

Re: UBIFS with dma on 4.6 kernel is not working

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: UBIFS with dma on 4.6 kernel is not working
Date 2016-10-21 15:20 +0200
Message-ID <suHTP-60l-1@gated-at.bofh.it> (permalink)
References <suEjf-3AW-15@gated-at.bofh.it> <suEjf-3AW-13@gated-at.bofh.it> <suHAu-5DG-13@gated-at.bofh.it> <suHKb-5WG-55@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 21, 2016 at 03:07:57PM +0200, Richard Weinberger wrote:
> Hmm, thought this is still problematic on VIVT architectures.
> Boris tried to provide a solution for that some time ago:
> http://www.spinics.net/lists/arm-kernel/msg494025.html

Things have been working fine for approx 10 years when using
flush_kernel_vmap_range before doing I/O using the physical addresses and
then invalidate_kernel_vmap_range when completing the I/O and going back
to using the virtual mapping for XFS.

Of course all this assumes at least the higher level that did the
vm_map_ram operation knows about this dance between virtually mapped and
physiscal addresses. 

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


Thread

Re: UBIFS with dma on 4.6 kernel is not working Richard Weinberger <richard@nod.at> - 2016-10-21 11:30 +0200
  Re: UBIFS with dma on 4.6 kernel is not working Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2016-10-21 14:00 +0200
  Re: UBIFS with dma on 4.6 kernel is not working Christoph Hellwig <hch@infradead.org> - 2016-10-21 15:00 +0200
    Re: UBIFS with dma on 4.6 kernel is not working Richard Weinberger <richard@nod.at> - 2016-10-21 15:10 +0200
      Re: UBIFS with dma on 4.6 kernel is not working Christoph Hellwig <hch@infradead.org> - 2016-10-21 15:20 +0200
        Re: UBIFS with dma on 4.6 kernel is not working Richard Weinberger <richard@nod.at> - 2016-10-24 09:10 +0200

csiph-web