+23
−0
arch/x86/include/asm/processor-hygon.h
0 → 100644
+23
−0
+2
−0
arch/x86/mm/mem_encrypt_hygon.c
0 → 100644
+16
−0
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I98NP1 CVE: NA --------------------------- Provide CONFIG_HYGON_CSV to the arch/x86/Kconfig, and build HYGON's specific memory encryption support into the kernel when CONFIG_HYGON_CSV=y. Besides, add arch/x86/include/asm/processor-hygon.h to contains helpers to determine the Hygon CPUs so that we can call functions specific to CSV in the native code and reduce code intruision. Signed-off-by:hanliyang <hanliyang@hygon.cn>