From: Hugh Dickins <hugh@veritas.com>
To: "Richard B. Johnson" <linux-os@analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.6.12
Date: Mon, 20 Jun 2005 15:41:46 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.61.0506201530450.3324@goblin.wat.veritas.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0506201018460.5458@chaos.analogic.com>
On Mon, 20 Jun 2005, Richard B. Johnson wrote:
> On Mon, 20 Jun 2005, Hugh Dickins wrote:
> >
> > It's the BUG_ON(!pte_none(*pte)) in remap_pte_range. Maybe your page
> > table is corrupt, maybe your driver is trying to remap_pfn_range on
> > top of something already mapped.
>
> But of course it is. There is some memory that is mapped into the
> driver's address space, used for DMA. It was obtained using
> ioremap_nocache(). This memory is then mapped into user-space
> when the user executes mmap(). This is how we DMA directly to
> user-space. Is this no longer allowed?
Of course that is allowed. But mapping it into userspace on top of
an existing populated mapping in userspace is not and has never been
allowed (well, in 2.4.0 it just generated a printk, from 2.4.10
onwards it's been a BUG).
Hugh
next prev parent reply other threads:[~2005-06-20 14:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 13:07 Linux-2.6.12 Richard B. Johnson
2005-06-20 13:48 ` Linux-2.6.12 Hugh Dickins
2005-06-20 14:22 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 14:41 ` Hugh Dickins [this message]
2005-06-20 15:32 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 16:02 ` Linux-2.6.12 Hugh Dickins
2005-06-21 0:32 ` Linux-2.6.12 Dave Jones
[not found] ` <Pine.LNX.4.61.0506210629110.8815@chaos.analogic.com>
2005-06-21 11:13 ` Linux-2.6.12 Dave Jones
2005-06-21 11:17 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:30 ` Linux-2.6.12 Dave Jones
2005-06-21 11:36 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:55 ` Linux-2.6.12 Dave Jones
2005-06-21 12:01 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:15 ` Linux-2.6.12 Dave Jones
2005-06-21 12:30 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:46 ` Linux-2.6.12 Dave Jones
2005-06-21 23:47 ` Linux-2.6.12 Kurt Wall
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=Pine.LNX.4.61.0506201530450.3324@goblin.wat.veritas.com \
--to=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.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
all inboxes | Powered by JetHome®