[PATCH] ARM: allow, but warn, when issuing ioremap() on RAM

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Oct 15 22:39:49 EDT 2010

On Fri, 2010-10-08 at 17:00 -0700, Greg KH wrote:
> But you can't expect that you make this change, and not fix up the
> drivers, and people would be happy, right?  The rule for API changes
> like this, or anything, is that the person making the change fixes the
> other drivers, and that seems to be the issue here.
> Any pointers to patches where people have fixed up the drivers?

Greg, this is true for normal API changes. In this case, this is silent
data corruption, I think Russell is absolutely right. That exact same
issues have been giving me nightmares on powerpc, mostly due to
(fortunately extremely rare) broken chipsets doing non coherent DMA on
processors that do not allow you architecturally to double map memory
with different attributes.


More information about the linux-arm-kernel mailing list