SPM: Adjust size of virtual address space per partition
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 27 Mar 2019 13:45:52 +0000 (13:45 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 3 Apr 2019 09:51:31 +0000 (10:51 +0100)
commit75f364b3e09c16e67dfca27318bc0fec668d688f
tree565bde3d335fcf7fef1d20407a393c47d1006104
parent014df18b8e6cc2e6accb8230b950d7f3263f497a
SPM: Adjust size of virtual address space per partition

Rather than using a fixed virtual address space size, read all regions
in the resource description of each partition and restrict the virtual
address space size to the one the partition actually needs.

This also allows SPM to take advantage of the extension ARMv8.4-TTST if
the virtual address space size is small enough.

Change-Id: I8646aa95e659136b58b44b040364cdee631f7e82
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
services/std_svc/spm/spm_xlat.c