OSDN Git Service

crypto: ccp - Add a sample python script for Dynamic Boost Control
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 23 Jun 2023 13:49:59 +0000 (08:49 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Jul 2023 10:14:57 +0000 (22:14 +1200)
commitf40d42f116cf965a9e37e2991f19ca1b5b156210
tree860ab89a70438f6d69e790ee0e135b77dd6ad083
parentfebe3ed3222f92672d3e0471893aa8ab23275c28
crypto: ccp - Add a sample python script for Dynamic Boost Control

Dynamic Boost Control commands are triggered by userspace with
an IOCTL interface that userspace will prepare proper buffers
for a request.

To allow prototyping and testing this interface, add a python3
command line script that loads the dbc_library.so for utilizing
the IOCTLs.

The signature to use and UID are passed as arguments to this script.

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>
tools/crypto/ccp/.gitignore [new file with mode: 0644]
tools/crypto/ccp/dbc.py [new file with mode: 0644]
tools/crypto/ccp/dbc_cli.py [new file with mode: 0755]