Commit 6199dbe5 authored by hanliyang's avatar hanliyang
Browse files

x86/Kconfig: Select CONFIG_CMA if CONFIG_HYGON_CSV=y

hygon inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IBBNJI


CVE: NA

---------------------------

The Hygon CSV3 use CMA to manage CSV3 guest's private memory. If the
CONFIG_HYGON_CSV is enabled, then enable CONFIG_CMA automatically.

Signed-off-by: default avatarhanliyang <hanliyang@hygon.cn>
parent 9ecfe480
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2075,6 +2075,7 @@ config HYGON_CSV
	bool "Hygon secure virtualization CSV support"
	default y
	depends on CPU_SUP_HYGON && AMD_MEM_ENCRYPT
	select CONFIG_CMA
	help
	  Hygon CSV integrates secure processor, memory encryption and
	  memory isolation to provide the ability to protect guest's private