Home
last modified time | relevance | path

Searched hist:"00669 dcd96b9a51d6da01d68f45348950e6cf58f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/lib/xlat_tables/
H A Dxlat_tables_defs.h00669dcd96b9a51d6da01d68f45348950e6cf58f Wed May 14 07:38:28 UTC 2025 Andrei Stefanescu <andrei.stefanescu@nxp.com> fix(xlat): change MT_DEVICE to map to nGnRnE

Previously, MT_DEVICE memory was mapped to nGnRE instead of nGnRnE. This
could cause issues if a platform with USE_COHERENT_MEM=1 mapped the
coherent memory region as MT_DEVICE. A core with stage 1 translation
enabled would access the region with the attributes nGnRE and a core
with stage 1 disabled would access the region with attributes nGnRnE.

This would result in accesses to a memory location with mismatched
memory attributes.

This commit changes MT_DEVICE to nGnRnE. This shouldn't introduce any
issues as nGnRnE has stronger ordering requirements.

Change-Id: Idf2e0bbea3ddb5e469a72a41f5fdb71c030d54b8
Signed-off-by: Andrei Stefanescu <andrei.stefanescu@nxp.com>