armv8: mmu: fix page table mapping
authorPeng Fan <peng.fan@nxp.com>
Tue, 28 Nov 2017 02:31:28 +0000 (10:31 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 4 Dec 2017 15:23:52 +0000 (10:23 -0500)
commit90351547ceeb76c1337757c51af0fb5a2c30bd02
tree459dbae28fa78fa410dd18d3bd8e4f12c56fa0fb
parent082693f4f02ad7a9de192e73feae34e28856b8e3
armv8: mmu: fix page table mapping

To page mapping the lowest 2 bits needs to be 0x3.
If not fix this, the final lowest 3 bits for page mapping is 0x1
which is marked as reserved.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/cache_v8.c
arch/arm/include/asm/armv8/mmu.h