From: Marc Zyngier <maz@kernel.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Fuad Tabba <fuad.tabba@linux.dev>,
Mark Brown <broonie@kernel.org>,
Mostafa Saleh <smostafa@google.com>,
Oliver Upton <oupton@kernel.org>,
Sebastian Ene <sebastianene@google.com>,
Sudeep Holla <sudeep.holla@kernel.org>,
Vincent Donnefort <vdonnefort@google.com>,
Wei-Lin Chang <weilin.chang@arm.com>,
Will Deacon <will@kernel.org>,
Steffen Eiden <seiden@linux.ibm.com>,
Joey Gouly <joey.gouly@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
kvmarm@lists.linux.dev, kvm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] KVM/arm64 fixes for 7.2, take #2
Date: Wed, 8 Jul 2026 17:12:42 +0100 [thread overview]
Message-ID: <20260708161242.1912769-1-maz@kernel.org> (raw)
Paolo,
Here's the second drop of KVM/arm64 fixes for 7.2. This time around,
we have a locking issue in kvm_io_bus_get_dev(), which is only used by
arm64, a few S2 page table fixes, a set of FFA proxy fixes for pKVM,
and finally a very esoteric fix for emulation of sign-extended loads
from MMIO. Not only this is rather niche, it dates back to day one of
KVM support for 32bit ARM...
Note that this is on top of the kvmarm-fixes-7.2-1 tag pull request
posted at [1] about 12 days ago.
Please pull,
M.
[1] https://lore.kernel.org/all/20260626133526.817232-1-maz@kernel.org
The following changes since commit d098bb75d14fde2f12155f1a95ec0168160867ce:
KVM: arm64: account pKVM reclaim against the VM mm (2026-06-22 10:48:08 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-7.2-2
for you to fetch changes up to 8d187d4b33c262c0f3e44842553521151d8629e8:
KVM: arm64: Fix propagation of TLBI level in kvm_pgtable_stage2_relax_perms() (2026-07-07 17:43:39 +0100)
----------------------------------------------------------------
KVM/arm64 fixes for 7.2, take #2
- Move locking for kvm_io_bus_get_dev() into the caller, ensuring
race-free checks that the returned object is of the correct type
- Fix initialisation of the page-table walk level when relaxing
permissions
- Correctly update the XN attribute when relaxing permissions
- Fix the sign extension of loads from emulated MMIO regions
- Assorted collection of fixes for pKVM's FFA proxy, together with a
couple of FFA driver adjustments
----------------------------------------------------------------
Fuad Tabba (2):
KVM: arm64: Fix sign-extension of MMIO loads
KVM: arm64: selftests: Add MMIO sign-extending load test
Marc Zyngier (2):
KVM: Move kvm_io_bus_get_dev() locking responsibilities to callers
KVM: arm64: Fix propagation of TLBI level in kvm_pgtable_stage2_relax_perms()
Mostafa Saleh (3):
KVM: arm64: Fix bounds checking in do_ffa_mem_reclaim()
KVM: arm64: Ensure FFA ranges are page aligned
firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()
Oliver Upton (2):
KVM: arm64: Ensure level is always initialized when relaxing perms
KVM: arm64: Only update XN attr when requested during S2 relaxation
Sebastian Ene (3):
KVM: arm64: Validate the offset to the mem access descriptor
KVM: arm64: Zero out the stack initialized data in the FFA handler
firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation
arch/arm64/kvm/hyp/nvhe/ffa.c | 44 ++--
arch/arm64/kvm/hyp/pgtable.c | 15 +-
arch/arm64/kvm/mmio.c | 7 +-
arch/arm64/kvm/vgic/vgic-its.c | 2 +
drivers/firmware/arm_ffa/driver.c | 25 ++-
include/linux/arm_ffa.h | 9 +-
tools/testing/selftests/kvm/Makefile.kvm | 1 +
tools/testing/selftests/kvm/arm64/mmio_sign_ext.c | 255 ++++++++++++++++++++++
virt/kvm/kvm_main.c | 16 +-
9 files changed, 331 insertions(+), 43 deletions(-)
create mode 100644 tools/testing/selftests/kvm/arm64/mmio_sign_ext.c
reply other threads:[~2026-07-08 16:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260708161242.1912769-1-maz@kernel.org \
--to=maz@kernel.org \
--cc=broonie@kernel.org \
--cc=fuad.tabba@linux.dev \
--cc=joey.gouly@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=oupton@kernel.org \
--cc=pbonzini@redhat.com \
--cc=sebastianene@google.com \
--cc=seiden@linux.ibm.com \
--cc=smostafa@google.com \
--cc=sudeep.holla@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=vdonnefort@google.com \
--cc=weilin.chang@arm.com \
--cc=will@kernel.org \
--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