arch/x86/kernel/csv-shared.c
0 → 100644
+208
−0
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYGKY CVE: NA --------------------------- CSV3 secure call is a method to communicate with the dedicated secure processor that host cannot tamper with. We declare two dedicated pages named secure call pages to hold the command which guest wants to send to the secure processor. The secure processor always sets only one page of the two as present in nested page table. Read/write action on the two pages will triger NPF then host must issue an external command to the secure processor. The secure processor gets the guest's command if the fault address is secure call page. CSV3 secure call command is used to set specified memory as shared or private in usual. Signed-off-by:Xin Jiang <jiangxin@hygon.cn> Signed-off-by:
hanliyang <hanliyang@hygon.cn>