audk/ArmPkg/Library/ArmMmuLib
Peicong Li 829633e3a8 ArmPkg/ArmMmuLib: Add new attribute WRITE_BACK_NONSHAREABLE
Flash region needs to be set as cacheable (write back) to increase
performance, if PEI is still XIP on flash or DXE FV is decompressed
from flash FV. However some ARM platforms do not support to set flash
as inner shareable since flash is not normal DDR memory and it will
not respond to cache snoop request, which will causes system hang
after MMU is enabled.

So we need a new ARM memory region attribute WRITE_BACK_NONSHAREABLE
for flash region on these platforms specifically. This attribute will
set the region as write back but not inner shared.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Peicong Li <lipeicong@huawei.com>
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-11-07 13:29:46 +00:00
..
AArch64 ArmPkg/ArmMmuLib: Add new attribute WRITE_BACK_NONSHAREABLE 2017-11-07 13:29:46 +00:00
Arm ArmPkg/ArmMmuLib ARM: implement memory permission control routines 2017-03-07 10:31:53 +01:00
ArmMmuBaseLib.inf ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size 2016-09-13 13:43:34 +01:00
ArmMmuPeiLib.inf ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size 2016-09-13 13:43:34 +01:00