applied to tip/core/resources, thanks Suresh.
one question:
i think all the checks you added are precise to the byte and you allow
all the sensible ioremaps: which nest fully inside a single resource -
and you reject all the other partial overlap or multiple overlap
scenarios.
One potential thing to check for would be whether addr+size overlaps a
4GB boundary? That would almost always be a bug, and it could also cause
problems with the checks above if resource_t is 32 bits. The ioremap
code should already prevent it though.
Ingo
--