diff mbox series

[RFC,RESEND,03/10] opal-api: add values for secboot keystore management

Message ID 20180801234042.6740-4-erichte@linux.ibm.com
State RFC
Headers show
Series Initial Implementation of Secure Boot Key Management support | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success master/apply_patch Successfully applied

Commit Message

Eric Richter Aug. 1, 2018, 11:40 p.m. UTC
This patch reserves the tokens for the key management Opal runtime
services to be implemented in the following commits. This is
currently separate to make rebasing and merging simpler, and each
line can be merged into their respective implementation patch if
necessary.

Signed-off-by: Eric Richter <erichte@linux.ibm.com>
---
 include/opal-api.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Stewart Smith March 4, 2019, 5:45 a.m. UTC | #1
Eric Richter <erichte@linux.ibm.com> writes:
> This patch reserves the tokens for the key management Opal runtime
> services to be implemented in the following commits. This is
> currently separate to make rebasing and merging simpler, and each
> line can be merged into their respective implementation patch if
> necessary.
>
> Signed-off-by: Eric Richter <erichte@linux.ibm.com>
> ---
>  include/opal-api.h | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

This might be a good patch to introduce doc/ for the calls.

>
> diff --git a/include/opal-api.h b/include/opal-api.h
> index f766dce9..562d4143 100644
> --- a/include/opal-api.h
> +++ b/include/opal-api.h
> @@ -224,7 +224,12 @@
>  #define OPAL_PCI_SET_PBCQ_TUNNEL_BAR		165
>  #define OPAL_HANDLE_HMI2			166
>  #define OPAL_NX_COPROC_INIT			167
> -#define OPAL_LAST				167
> +#define OPAL_GET_VARIABLE			168
> +#define OPAL_SET_VARIABLE			169
> +#define OPAL_GET_NEXT_VARIABLE			170
> +#define OPAL_SECBOOT_COMMIT			171
> +#define OPAL_LOCK_VARIABLES			172
> +#define OPAL_LAST				172
>  
>  #define QUIESCE_HOLD			1 /* Spin all calls at entry */
>  #define QUIESCE_REJECT			2 /* Fail all calls with OPAL_BUSY */
> -- 
> 2.14.4
>
> _______________________________________________
> Skiboot mailing list
> Skiboot@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
>
diff mbox series

Patch

diff --git a/include/opal-api.h b/include/opal-api.h
index f766dce9..562d4143 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -224,7 +224,12 @@ 
 #define OPAL_PCI_SET_PBCQ_TUNNEL_BAR		165
 #define OPAL_HANDLE_HMI2			166
 #define OPAL_NX_COPROC_INIT			167
-#define OPAL_LAST				167
+#define OPAL_GET_VARIABLE			168
+#define OPAL_SET_VARIABLE			169
+#define OPAL_GET_NEXT_VARIABLE			170
+#define OPAL_SECBOOT_COMMIT			171
+#define OPAL_LOCK_VARIABLES			172
+#define OPAL_LAST				172
 
 #define QUIESCE_HOLD			1 /* Spin all calls at entry */
 #define QUIESCE_REJECT			2 /* Fail all calls with OPAL_BUSY */