public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ioremap() >= 128Mb (was: Memory problem with bttv driver)
@ 2002-04-10 22:39 Kevin Hilman
  2002-04-11  5:38 ` Martin J. Bligh
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2002-04-10 22:39 UTC (permalink / raw)
  To: linux-kernel

I followed the 'Memory problem with bttv driver' thread from the
archives and was curious if there was any resolution.

The basic problem is that I have a machine with 1G physical memory and
a device with an 128Mb of on-board memory that I would like to
ioremap().  Of course, since VMALLOC_RESERVE is 128Mb this will always
fail if there have been any previous calls to vmalloc() or ioremap()
(which is aways true when the driver loads as a module.)

So far I have a few workarounds, but no good long term solution.
- boot the kernel with less than 1G on cmdline: mem=768M
- hack VMALLOC_RESERVE 

Is it reasonable to make VMALLOC_RESERVE be configurable at boot-time
instead of compile time?

Or, is there a better way to get memory-mapped access to all of the
devices on-board memory?

Thanks.
-- 
Kevin Hilman <kevin@hilman.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-11  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 22:39 ioremap() >= 128Mb (was: Memory problem with bttv driver) Kevin Hilman
2002-04-11  5:38 ` Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox