In Jeff Dike's book User Mode Linux it is mentioned in
page 247 that iomem driver "is mostly used for writing emulated drivers
and cluster interconnect".
Did anyone encountered an example of one of
these usages? Except for the obvious demo driver mmapper_kern.c
I'm trying to emulate two boards connected via PCIe (one is of course root complex and the other is an endpoint). Thus iomem seems the obvious solution.
I'm also interested with simulating PCIe doorbell interrupt from one simulated board to the other.