Re: [PATCH, for-4.19] dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration

2018-09-21 Thread Paul Burton
Hi Christoph, On Fri, Sep 21, 2018 at 08:10:52AM +0200, Christoph Hellwig wrote: > Paul, other mips folks, any comments? > > At this point I'm tempted to just move it to 4.20 and add a stable > tag given that no one cared so far. Copying Kevin & Florian as maintainers of the affected BMIPS syste

Re: [PATCH 1/3] xtensa: remove partial support for DMA buffers in high memory

2018-09-21 Thread Max Filippov
On Thu, Sep 20, 2018 at 11:51 PM, Christoph Hellwig wrote: > On Thu, Sep 20, 2018 at 12:08:28PM -0700, Max Filippov wrote: >> I'm not familiar with the details of alloc_contig_range implementation, but >> I don't see how gfp_mask is used to limit allocation to non-high memory. >> So when alloc_con

Re: [PATCH] dma-debug: Check for drivers mapping vmalloc addresses

2018-09-21 Thread Stephen Boyd
Quoting Christoph Hellwig (2018-09-20 22:25:37) > On Thu, Sep 20, 2018 at 03:35:59PM -0700, Stephen Boyd wrote: > > I recently debugged a DMA mapping oops where a driver was trying to map > > a buffer returned from request_firmware() with dma_map_single(). Memory > > returned from request_firmware(

Re: [PATCH] dma-debug: Check for drivers mapping vmalloc addresses

2018-09-21 Thread Stephen Boyd
Quoting Robin Murphy (2018-09-21 04:09:50) > Hi Stephen, > > On 20/09/18 23:35, Stephen Boyd wrote: > > I recently debugged a DMA mapping oops where a driver was trying to map > > a buffer returned from request_firmware() with dma_map_single(). Memory > > returned from request_firmware() is mapped

Re: [PATCH v5 10/23] iommu: introduce device fault data

2018-09-21 Thread Jacob Pan
On Fri, 21 Sep 2018 12:07:09 +0200 Auger Eric wrote: > Hi Jacob, > > On 5/11/18 10:54 PM, Jacob Pan wrote: > > Device faults detected by IOMMU can be reported outside IOMMU > > subsystem for further processing. This patch intends to provide > > a generic device fault data such that device driver

Re: [PATCH 1/3] xtensa: remove partial support for DMA buffers in high memory

2018-09-21 Thread MichaƂ Nazarewicz
> On Thu, Sep 20, 2018 at 12:08:28PM -0700, Max Filippov wrote: > > I'm not familiar with the details of alloc_contig_range implementation, but > > I don't see how gfp_mask is used to limit allocation to non-high memory. > > So when alloc_contig_range gets start and end PFNs in high memory > > (fro

Re: [RFC v2 14/20] iommu: introduce device fault data

2018-09-21 Thread Jacob Pan
On Fri, 21 Sep 2018 11:54:56 +0200 Auger Eric wrote: > Hi Jacob, > > On 9/21/18 12:06 AM, Jacob Pan wrote: > > On Tue, 18 Sep 2018 16:24:51 +0200 > > Eric Auger wrote: > > > >> From: Jacob Pan > >> > >> Device faults detected by IOMMU can be reported outside IOMMU > >> subsystem for further