Miguel Ojeda wrote: > > Sorry, I meant: You can't mmap a RAM address using functions like the > usual remap_pfn_range (as such functions doesn't like physical RAM > addresses, they want I/O ports for example, like 0x378). So, you can't > use smem_start. You need to code your own mmap & nopage function. (It > is explained in LDD3 very well). > well I must admit that I don't understand why... I suppose you refered to that section in ldd3: An interesting limitation of remap_pfn_range is that it gives access only to reserved pages and physical addresses above the top of physical memory. I take a quick look at the implementation of remap_pfn_range() and there's no such limitation I can see (fortunately). Franck - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Miguel Ojeda" <maxextreme@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- References:
- [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: Miguel Ojeda Sandonis <maxextreme@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: Franck Bui-Huu <vagabon.xyz@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: Franck Bui-Huu <vagabon.xyz@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Miguel Ojeda" <maxextreme@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: Franck Bui-Huu <vagabon.xyz@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Miguel Ojeda" <maxextreme@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Miguel Ojeda" <maxextreme@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
- Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- From: "Miguel Ojeda" <maxextreme@gmail.com>
- [PATCH 2.6.19-rc1 full] drivers: add LCD support
- Prev by Date: Re: [PATCH] wireless-2.6 zd1211rw check against regulatory domain rather than hardcoded value of 11
- Next by Date: [PATCH 1/2] lockdep: spin_lock_irqsave_nested()
- Previous by thread: Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- Next by thread: Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
- Index(es):
![]() |