powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VA
authorScott Wood <scottwood@freescale.com>
Thu, 16 Apr 2015 00:40:23 +0000 (19:40 -0500)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Aug 2015 03:59:20 +0000 (22:59 -0500)
commit2f7d2b74a9dd9140053f143e1c94da0fef3c1109
treecc90ce077e6bfa19440953c1914b78e690182403
parent501c8de7b061d2dc0c21a0a79fee3eddf30af8dd
powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VA

__flush_dcache_icache_phys() requires the ability to access the
memory with the MMU disabled, which means that on a 32-bit system
any memory above 4 GiB is inaccessible.  In particular, mpc86xx is
32-bit and can have more than 4 GiB of RAM.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/cacheflush.h
arch/powerpc/mm/mem.c