linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] Export platform features from ccp driver
@ 2023-03-10 21:19 Mario Limonciello
  2023-03-10 21:19 ` [PATCH v4 1/8] crypto: ccp: Drop TEE support for IRQ handler Mario Limonciello
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Mario Limonciello @ 2023-03-10 21:19 UTC (permalink / raw)
  To: Jan Dąbroś,
	Grzegorz Bernacki, Rijo-john.Thomas, Thomas.Lendacky, herbert,
	Andy Shevchenko, Mika Westerberg, kvm, linux-crypto, linux-i2c
  Cc: Felix.Held, Mario Limonciello, H. Peter Anvin, Sumit Garg,
	linux-kernel, op-tee

The i2c-designware-amdpsp driver communicates with a platform
features mailbox provided by the PSP.  The address used for
communication is discovered via a non-architecturally
guaranteed mechanism.

To better scale, export a feature for communication with platform
features directly from the ccp driver.

v3->v4
 Drop the ACPI ID as result of confirmation with internal team.
 Future platforms should use doorbell, so will treat Cezanne as quirk
 and assume doorbell going forward.

Mario Limonciello (8):
  crypto: ccp: Drop TEE support for IRQ handler
  crypto: ccp: Add a header for multiple drivers to use `__psp_pa`
  crypto: ccp: Move some PSP mailbox bit definitions into common header
  crypto: ccp: Add support for an interface for platform features
  crypto: ccp: Enable platform access interface on client PSP parts
  i2c: designware: Use PCI PSP driver for communication
  crypto: ccp: Add support for ringing a platform doorbell
  i2c: designware: Add doorbell support for Skyrim

 arch/x86/kvm/svm/sev.c                      |   1 +
 drivers/crypto/ccp/Makefile                 |   3 +-
 drivers/crypto/ccp/platform-access.c        | 232 ++++++++++++++++++++
 drivers/crypto/ccp/platform-access.h        |  35 +++
 drivers/crypto/ccp/psp-dev.c                |  32 +--
 drivers/crypto/ccp/psp-dev.h                |  11 +-
 drivers/crypto/ccp/sev-dev.c                |  16 +-
 drivers/crypto/ccp/sev-dev.h                |   2 +-
 drivers/crypto/ccp/sp-dev.h                 |  10 +
 drivers/crypto/ccp/sp-pci.c                 |   9 +
 drivers/crypto/ccp/tee-dev.c                |  17 +-
 drivers/i2c/busses/Kconfig                  |   2 +-
 drivers/i2c/busses/i2c-designware-amdpsp.c  | 188 ++++------------
 drivers/i2c/busses/i2c-designware-core.h    |   1 -
 drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
 drivers/tee/amdtee/call.c                   |   2 +-
 drivers/tee/amdtee/shm_pool.c               |   2 +-
 include/linux/psp-platform-access.h         |  65 ++++++
 include/linux/psp-sev.h                     |   8 -
 include/linux/psp.h                         |  29 +++
 20 files changed, 461 insertions(+), 205 deletions(-)
 create mode 100644 drivers/crypto/ccp/platform-access.c
 create mode 100644 drivers/crypto/ccp/platform-access.h
 create mode 100644 include/linux/psp-platform-access.h
 create mode 100644 include/linux/psp.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-03-21 21:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 21:19 [PATCH v4 0/8] Export platform features from ccp driver Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 1/8] crypto: ccp: Drop TEE support for IRQ handler Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 2/8] crypto: ccp: Add a header for multiple drivers to use `__psp_pa` Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 3/8] crypto: ccp: Move some PSP mailbox bit definitions into common header Mario Limonciello
2023-03-13 10:30   ` Jarkko Nikula
2023-03-10 21:19 ` [PATCH v4 4/8] crypto: ccp: Add support for an interface for platform features Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 5/8] crypto: ccp: Enable platform access interface on client PSP parts Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 6/8] i2c: designware: Use PCI PSP driver for communication Mario Limonciello
2023-03-13 10:30   ` Jarkko Nikula
2023-03-15 10:28   ` Grzegorz Bernacki
2023-03-10 21:19 ` [PATCH v4 7/8] crypto: ccp: Add support for ringing a platform doorbell Mario Limonciello
2023-03-15 11:07   ` Grzegorz Bernacki
2023-03-21 21:16     ` Limonciello, Mario
2023-03-10 21:19 ` [PATCH v4 8/8] i2c: designware: Add doorbell support for Skyrim Mario Limonciello
2023-03-13 10:29   ` Jarkko Nikula
2023-03-13 11:34     ` Andy Shevchenko
2023-03-20 19:04   ` Mark Hasemeyer
2023-03-20 19:31     ` Mark Hasemeyer
2023-03-17  3:26 ` [PATCH v4 0/8] Export platform features from ccp driver Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).