1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/crypto
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
..
allwinner This update includes the following changes: 2024-11-19 10:28:41 -08:00
amcc crypto: crypto4xx - use devm in probe 2024-10-19 08:44:30 +08:00
amlogic crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
axis crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
bcm crypto: bcm - Drop unused setting of local 'ptr' variable 2025-01-14 11:31:13 +08:00
caam crypto: caam - use JobR's space to access page 0 regs 2024-12-10 13:44:20 +08:00
cavium crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-11-15 19:52:51 +08:00
ccp crypto: ccp: Add external API interface for PSP module initialization 2025-02-14 18:39:19 -05:00
ccree crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
chelsio crypto: drivers - Correct multiple typos in comments 2024-10-05 13:22:05 +08:00
gemini crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
hisilicon crypto: hisilicon/qm - support new function communication 2025-01-14 11:31:13 +08:00
inside-secure module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
marvell module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
nx crypto: nx - Fix invalid wait context during kexec reboot 2024-10-28 18:32:40 +08:00
qce crypto: qce - revert "use __free() for a buffer that's always freed" 2024-12-21 22:46:24 +08:00
rockchip This update includes the following changes: 2024-11-19 10:28:41 -08:00
starfive crypto: starfive - remove unneeded crypto_engine_stop() call 2024-10-28 18:33:11 +08:00
stm32 This update includes the following changes: 2024-11-19 10:28:41 -08:00
tegra crypto: tegra - do not transfer req when tegra init fails 2024-12-10 13:44:20 +08:00
virtio crypto: virtio - Drop sign/verify operations 2024-10-05 13:22:04 +08:00
xilinx crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-aes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-aes.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-authenc.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
atmel-ecc.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-i2c.c crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-sha.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
atmel-sha204a.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-tdes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-tdes.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
exynos-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
geode-aes.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
geode-aes.h crypto: geode-aes - convert to skcipher API and make thread-safe 2019-10-23 19:46:56 +11:00
hifn_795x.c crypto: hifn_795x - Remove unused hifn_*_command structs 2024-05-31 17:34:56 +08:00
img-hash.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
Kconfig crypto: n2 - remove Niagara2 SPU driver 2024-12-14 17:21:43 +08:00
Makefile crypto: n2 - remove Niagara2 SPU driver 2024-12-14 17:21:43 +08:00
mxs-dcp.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
omap-aes-gcm.c crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-aes.c crypto: omap - switch from scatter_walk to plain offset 2025-01-14 11:38:32 +08:00
omap-aes.h crypto: omap - switch from scatter_walk to plain offset 2025-01-14 11:38:32 +08:00
omap-crypto.c crypto: omap - Avoid redundant copy when using truncated sg list 2021-08-21 15:44:53 +08:00
omap-crypto.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-des.c crypto: omap - switch from scatter_walk to plain offset 2025-01-14 11:38:32 +08:00
omap-sham.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
padlock-aes.c crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
padlock-sha.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
qcom-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
s5p-sss.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
sa2ul.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
sa2ul.h crypto: sa2ul - change unsafe data size limit to 255 bytes 2023-05-19 16:45:43 +08:00
sahara.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.h crypto: talitos - Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-10-21 19:05:24 +08:00