public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	Jingyu Wang <jingyuwang_vip@163.com>,
	Mark Brown <broonie@kernel.org>,
	Mukesh Ojha <quic_mojha@quicinc.com>,
	Oliver Upton <oliver.upton@linux.dev>,
	Zenghui Yu <yuzenghui@huawei.com>,
	James Morse <james.morse@arm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	kvmarm@lists.linux.dev, kvm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] KVM/arm64 fixes for 6.4, take #1
Date: Thu, 11 May 2023 15:36:38 +0100	[thread overview]
Message-ID: <20230511143638.350228-1-maz@kernel.org> (raw)

Paolo,

Here's a first set of fixes, most of which has been simmering in -next
for some time now. The most important one is a series from Oliver,
plugging a (hard to trigger) race that would result in the wrong
mapping being established at S2.

The rest is a bunch of cleanups and HW workarounds (the usual Apple
vgic issue that keeps cropping up on new SoCs).

Please pull,

       M.

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.4-1

for you to fetch changes up to c3a62df457ff9ac8c77efe6d1eca2855d399355d:

  Merge branch kvm-arm64/pgtable-fixes-6.4 into kvmarm-master/fixes (2023-05-11 15:26:01 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.4, take #1

- Plug a race in the stage-2 mapping code where the IPA and the PA
  would end up being out of sync

- Make better use of the bitmap API (bitmap_zero, bitmap_zalloc...)

- FP/SVE/SME documentation update, in the hope that this field
  becomes clearer...

- Add workaround for the usual Apple SEIS brokenness

- Random comment fixes

----------------------------------------------------------------
Christophe JAILLET (2):
      KVM: arm64: Slightly optimize flush_context()
      KVM: arm64: Use the bitmap API to allocate bitmaps

Jingyu Wang (1):
      KVM: arm64: Fix repeated words in comments

Marc Zyngier (4):
      KVM: arm64: Constify start/end/phys fields of the pgtable walker data
      KVM: arm64: vgic: Add Apple M2 PRO/MAX cpus to the list of broken SEIS implementations
      Merge branch kvm-arm64/misc-6.4 into kvmarm-master/fixes
      Merge branch kvm-arm64/pgtable-fixes-6.4 into kvmarm-master/fixes

Mark Brown (3):
      KVM: arm64: Document check for TIF_FOREIGN_FPSTATE
      KVM: arm64: Restructure check for SVE support in FP trap handler
      KVM: arm64: Clarify host SME state management

Oliver Upton (2):
      KVM: arm64: Infer the PA offset from IPA in stage-2 map walker
      KVM: arm64: Infer PA offset from VA in hyp map walker

 arch/arm64/include/asm/cputype.h        |  8 +++++++
 arch/arm64/include/asm/kvm_pgtable.h    |  1 +
 arch/arm64/kvm/fpsimd.c                 | 26 +++++++++++++--------
 arch/arm64/kvm/hyp/include/hyp/switch.h | 12 ++++++++--
 arch/arm64/kvm/hyp/pgtable.c            | 41 +++++++++++++++++++++++++--------
 arch/arm64/kvm/inject_fault.c           |  2 +-
 arch/arm64/kvm/vgic/vgic-v3.c           |  4 ++++
 arch/arm64/kvm/vmid.c                   |  7 +++---
 8 files changed, 76 insertions(+), 25 deletions(-)

             reply	other threads:[~2023-05-11 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 14:36 Marc Zyngier [this message]
2023-05-17 17:35 ` [GIT PULL] KVM/arm64 fixes for 6.4, take #1 Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230511143638.350228-1-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=broonie@kernel.org \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=james.morse@arm.com \
    --cc=jingyuwang_vip@163.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=oliver.upton@linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=quic_mojha@quicinc.com \
    --cc=suzuki.poulose@arm.com \
    --cc=yuzenghui@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox