public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 6.3, part #3
@ 2023-04-05 16:12 Oliver Upton
  2023-04-06 17:35 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Upton @ 2023-04-05 16:12 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Marc Zyngier, Fuad Tabba, Reiji Watanabe, James Morse,
	Suzuki K Poulose, Zenghui Yu, kvmarm, kvm

Hi Paolo,

Sending out what is likely the last batch of fixes for 6.3. Most
noteworthy is the PMU fix, as Reiji found that events counting in guest
userspace stopped working after live migration on VHE systems.
Additionally, Fuad found that pKVM was underselling the Spectre/Meltdown
mitigation state to protected VMs, so we have a fix for that too.

Also, FYI, Marc will reprise his role for the 6.4 kernel. Nothing is
set in stone but the working model is that we'll alternate the
maintainer duties each kernel release.

Please pull,

Oliver

The following changes since commit 8c2e8ac8ad4be68409e806ce1cc78fc7a04539f3:

  KVM: arm64: Check for kvm_vma_mte_allowed in the critical section (2023-03-16 23:42:56 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.3-3

for you to fetch changes up to e81625218bf7986ba1351a98c43d346b15601d26:

  KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs (2023-04-04 15:52:06 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 6.3, part #3

 - Ensure the guest PMU context is restored before the first KVM_RUN,
   fixing an issue where EL0 event counting is broken after vCPU
   save/restore

 - Actually initialize ID_AA64PFR0_EL1.{CSV2,CSV3} based on the
   sanitized, system-wide values for protected VMs

----------------------------------------------------------------
Fuad Tabba (1):
      KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs

Reiji Watanabe (1):
      KVM: arm64: PMU: Restore the guest's EL0 event counting after migration

 arch/arm64/kvm/arm.c                           | 26 +++++++++++++++++++++++++-
 arch/arm64/kvm/hyp/include/nvhe/fixed_config.h |  5 ++++-
 arch/arm64/kvm/hyp/nvhe/sys_regs.c             |  7 -------
 arch/arm64/kvm/pmu-emul.c                      |  1 +
 arch/arm64/kvm/sys_regs.c                      |  1 -
 5 files changed, 30 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-06 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 16:12 [GIT PULL] KVM/arm64 fixes for 6.3, part #3 Oliver Upton
2023-04-06 17:35 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox