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

681 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 best solutions below

0
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.