<div dir="ltr">I've tried to port ldd3 for the latest kernel source.<div>Here's the link of my repository if anyone needs it - <a href="https://github.com/omerjerk/ldd3_scull">https://github.com/omerjerk/ldd3_scull</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 4:34 PM, Mulyadi Santosa <span dir="ltr"><<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Oct 16, 2015 at 10:53 AM, sahlot arvind <<a href="mailto:asahlot@gmail.com">asahlot@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Is there an API kernel exposes to use for a driver in order to reserve<br>
> physical address space?<br>
> I mean I want to reserve 5GB (or more if allowed) of contiguous physical<br>
> address space anywhere in the address range (wherever it is available..<br>
> doesn't matter) and then I want to map that physical address range in the<br>
> kernel to get a virtual address so that my driver can dereference that<br>
> virtual pointer to access the mapped physical address range.<br>
><br>
> Thanks in advance!<br>
> Sahlot<br>
><br>
<br>
</div></div>5 GB is alot. If you are sure about it, then I guess boot_memalloc()<br>
might be the only choice<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" rel="noreferrer" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" rel="noreferrer" target="_blank">mulyaditraining.blogspot.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br></div>