mbox series

[GIT,PULL] KVM/arm64 fixes for 6.3, part #4

Message ID ZD+lOl+5tNywC5Vu@thinky-boi (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 6.3, part #4 | expand

Pull-request

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

Message

Oliver Upton April 19, 2023, 8:24 a.m. UTC
Paolo,

I tempted fate with my prior pull stating that it was likely the last.
So here we are. A single, critical fix to protect vCPU flags updates
(which are non-atomic) against preemption, as that'd muck with the vCPU
flags.

If you're busy this week and unable to button this up in a pull to
Linus then please let me know, as we really want this to get in before
6.3 is wrapped up.

Please pull,

Oliver

The following changes since commit e81625218bf7986ba1351a98c43d346b15601d26:

  KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs (2023-04-04 15:52:06 +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-4

for you to fetch changes up to 35dcb3ac663a16510afc27ba2725d70c15e012a5:

  KVM: arm64: Make vcpu flag updates non-preemptible (2023-04-18 17:08:09 +0000)

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

 - Protect non-atomic RMW operations on vCPU flags against preemption,
   as an update to the flags by an intervening preemption could be lost.

----------------------------------------------------------------
Marc Zyngier (1):
      KVM: arm64: Make vcpu flag updates non-preemptible

 arch/arm64/include/asm/kvm_host.h | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)