+1
−1
Loading
Merge Pull Request from: @yuzhang_intel Title: Add KVM TDP MMU new refactor code after 5.15 Content: This PR is to add KVM TDP MMU new refactor code to openEuler-22.03-LTS-SP4. The major changes in this PR include: - TDP MMU related fixes/optimizations - KVM MMU unloading optimizations(to greatly reduce the chances of KVM MMU unloading for TDP MMU) - New workflows of KVM MMU page fault handling - Memslot related optimizations - TLB invalidation improvements - Dirty logging optimization(eager page splitting) - NX hugepage mitigation optimizations - MISC fixes and cleanups The conflicts are mostly due to lack of upstreaming features such as: - Static calls for kvm_x86_ops - Scalable memslot - MISC shadow MMU refactors Intel-kernel issue: https://gitee.com/openeuler/intel-kernel/issues/I9HH9U Test: Run all KVM selftest cases and kvm-unit-test for branch intel/OLK-tdp-mmu-new-refactors-5.10 on Skylake server, w/ and w/o TDP MMU enabled, no new failure found. Known issue: Latest code has already integrated with the changes of KVM dirty-ring (https://gitee.com/openeuler/kernel/pulls/5545). And all tests have be re-performed, no new failure found. Default config change: N/A Link:https://gitee.com/openeuler/kernel/pulls/7110 Reviewed-by:Jason Zeng <jason.zeng@intel.com> Reviewed-by:
Kevin Zhu <zhukeqian1@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>