Re: [PATCH 1/1] mm: EXPORT_SYMBOL_GPL(find_vm_area);

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Jan 2016 15:00:46 +0200 Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> wrote:

> Hi Andrew,
> 
> Andrew Morton wrote:
> > On Wed, 11 Nov 2015 15:06:24 +0200 Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> wrote:
> > 
> >> find_vm_area() is needed in implementing the DMA mapping API as a module.
> >> Device specific IOMMUs with associated DMA mapping implementations should be
> >> buildable as modules.
> >>
> >> ...
> >>
> >> --- a/mm/vmalloc.c
> >> +++ b/mm/vmalloc.c
> >> @@ -1416,6 +1416,7 @@ struct vm_struct *find_vm_area(const void *addr)
> >>  
> >>  	return NULL;
> >>  }
> >> +EXPORT_SYMBOL_GPL(find_vm_area);
> > 
> > Confused.  Who is setting CONFIG_HAS_DMA=m?
> > 
> 
> Apologies for the late reply --- CONFIG_HAS_DMA isn't configured as a
> module, but some devices are not DMA coherent even on x86. The existing
> x86 DMA mapping implementation doesn't quite work for those at the
> moment, and nothing prevents using another one (and as a module, in
> which case this patch is required).

hm, if you say so.

Please resend the patch sometime along with a much much more detailed
changelog?  If at all appropriate please cc the x86 maintainers so they
can understand why the current DMA mapping implementation is
inappropriate for whatever this requirement is.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]