[Top] [All Lists]

Re: troubles writing to a mmapped PCI BAR

To: Clem Taylor <>
Subject: Re: troubles writing to a mmapped PCI BAR
From: Ralf Baechle <>
Date: Fri, 22 Apr 2005 21:27:40 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.4.1i
On Fri, Apr 22, 2005 at 04:22:53PM -0400, Clem Taylor wrote:

> So I tried adding this before my io_remap_page_range() and it seems to
> have fixed my problem. My mmap() write to a PCI device is working now.
> I tried setting just the _PAGE_DIRTY bit and that seems to be the
> trick. Any ideas why I would need do to this or what is going on?

Without the process simply won't have access priviledges to that page, see
the TLB chapter of the CPU manual.

(I'm simplifying things alot here.)


<Prev in Thread] Current Thread [Next in Thread>