]> git.sur5r.net Git - u-boot/commit
armv8: mmu: Add a function to change mapping attributes
authorYork Sun <york.sun@nxp.com>
Mon, 6 Mar 2017 17:02:33 +0000 (09:02 -0800)
committerYork Sun <york.sun@nxp.com>
Tue, 14 Mar 2017 15:44:03 +0000 (08:44 -0700)
commit7f9b9f318ff152bd8d2e8b573708e2bdc088c1b1
tree1e68c347794e41aff62d8ea9091d88d05c269d6e
parentf539c8a4a7a590e1933a7e21d5771528db1d88b7
armv8: mmu: Add a function to change mapping attributes

Function mmu_change_region_attr() is added to change existing mapping
with updated PXN, UXN and memory type. This is a break-before-make
process during which the mapping becomes fault (invalid) before final
attributres are set.

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