<div dir="ltr">I&#39;ve tried to port ldd3 for the latest kernel source.<div>Here&#39;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">&lt;<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;</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 &lt;<a href="mailto:asahlot@gmail.com">asahlot@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Is there an API kernel exposes to use for a driver in order to reserve<br>
&gt; physical address space?<br>
&gt; I mean I want to reserve 5GB (or more if allowed) of contiguous physical<br>
&gt; address space anywhere in the address range (wherever it is available..<br>
&gt; doesn&#39;t matter) and then I want to map that physical address range in the<br>
&gt; kernel to get a virtual address so that my driver can dereference that<br>
&gt; virtual pointer to access the mapped physical address range.<br>
&gt;<br>
&gt; Thanks in advance!<br>
&gt; Sahlot<br>
&gt;<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>