uv.h (b96b3ce2720145bd981988443288fbc4bdf37854) uv.h (2d8a26acaf88a9174bcd44b607c5aa2ca9f5718f)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Ultravisor Interfaces
4 *
5 * Copyright IBM Corp. 2019, 2022
6 *
7 * Author(s):
8 * Vasily Gorbik <gor@linux.ibm.com>

--- 46 unchanged lines hidden (view full) ---

55#define UVC_CMD_DUMP_CONF_STOR_STATE 0x0401
56#define UVC_CMD_DUMP_CPU 0x0402
57#define UVC_CMD_DUMP_COMPLETE 0x0403
58#define UVC_CMD_SET_SHARED_ACCESS 0x1000
59#define UVC_CMD_REMOVE_SHARED_ACCESS 0x1001
60#define UVC_CMD_RETR_ATTEST 0x1020
61#define UVC_CMD_ADD_SECRET 0x1031
62#define UVC_CMD_LIST_SECRETS 0x1033
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Ultravisor Interfaces
4 *
5 * Copyright IBM Corp. 2019, 2022
6 *
7 * Author(s):
8 * Vasily Gorbik <gor@linux.ibm.com>

--- 46 unchanged lines hidden (view full) ---

55#define UVC_CMD_DUMP_CONF_STOR_STATE 0x0401
56#define UVC_CMD_DUMP_CPU 0x0402
57#define UVC_CMD_DUMP_COMPLETE 0x0403
58#define UVC_CMD_SET_SHARED_ACCESS 0x1000
59#define UVC_CMD_REMOVE_SHARED_ACCESS 0x1001
60#define UVC_CMD_RETR_ATTEST 0x1020
61#define UVC_CMD_ADD_SECRET 0x1031
62#define UVC_CMD_LIST_SECRETS 0x1033
63#define UVC_CMD_LOCK_SECRETS 0x1034
63
64/* Bits in installed uv calls */
65enum uv_cmds_inst {
66 BIT_UVC_CMD_QUI = 0,
67 BIT_UVC_CMD_INIT_UV = 1,
68 BIT_UVC_CMD_CREATE_SEC_CONF = 2,
69 BIT_UVC_CMD_DESTROY_SEC_CONF = 3,
70 BIT_UVC_CMD_CREATE_SEC_CPU = 4,

--- 16 unchanged lines hidden (view full) ---

87 BIT_UVC_CMD_DESTROY_SEC_CONF_FAST = 23,
88 BIT_UVC_CMD_DUMP_INIT = 24,
89 BIT_UVC_CMD_DUMP_CONFIG_STOR_STATE = 25,
90 BIT_UVC_CMD_DUMP_CPU = 26,
91 BIT_UVC_CMD_DUMP_COMPLETE = 27,
92 BIT_UVC_CMD_RETR_ATTEST = 28,
93 BIT_UVC_CMD_ADD_SECRET = 29,
94 BIT_UVC_CMD_LIST_SECRETS = 30,
64
65/* Bits in installed uv calls */
66enum uv_cmds_inst {
67 BIT_UVC_CMD_QUI = 0,
68 BIT_UVC_CMD_INIT_UV = 1,
69 BIT_UVC_CMD_CREATE_SEC_CONF = 2,
70 BIT_UVC_CMD_DESTROY_SEC_CONF = 3,
71 BIT_UVC_CMD_CREATE_SEC_CPU = 4,

--- 16 unchanged lines hidden (view full) ---

88 BIT_UVC_CMD_DESTROY_SEC_CONF_FAST = 23,
89 BIT_UVC_CMD_DUMP_INIT = 24,
90 BIT_UVC_CMD_DUMP_CONFIG_STOR_STATE = 25,
91 BIT_UVC_CMD_DUMP_CPU = 26,
92 BIT_UVC_CMD_DUMP_COMPLETE = 27,
93 BIT_UVC_CMD_RETR_ATTEST = 28,
94 BIT_UVC_CMD_ADD_SECRET = 29,
95 BIT_UVC_CMD_LIST_SECRETS = 30,
96 BIT_UVC_CMD_LOCK_SECRETS = 31,
95};
96
97enum uv_feat_ind {
98 BIT_UV_FEAT_MISC = 0,
99 BIT_UV_FEAT_AIV = 1,
100};
101
102struct uv_cb_header {

--- 381 unchanged lines hidden ---
97};
98
99enum uv_feat_ind {
100 BIT_UV_FEAT_MISC = 0,
101 BIT_UV_FEAT_AIV = 1,
102};
103
104struct uv_cb_header {

--- 381 unchanged lines hidden ---