From: Ard Biesheuvel <ard.biesheu...@linaro.org> Date: Thu, 30 Nov 2017 18:08:34 +0000
> But the whole point of memremap() is obtaining a virtual mapping > that does not require accessors, but can be used like ordinary > memory. That's unfortunately not what it's doing. It's relying on the fact that some architectures (I guess x86 and arm) do happen to give a virutal address from ioremap_wt() even though it's return type is annotated __iomem. Thanks in advance for changing your driver to use ioremap() and accessors for now.