]> git.baikalelectronics.ru Git - arm-tf.git/commit
SPMD: fix boundary check if manifest is page aligned
authorManish Pandey <manish.pandey2@arm.com>
Wed, 8 Jul 2020 23:39:16 +0000 (00:39 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 13 Jul 2020 22:00:07 +0000 (23:00 +0100)
commitfdd5f9e6d6172f012b216d6af609fd528dd25836
treee10e9c6a84cdc94b6541fe45100e71d7785d553f
parent99c447f4406c8ae66b6cab2341ef0c8e8d9751d2
SPMD: fix boundary check if manifest is page aligned

while mapping SPMC manifest page in the SPMD translation regime the
mapped size was resolved to zero if SPMC manifest base address is PAGE
aligned, causing SPMD to abort.

To fix the problem change mapped size to PAGE_SIZE if manifest base is
PAGE aligned.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I06cd39dbefaf492682d9bbb0c82b950dd31fb416
plat/common/plat_spmd_manifest.c