Re: ioremap_nocache and mem= parameter with k 2.6.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


[email protected] wrote:
I'm using a driver for a framegrabber device that needs to alloc a
huge buffer of ram for dma transfers....
So it works:
1) Having 2GB of ram installed, boot the kernel with mem=1024M
2) remap the unmapped memory above first GB using ioremap_nocache
function, using PAGE_ALIGN().

This works fine with kernel 2.6.9 but it doesn't with newer ones
2.6.18, 2.6.20, 2.6.22.
With newer kernel ioremap returns 0.
It seems like memory above 1G has been marked reserved, IMHO.

What changes in the mm?
I'm not the driver's developer, but I'd like to understand and
possibly find a workaround...

It doesn't make sense to use ioremap_nocache on RAM. It's only meant for mapping MMIO memory regions on a device.

Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux