~vicamo/+git/ubuntu-kernel:bug-2034720/amd-dynamic-boost-control/oem-6.5

Last commit made on 2023-09-26
Get this branch:
git clone -b bug-2034720/amd-dynamic-boost-control/oem-6.5 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-2034720/amd-dynamic-boost-control/oem-6.5
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

cd525d1... by You-Sheng Yang

Bug 2034720: Enable dynamic boost control in ccp kernel driver

1f6d7af... by Mario Limonciello <email address hidden>

crypto: ccp - Add support for getting and setting DBC parameters

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

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 <email address hidden>
Signed-off-by: Mario Limonciello <email address hidden>
Signed-off-by: Herbert Xu <email address hidden>
(cherry picked from commit e2cfe05e9277b5a7abbbc186fec1ad37348dd956)
Signed-off-by: You-Sheng Yang <email address hidden>

80b038f... by Mario Limonciello <email address hidden>

crypto: ccp - Add support for setting user ID for dynamic boost control

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

As part of the authentication flow for Dynamic Boost Control, the calling
software will need to send a uid used in all of its future
communications.

Add support for another IOCTL call to let userspace software set this up.

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 d9408716d2126439fbc46f6c40e72792069b8411)
Signed-off-by: You-Sheng Yang <email address hidden>

7e26e7a... by Mario Limonciello <email address hidden>

crypto: ccp - Add support for fetching a nonce for dynamic boost control

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

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

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

Dynamic boost control needs to use platform access symbols
that look for the PSP master as part of initialization.

So move the PSP master before psp_init() so that dynamic boost
control can be initialized properly.

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 b8440d55f7d4ad2b669902301c87c482faf9a8f4)
Signed-off-by: You-Sheng Yang <email address hidden>

6951cc9... by Mario Limonciello <email address hidden>

crypto: ccp - Add bootloader and TEE version offsets

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

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

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

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

BugLink: https://bugs.launchpad.net/amd/+bug/2034720

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>

6553a85... by You-Sheng Yang

Experimental linux-oem-6.5/jammy changes

505b005... by You-Sheng Yang

UBUNTU: debian/dkms-versions -- add Intel USBIO Bridge drivers

BugLink: https://bugs.launchpad.net/bugs/2031412
Signed-off-by: You-Sheng Yang <email address hidden>