linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH 1/1] mm: EXPORT_SYMBOL_GPL(find_vm_area);
Date: Mon, 11 Jan 2016 13:31:10 -0800	[thread overview]
Message-ID: <20160111133110.a9cb49cdbdb88c58a1352597@linux-foundation.org> (raw)
In-Reply-To: <5693A77E.4020809@linux.intel.com>

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

> Hi Andrew,
> 
> Andrew Morton wrote:
> > On Wed, 11 Nov 2015 15:06:24 +0200 Sakari Ailus <sakari.ailus@linux.intel.com> 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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2016-01-11 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 13:06 [PATCH 1/1] mm: EXPORT_SYMBOL_GPL(find_vm_area); Sakari Ailus
2015-12-03  0:25 ` Andrew Morton
2016-01-11 13:00   ` Sakari Ailus
2016-01-11 21:31     ` Andrew Morton [this message]
2016-01-15 16:59     ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160111133110.a9cb49cdbdb88c58a1352597@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).