diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-06-23 08:49:55 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-20 22:14:21 +1200 |
commit | c04cf9e14f109ebcc425c1efd2c01294c52a4d62 (patch) | |
tree | 68c437a1d73a6de139e7024d2abc589ef59a53ae /include/linux/psp-platform-access.h | |
parent | b8440d55f7d4ad2b669902301c87c482faf9a8f4 (diff) | |
download | lwn-c04cf9e14f109ebcc425c1efd2c01294c52a4d62.tar.gz lwn-c04cf9e14f109ebcc425c1efd2c01294c52a4d62.zip |
crypto: ccp - Add support for fetching a nonce for dynamic boost control
Dynamic Boost Control is a feature offered on AMD client platforms that
allows software to request and set power or frequency limits.
Only software that has authenticated with the PSP can retrieve or set
these limits.
Create a character device and ioctl for fetching the nonce. This ioctl
supports optionally passing authentication information which will influence
how many calls the nonce is valid for.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/psp-platform-access.h b/include/linux/psp-platform-access.h index 75da8f5f7ad8..53b4a1df5180 100644 --- a/include/linux/psp-platform-access.h +++ b/include/linux/psp-platform-access.h @@ -8,6 +8,7 @@ enum psp_platform_access_msg { PSP_CMD_NONE = 0x0, PSP_I2C_REQ_BUS_CMD = 0x64, + PSP_DYNAMIC_BOOST_GET_NONCE, }; struct psp_req_buffer_hdr { |