Can you mmap (user) and ioremap_nocache (kernal) the same phys address?

666 views Asked by At

Can you mmap (user) and ioremap_nocache (kernal) the same phys address say that of an fpga?

1

There are 1 answers

0
ayyappa ch On

yes . mmap will map device address to user space and ioremap will map device address to kernel virtual address. Both return addresses will point to same device address finally.