docs: restructure design section
Design section was renamed "Secure Parition Manager".
It is the section that details Hafnium's implementation
as the SPM.
Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I15c5591241ca41412e6520321e2bfacb7ec64590
diff --git a/docs/index.rst b/docs/index.rst
index d29a909..87b536b 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -8,7 +8,7 @@
Home<self>
about
getting_started/index
- design/index
+ secure-partition-manager/index
threat_model_spm
change-log
appendix
diff --git a/docs/design/ffa-manifest-binding.rst b/docs/secure-partition-manager/ffa-manifest-binding.rst
similarity index 100%
rename from docs/design/ffa-manifest-binding.rst
rename to docs/secure-partition-manager/ffa-manifest-binding.rst
diff --git a/docs/design/index.rst b/docs/secure-partition-manager/index.rst
similarity index 67%
rename from docs/design/index.rst
rename to docs/secure-partition-manager/index.rst
index 5e8ae46..f040696 100644
--- a/docs/design/index.rst
+++ b/docs/secure-partition-manager/index.rst
@@ -1,5 +1,5 @@
-Design
-======
+Secure Partition Manager
+========================
.. toctree::
:maxdepth: 1
diff --git a/docs/design/secure-partition-manager.rst b/docs/secure-partition-manager/secure-partition-manager.rst
similarity index 98%
rename from docs/design/secure-partition-manager.rst
rename to docs/secure-partition-manager/secure-partition-manager.rst
index 0fd589c..7546b81 100644
--- a/docs/design/secure-partition-manager.rst
+++ b/docs/secure-partition-manager/secure-partition-manager.rst
@@ -1,33 +1,5 @@
-Secure Partition Manager
-************************
-
-.. contents::
-
-Foreword
-========
-
-Three implementations of a Secure Partition Manager co-exist in the TF-A
-codebase:
-
-#. S-EL2 SPMC based on the FF-A specification `[1]`_, enabling virtualization in
- the secure world, managing multiple S-EL1 or S-EL0 partitions.
-#. EL3 SPMC based on the FF-A specification, managing a single S-EL1 partition
- without virtualization in the secure world.
-#. EL3 SPM based on the MM specification, legacy implementation managing a
- single S-EL0 partition `[2]`_.
-
-These implementations differ in their respective SW architecture and only one
-can be selected at build time. This document:
-
-- describes the implementation from bullet 1. when the SPMC resides at S-EL2.
-- is not an architecture specification and it might provide assumptions
- on sections mandated as implementation-defined in the specification.
-- covers the implications to TF-A used as a bootloader, and Hafnium used as a
- reference code base for an S-EL2/SPMC secure firmware on platforms
- implementing the FEAT_SEL2 architecture extension.
-
Terminology
------------
+===========
- The term Hypervisor refers to the NS-EL2 component managing Virtual Machines
(or partitions) in the normal world.
@@ -40,7 +12,7 @@
- The term SP refers to a secure world "Virtual Machine" managed by an SPMC.
Support for legacy platforms
-----------------------------
+============================
The SPM is split into a dispatcher and a core component (respectively SPMD and
SPMC) residing at different exception levels. To permit the FF-A specification