Re: [PATCH v4 3/8] crypto: ccp: Move some PSP mailbox bit definitions into common header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/10/23 23:19, Mario Limonciello wrote:
Some of the bits and fields used for mailboxes communicating with the
PSP are common across all mailbox implementations (SEV, TEE, etc).

Move these bits into the common `linux/psp.h` so they don't need to
be re-defined for each implementation.

Acked-by: Rijo Thomas <Rijo-john.Thomas@xxxxxxx>
Acked-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
---
v3->v4:
  * Pick up tags
v2->v3:
  * Pick up tags
v1->v2:
  * Update comment to indicate it's PSP response not PSP ready
---
  drivers/crypto/ccp/psp-dev.h               |  3 ---
  drivers/crypto/ccp/sev-dev.c               | 15 +++++++--------
  drivers/crypto/ccp/sev-dev.h               |  2 +-
  drivers/crypto/ccp/tee-dev.c               | 15 ++++++++-------
  drivers/i2c/busses/i2c-designware-amdpsp.c | 16 +++++-----------
  include/linux/psp.h                        | 12 ++++++++++++
  6 files changed, 33 insertions(+), 30 deletions(-)

For the i2c-designware part:

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux