Question: what is __iomem in linux?
Answer: __iomem is a cookie used by Sparse, a tool used to find possible coding faults in the kernel. If you don't compile your kernel code with Sparse enabled, __iomem will be ignored anyway. ... Also, the noderef attribute is used by Sparse to make sure you don't dereference an __iomem pointer.