arch/x86/include/asm/csv.h
0 → 100644
+53
−0
+11
−0
+4
−1
+404
−0
Loading
!9955 [OLK-6.6]HYGON: CSV3 patch series part 1 (Secure memory management and initialization for CSV3) Merge Pull Request from: @hanliyang CSV3 patch series part 1 (Secure memory management and initialization for CSV3) issue: https://gitee.com/open_euler/dashboard?issue_id=IAD13S CSV3 provides an enhancement technology named memory isolation to improve the security. A dedicated memory isolation hardware is built in Hygon hardware. Only the secure processor has privilege to configure the isolation hardware. The VMM allocates CMA memory and transfers them to secure processor. The secure processor maps the memory to secure nested page table and manages them as guest's private memory. Any memory access (read or write) to CSV3 guest's private memory outside the guest will be blocked by isolation hardware. Hygon CSV3 make use of the Linux kernel's CMA feature to support contiguous memory allocations and deallocations. This patch series introduce command identifier for CSV3, and provide code to support secure memory initialization and management for CSV3. Link:https://gitee.com/openeuler/kernel/pulls/9955 Reviewed-by:Kevin Zhu <zhukeqian1@huawei.com> Reviewed-by:
Zhang Peng <zhangpeng362@huawei.com> Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>