summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/hygon.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-04-14 14:35:41 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-07 06:05:36 -0400
commit8b79feffeca28c5459458fe78676b081e87c93a4 (patch)
tree3a57061527094f12520280e68a545ac85963272d /arch/x86/kernel/cpu/hygon.c
parent0a269a008f837e76ce285679ab3005059fadc2a6 (diff)
downloadlinux-8b79feffeca28c5459458fe78676b081e87c93a4.tar.bz2
x86/kvm: Teardown PV features on boot CPU as well
Various PV features (Async PF, PV EOI, steal time) work through memory shared with hypervisor and when we restore from hibernation we must properly teardown all these features to make sure hypervisor doesn't write to stale locations after we jump to the previously hibernated kernel (which can try to place anything there). For secondary CPUs the job is already done by kvm_cpu_down_prepare(), register syscore ops to do the same for boot CPU. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20210414123544.1060604-3-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/cpu/hygon.c')
0 files changed, 0 insertions, 0 deletions