mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
feat(spmc): prevent read only xlat tables with the EL3 SPMC
If using the EL3 SPMC ensure that we don't mark the translation tables as read only. The SPMC requires the ability to map and unmap a partitions RX/TX buffers at runtime. Signed-off-by: Sayanta Pattanayak <sayanta.pattanayak@arm.com> Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Change-Id: Ibb78a6a2e3847ce4ec74ce81a9bb61ce34fec24c
This commit is contained in:
parent
1d63ae4d0d
commit
70d986ddbb
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2020, ARM Limited. All rights reserved.
|
||||
# Copyright (c) 2020-2022, ARM Limited. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
@ -34,4 +34,8 @@ else # if AArch64
|
|||
attributes, which is not possible once the translation tables \
|
||||
have been made read-only.")
|
||||
endif
|
||||
ifeq (${SPMC_AT_EL3},1)
|
||||
$(error "EL3 SPMC requires functionality from the dynamic translation \
|
||||
library and is incompatible with ALLOW_RO_XLAT_TABLES.")
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue