diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2022-04-26 19:14:13 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:30 -0500 |
| commit | a825deeed48c8946a5319f31b385d64cc6c3d720 (patch) | |
| tree | 79e62b2bf4073ea1495afd0107cd3666fd5c37f2 /tools/perf/scripts/python | |
| parent | 20986a62aa60425ec5dc6c7a163e07217d6f11d0 (diff) | |
| download | cachepc-linux-a825deeed48c8946a5319f31b385d64cc6c3d720.tar.gz cachepc-linux-a825deeed48c8946a5319f31b385d64cc6c3d720.zip | |
KVM: x86: Export the kvm_zap_gfn_range() for the SNP use
While resolving the RMP page fault, we may run into cases where the page
level between the RMP entry and TDP does not match and the 2M RMP entry
must be split into 4K RMP entries. Or a 2M TDP page need to be broken
into multiple of 4K pages.
To keep the RMP and TDP page level in sync, we will zap the gfn range
after splitting the pages in the RMP entry. The zap should force the
TDP to gets rebuilt with the new page level.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
