diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2022-04-26 18:58:08 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:29 -0500 |
| commit | 3f270638e1fdea74f791b59382169edb9793fb3a (patch) | |
| tree | 161310eaba1f5554821d8a4ccc48e7a6cef64e06 /tools/perf/scripts/python/flamegraph.py | |
| parent | 084afb615c7546b40b6d007a93505153b6b14640 (diff) | |
| download | cachepc-linux-3f270638e1fdea74f791b59382169edb9793fb3a.tar.gz cachepc-linux-3f270638e1fdea74f791b59382169edb9793fb3a.zip | |
KVM: SVM: Add support to handle MSR based Page State Change VMGEXIT
SEV-SNP VMs can ask the hypervisor to change the page state in the RMP
table to be private or shared using the Page State Change MSR protocol
as defined in the GHCB specification.
Before changing the page state in the RMP entry, lookup the page in the
NPT to make sure that there is a valid mapping for it. If the mapping
exist then try to find a workable page level between the NPT and RMP for
the page. If the page is not mapped in the NPT, then create a fault such
that it gets mapped before we change the page state in the RMP entry.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
