2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/crypto/ccp
Sean Christopherson 435b344a70 crypto: ccp: Add external API interface for PSP module initialization
KVM is dependent on the PSP SEV driver and PSP SEV driver needs to be
loaded before KVM module. In case of module loading any dependent
modules are automatically loaded but in case of built-in modules there
is no inherent mechanism available to specify dependencies between
modules and ensure that any dependent modules are loaded implicitly.

Add a new external API interface for PSP module initialization which
allows PSP SEV driver to be loaded explicitly if KVM is built-in.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Co-developed-by: Ashish Kalra <ashish.kalra@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-ID: <15279ca0cad56a07cf12834ec544310f85ff5edc.1739226950.git.ashish.kalra@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-02-14 18:39:19 -05:00
..
ccp-crypto-aes-cmac.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto-aes-galois.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto-aes-xts.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto-aes.c crypto: ccp - Remove cfb and ofb 2023-12-08 11:59:46 +08:00
ccp-crypto-des3.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto-main.c crypto: ccp - Use request_complete helpers 2023-02-13 18:34:49 +08:00
ccp-crypto-rsa.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto-sha.c crypto: ccp - Set DMA alignment explicitly 2022-12-09 18:45:00 +08:00
ccp-crypto.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ccp-debugfs.c crypto: ccp - Switch to SPDX license identifiers 2019-07-03 22:13:12 +08:00
ccp-dev-v3.c crypto: ccp - Make use of the helper macro kthread_run() 2021-10-29 21:04:04 +08:00
ccp-dev-v5.c crypto: ccp - Make use of the helper macro kthread_run() 2021-10-29 21:04:04 +08:00
ccp-dev.c crypto: ccp - no need to initialise statics to 0 2021-11-20 15:06:38 +11:00
ccp-dev.h crypto: ccp - fix typo in comment 2022-06-10 16:40:18 +08:00
ccp-dmaengine.c crypto: ccp - Failure on re-initialization due to duplicate sysfs filename 2023-01-20 18:29:31 +08:00
ccp-ops.c crypto: ccp - fix memleak in ccp_init_dm_workarea 2023-12-08 11:45:27 +08:00
dbc.c crypto: ccp - Use scoped guard for mutex 2024-12-14 17:21:43 +08:00
dbc.h crypto: ccp - Add support for DBC over PSP mailbox 2023-09-15 18:29:46 +08:00
hsti.c crypto: ccp - Move message about TSME being enabled later in init 2024-06-07 19:46:39 +08:00
hsti.h crypto: ccp - Add support for getting security attributes on some older systems 2024-06-07 19:46:39 +08:00
Kconfig crypto: ccp - Have it depend on AMD_IOMMU 2024-02-13 12:21:15 +01:00
Makefile crypto: ccp - Move security attributes to their own file 2024-06-07 19:46:39 +08:00
platform-access.c crypto: ccp - Avoid discarding errors in psp_send_platform_access_msg() 2024-02-24 08:41:20 +08:00
platform-access.h crypto: ccp - Add support for ringing a platform doorbell 2023-03-17 11:16:43 +08:00
psp-dev.c crypto: ccp - Move message about TSME being enabled later in init 2024-06-07 19:46:39 +08:00
psp-dev.h crypto: ccp - Add support for getting security attributes on some older systems 2024-06-07 19:46:39 +08:00
sev-dev.c sev-dev: avoid pointless cred reference count bump 2024-12-02 11:25:10 +01:00
sev-dev.h crypto: ccp: Handle legacy SEV commands when SNP is enabled 2024-01-29 20:34:18 +01:00
sp-dev.c crypto: ccp: Add external API interface for PSP module initialization 2025-02-14 18:39:19 -05:00
sp-dev.h crypto: ccp - Remove unused declaration sp_get_master() 2024-08-30 18:22:31 +08:00
sp-pci.c crypto: ccp - Add support for getting security attributes on some older systems 2024-06-07 19:46:39 +08:00
sp-platform.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
tee-dev.c crypto: ccp - Move direct access to some PSP registers out of TEE 2023-09-15 18:29:45 +08:00
tee-dev.h crypto: ccp - Move direct access to some PSP registers out of TEE 2023-09-15 18:29:45 +08:00