aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2017-12-09 02:52:31 -0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-18 21:30:57 -0600
commitf56ff29ed6f97bf24b815f6781fdf072e624fea8 (patch)
tree910df9bec02c620c1917f541b89b09891a082cdd /doc
parent7da364fd3646013166b90baf26fc55078a446a21 (diff)
downloadskiboot-f56ff29ed6f97bf24b815f6781fdf072e624fea8.zip
skiboot-f56ff29ed6f97bf24b815f6781fdf072e624fea8.tar.gz
skiboot-f56ff29ed6f97bf24b815f6781fdf072e624fea8.tar.bz2
hdata/tpmrel.c: add ibm, cvc device tree node
In P9, the Container Verification Code is stored in a hostboot reserved memory and the list of provided CVC services is stored in the TPMREL_IDATA_HASH_VERIF_OFFSETS idata array. Each CVC service has an offset and version. This adds the ibm,cvc device tree node and its documentation. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree/ibm,cvc.rst47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/device-tree/ibm,cvc.rst b/doc/device-tree/ibm,cvc.rst
new file mode 100644
index 0000000..c53df24
--- /dev/null
+++ b/doc/device-tree/ibm,cvc.rst
@@ -0,0 +1,47 @@
+.. _device-tree/ibm,cvc:
+
+ibm,cvc
+=======
+
+This describes the code (a.k.a container verification code) that skiboot uses
+to verify signed firmware blobs. Each ibm,cvc child node describes CVC service,
+which has a version and offset (reg).
+
+Added in the device tree from ``ibm,secureboot-v2``.
+
+Required properties
+-------------------
+
+.. code-block:: none
+
+ compatible: should be "ibm,container-verification-code"
+
+ memory-region: this points to the reserved memory where the
+ container-verification-code is stored.
+
+Example
+-------
+
+.. code-block:: dts
+
+ ibm,cvc {
+ phandle = <0x10f>;
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
+ compatible = "ibm,container-verification-code";
+ memory-region = <0xaa>;
+
+ ibm,cvc-service@40 {
+ phandle = <0x110>;
+ compatible = "ibm,cvc-sha512";
+ reg = <0x40>;
+ version = <0x1>;
+ };
+
+ ibm,cvc-service@50 {
+ phandle = <0x111>;
+ compatible = "ibm,cvc-verify";
+ reg = <0x50>;
+ version = <0x1>;
+ };
+ };