Loading
x86/boot/compressed/64: Add CSV3 update page attr(private/shared)
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYGKY CVE: NA --------------------------- The function is needed to set encrypted page as private or set decrypted page as shared at the stage where identity page table is created. By default, all memory is set as private. CSV3 guest's NPT is managed by the secure processor. The secure processor must perform the correct action for private/shared memory. The secure processor manages the guest's secure isolated memory which cannot be accessed by other guest or host. As CSV3 feaure, CSV3 guest's encrypted memory maps to secure isolated memory and decrypted memory which is shared with host maps to normal memory. At the stage of kernel decompressing, only GHCB page is set as shared. Signed-off-by:Xin Jiang <jiangxin@hygon.cn> Signed-off-by:
hanliyang <hanliyang@hygon.cn>