arm-trusted-firmware/include/lib/el3_runtime
Mark Brown 062b6c6bf2 feat(pie/por): support permission indirection and overlay
Arm v8.9 introduces a series of features providing a new way to set memory
permissions. Instead of directly encoding the permissions in the page
tables the PTEs contain indexes into an array of permissions stored in
system registers, allowing greater flexibility and density of encoding.

Enable access to these features for EL2 and below, context switching the
newly added EL2 registers as appropriate. Since all of FEAT_S[12]P[IO]E
are separately discoverable we have separate build time options for
enabling them, but note that there is overlap in the registers that they
implement and the enable bit required for lower EL access.

Change the FVP platform to default to handling them as dynamic options so
the right decision can be made by the code at runtime.

Signed-off-by: Mark Brown <broonie@kernel.org>
Change-Id: Icf89e444e39e1af768739668b505661df18fb234
2023-04-12 15:03:22 +01:00
..
aarch32 style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
aarch64 feat(pie/por): support permission indirection and overlay 2023-04-12 15:03:22 +01:00
context_mgmt.h refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
cpu_data.h feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
pubsub.h build: always prefix section names with . 2023-02-20 18:29:33 +00:00
pubsub_events.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00