+18
−0
+2
−0
arch/x86/kernel/csv.c
0 → 100644
+49
−0
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYGKY CVE: NA --------------------------- The functions are needed to set memory as private/shared memory or reset all memory as private memory at the stage where the identity mapping page table is available. Generally, at early runtime of the decompressed kernel, it needs to obtain CSV3 secure call pages then reset all memory as private before switching to new kernel page table. Otherwise, prior shared memory regions will be wrongly used and private data in guest may be accessed maliciously. Signed-off-by:Xin Jiang <jiangxin@hygon.cn> Signed-off-by:
hanliyang <hanliyang@hygon.cn>