Re: [PATCH v2] KVM: arm64: PMU: Restore the guest's EL0 event counting after migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 28 Mar 2023 19:39:44 -0700, Reiji Watanabe wrote:
> Currently, with VHE, KVM enables the EL0 event counting for the
> guest on vcpu_load() or KVM enables it as a part of the PMU
> register emulation process, when needed.  However, in the migration
> case (with VHE), the same handling is lacking, as vPMU register
> values that were restored by userspace haven't been propagated yet
> (the PMU events haven't been created) at the vcpu load-time on the
> first KVM_RUN (kvm_vcpu_pmu_restore_guest() called from vcpu_load()
> on the first KVM_RUN won't do anything as events_{guest,host} of
> kvm_pmu_events are still zero).
> 
> [...]

Applied to kvmarm/fixes, thanks!

[1/1] KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
      https://git.kernel.org/kvmarm/kvmarm/c/f9ea835e99bc

--
Best,
Oliver



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux