summaryrefslogtreecommitdiff
path: root/include/linux/psp-platform-access.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-06-23 16:49:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-20 13:14:21 +0300
commite2cfe05e9277b5a7abbbc186fec1ad37348dd956 (patch)
tree609459d4f1a79dc8c3d01397704a370e2cce9281 /include/linux/psp-platform-access.h
parentd9408716d2126439fbc46f6c40e72792069b8411 (diff)
downloadlinux-e2cfe05e9277b5a7abbbc186fec1ad37348dd956.tar.xz
crypto: ccp - Add support for getting and setting DBC parameters
After software has authenticated a dynamic boost control request, it can fetch and set supported parameters using a selection of messages. Add support for these messages and export the ability to do this to userspace. Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/psp-platform-access.h')
-rw-r--r--include/linux/psp-platform-access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/psp-platform-access.h b/include/linux/psp-platform-access.h
index 18b9e0f0cb03..c1dc87fc536b 100644
--- a/include/linux/psp-platform-access.h
+++ b/include/linux/psp-platform-access.h
@@ -10,6 +10,8 @@ enum psp_platform_access_msg {
PSP_I2C_REQ_BUS_CMD = 0x64,
PSP_DYNAMIC_BOOST_GET_NONCE,
PSP_DYNAMIC_BOOST_SET_UID,
+ PSP_DYNAMIC_BOOST_GET_PARAMETER,
+ PSP_DYNAMIC_BOOST_SET_PARAMETER,
};
struct psp_req_buffer_hdr {