Home
last modified time | relevance | path

Searched hist:"06 aca857f4a8ceae4f2ec126b8a9892b82077415" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/lib/xlat_tables_v2/
H A Dxlat_tables_core.c06aca857f4a8ceae4f2ec126b8a9892b82077415 Wed Feb 19 05:09:10 UTC 2020 Pramod Kumar <pramod.kumar@broadcom.com> xlat lib v2: Add support to pass shareability attribute for normal memory region

Present framework restricts platform to pass desired shareability attribute
for normal memory region mapped in MMU. it defaults to inner shareability.

There are platforms where memories (like SRAM) are not placed at snoopable
region in advaned interconnect like CCN/CMN hence snoopable transaction is
not possible to these memory. Though These memories could be mapped in MMU
as MT_NON_CACHEABLE, data caches benefits won't be available.

If these memories are mapped as cacheable with non-shareable attribute,
when only one core is running like at boot time, MMU data cached could be
used for faster execution. Hence adding support to pass the shareability
attribute for memory regions.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Change-Id: I678cb50120a28dae4aa9d1896e8faf1dd5cf1754
/rk3399_ARM-atf/include/lib/xlat_tables/
H A Dxlat_tables_v2.h06aca857f4a8ceae4f2ec126b8a9892b82077415 Wed Feb 19 05:09:10 UTC 2020 Pramod Kumar <pramod.kumar@broadcom.com> xlat lib v2: Add support to pass shareability attribute for normal memory region

Present framework restricts platform to pass desired shareability attribute
for normal memory region mapped in MMU. it defaults to inner shareability.

There are platforms where memories (like SRAM) are not placed at snoopable
region in advaned interconnect like CCN/CMN hence snoopable transaction is
not possible to these memory. Though These memories could be mapped in MMU
as MT_NON_CACHEABLE, data caches benefits won't be available.

If these memories are mapped as cacheable with non-shareable attribute,
when only one core is running like at boot time, MMU data cached could be
used for faster execution. Hence adding support to pass the shareability
attribute for memory regions.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Change-Id: I678cb50120a28dae4aa9d1896e8faf1dd5cf1754