Home
last modified time | relevance | path

Searched hist:"28 db3e96efd3e172a2973962130dca952c9f21cd" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/plat/nvidia/tegra/soc/t210/
H A Dplat_setup.c28db3e96efd3e172a2973962130dca952c9f21cd Sat Feb 17 05:02:32 UTC 2018 Andreas Färber <afaerber@suse.de> tegra: Fix mmap_region_t struct mismatch

Commit fdb1964c34968921379d3592e7ac6e9a685dbab1 ("xlat: Introduce
MAP_REGION2() macro") added a granularity field to mmap_region_t.

Tegra platforms were using the v2 xlat_tables implementation in
common/tegra_common.mk, but v1 xlat_tables.h headers in soc/*/plat_setup.c
where arrays are being defined. This caused the next physical address to
be read as granularity, causing EINVAL error and triggering an assert.

Consistently use xlat_tables_v2.h header to avoid this.

Fixes ARM-software/tf-issues#548.

Signed-off-by: Andreas Färber <afaerber@suse.de>
/rk3399_ARM-atf/plat/nvidia/tegra/soc/t186/
H A Dplat_setup.c28db3e96efd3e172a2973962130dca952c9f21cd Sat Feb 17 05:02:32 UTC 2018 Andreas Färber <afaerber@suse.de> tegra: Fix mmap_region_t struct mismatch

Commit fdb1964c34968921379d3592e7ac6e9a685dbab1 ("xlat: Introduce
MAP_REGION2() macro") added a granularity field to mmap_region_t.

Tegra platforms were using the v2 xlat_tables implementation in
common/tegra_common.mk, but v1 xlat_tables.h headers in soc/*/plat_setup.c
where arrays are being defined. This caused the next physical address to
be read as granularity, causing EINVAL error and triggering an assert.

Consistently use xlat_tables_v2.h header to avoid this.

Fixes ARM-software/tf-issues#548.

Signed-off-by: Andreas Färber <afaerber@suse.de>
/rk3399_ARM-atf/plat/nvidia/tegra/include/
H A Dtegra_private.h28db3e96efd3e172a2973962130dca952c9f21cd Sat Feb 17 05:02:32 UTC 2018 Andreas Färber <afaerber@suse.de> tegra: Fix mmap_region_t struct mismatch

Commit fdb1964c34968921379d3592e7ac6e9a685dbab1 ("xlat: Introduce
MAP_REGION2() macro") added a granularity field to mmap_region_t.

Tegra platforms were using the v2 xlat_tables implementation in
common/tegra_common.mk, but v1 xlat_tables.h headers in soc/*/plat_setup.c
where arrays are being defined. This caused the next physical address to
be read as granularity, causing EINVAL error and triggering an assert.

Consistently use xlat_tables_v2.h header to avoid this.

Fixes ARM-software/tf-issues#548.

Signed-off-by: Andreas Färber <afaerber@suse.de>