From 13c11c70dc598ff98033ad221bbe276edc0a957f Mon Sep 17 00:00:00 2001 From: yangdepei Date: Tue, 11 Mar 2025 15:24:18 +0800 Subject: [PATCH] hct: fix build err once VFIO disabled hygon inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBSDQ0 -------------------------------- we need disable HCT build once VFIO has been disabled. Fixes: c74ae2c5da57 ("hct: add mediated ccp driver support for hygon crypto technology.") Signed-off-by: yangdepei --- drivers/crypto/ccp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig index 7061e77ac598..7d2c386127d3 100644 --- a/drivers/crypto/ccp/Kconfig +++ b/drivers/crypto/ccp/Kconfig @@ -92,6 +92,7 @@ config CRYPTO_DEV_HCT tristate "HCT CCP device" default m depends on X86_64 + depends on VFIO select VFIO_MDEV help Provides hygon crypto technology ccp device driver. -- Gitee