summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/callchain.h
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-07-09 16:25:51 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-07-09 16:25:51 +0800
commitb4ba157044ea433a66126603ad7140e12dbc794b (patch)
tree57e1e54b36213e391cea34a7aebc7a9883164b76 /arch/powerpc/perf/callchain.h
parentd7ad41a31d91abd01a4d9b040074d808899636ea (diff)
downloadlinux-b4ba157044ea433a66126603ad7140e12dbc794b.tar.gz
linux-b4ba157044ea433a66126603ad7140e12dbc794b.tar.bz2
linux-b4ba157044ea433a66126603ad7140e12dbc794b.zip
LoongArch: KVM: Add PV steal time support in host side
Add ParaVirt steal time feature in host side, VM can search supported features provided by KVM hypervisor, a feature KVM_FEATURE_STEAL_TIME is added here. Like x86, steal time structure is saved in guest memory, one hypercall function KVM_HCALL_FUNC_NOTIFY is added to notify KVM to enable this feature. One CPU attr ioctl command KVM_LOONGARCH_VCPU_PVTIME_CTRL is added to save and restore the base address of steal time structure when a VM is migrated. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/powerpc/perf/callchain.h')
0 files changed, 0 insertions, 0 deletions