Skip to content

Commit 7dfbe9a

Browse files
committed
crypto/ccp: Fix CONFIG_PCI=n build
It turns out that the PCI driver for ccp is unconditionally built into the kernel in the CONFIG_PCI=y case. This means that the new SEV-TIO support needs an explicit dependency on PCI to avoid build errors when CONFIG_CRYPTO_DEV_SP_PSP=y and CONFIG_PCI=n. Reported-by: kernel test robot <lkp@intel.com> Closes: http://lore.kernel.org/202512030743.6pVPA4sx-lkp@intel.com Cc: Alexey Kardashevskiy <aik@amd.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: John Allen <john.allen@amd.com> Acked-by: Alexey Kardashevskiy <aik@amd.com> Link: https://patch.msgid.link/20251203031948.2471431-1-dan.j.williams@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 3116070 commit 7dfbe9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/crypto/ccp/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ config CRYPTO_DEV_SP_PSP
3939
bool "Platform Security Processor (PSP) device"
4040
default y
4141
depends on CRYPTO_DEV_CCP_DD && X86_64 && AMD_IOMMU
42-
select PCI_TSM
42+
select PCI_TSM if PCI
4343
help
4444
Provide support for the AMD Platform Security Processor (PSP).
4545
The PSP is a dedicated processor that provides support for key

0 commit comments

Comments
 (0)