| To: | Clem Taylor <clem.taylor@gmail.com> |
|---|---|
| Subject: | Re: troubles writing to a mmapped PCI BAR |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 22 Apr 2005 21:27:40 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <ecb4efd105042213221c30cac4@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <ecb4efd10504211231748d2525@mail.gmail.com> <ecb4efd105042213221c30cac4@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| 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.) Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: troubles writing to a mmapped PCI BAR, Clem Taylor |
|---|---|
| Next by Date: | [PATCH 2.6] vr41xx: remove old rtc driver for vr41xx, Yoichi Yuasa |
| Previous by Thread: | Re: troubles writing to a mmapped PCI BAR, Clem Taylor |
| Next by Thread: | 2.4.30 do_readv_writev32 fix, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |