summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2022-04-26 18:27:38 +0000
committerSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-07-13 17:27:28 -0500
commit078d6dae15511b67f4f92b921cb5e05757fbde31 (patch)
treef10cfeae9ee06212888c80c771468be649c59687 /tools/perf/scripts/python
parent56149c8c43b691cd3a1a9850220a35c3a557591f (diff)
downloadcachepc-linux-078d6dae15511b67f4f92b921cb5e05757fbde31.tar.gz
cachepc-linux-078d6dae15511b67f4f92b921cb5e05757fbde31.zip
KVM: SVM: Disallow registering memory range from HugeTLB for SNP guest
While creating the VM, userspace call the KVM_MEMORY_ENCRYPT_REG_REGION ioctl to register the memory regions for the guest. This registered memory region is typically used as a guest RAM. Later, the guest may issue the page state change (PSC) request that will require splitting the large page into smaller page. If the memory is allocated from the HugeTLB then hypervisor will not be able to split it. Do not allow registering the memory range backed by the HugeTLB until the hypervisor support is added to handle the case. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions