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 <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
(cherry picked from commit c04cf9e14f109ebcc425c1efd2c01294c52a4d62)
Signed-off-by: You-Sheng Yang <email address hidden>
fe3d97f...
by
Mario Limonciello <email address hidden>
crypto: ccp - move setting PSP master to earlier in the init
The bootloader and TEE versions are stored in registers that can be
accessed from sysfs. This exports the information for recent client
and datacenter parts.
Acked-by: Tom Lendacky <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
(cherry picked from commit e938b08ad8cd7b757b7b37e8fb1c20897dd3ec09)
Signed-off-by: You-Sheng Yang <email address hidden>
752821c...
by
Mario Limonciello <email address hidden>
crypto: ccp - Add support for displaying PSP firmware versions
As it's not always obvious what PSP bootloader or TEE version are
present in OEM systems, add the ability to get this information from
sysfs for supported platforms.
Acked-by: Tom Lendacky <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
(cherry picked from commit 2e424c33d8e748b65b683988f80e711cd6a7f619)
Signed-off-by: You-Sheng Yang <email address hidden>
374969c...
by
Mario Limonciello <email address hidden>
crypto: ccp - Rename macro for security attributes
The attribute_show() macro is only valid for determining the availability
of security related sysfs entries. Rename the macro to better show this
relationship.
Acked-by: Tom Lendacky <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
(cherry picked from commit b582763721828f6c3fcf94d371623127f0198f3f)
Signed-off-by: You-Sheng Yang <email address hidden>