ioremap and page table

Deepanshu Kartikey kartikey406 at gmail.com
Sun Jul 11 12:48:17 EDT 2021


What my understanding is that ioremap converts your address to a virtual
address. So, yes everything then is handled by the kernel



On Sun, Jul 11, 2021 at 9:04 PM <ckim at etri.re.kr> wrote:

> Hello all,
>
> I’m almost sure but want to check if my understanding is correct.
>
> To use a memory mapped IO, we use functions like request_mem_region and
> ioremap, iounmap functions.
>
> I guess when we call ioremap function, the kernel sets up page table for
> the region so that the region becomes non-cacheable, and I don’t also have
>  to worry about reordering problem.
>
> Is my understanding correct?
>
> Thanks!
>
> Chan Kim
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210711/ee199e44/attachment.html>


More information about the Kernelnewbies mailing list