Re: [PATCH v5 0/7] KVM: arm64: pKVM stage-2 mapping and memcache fixes

From: Oliver Upton

Date: Fri Jul 31 2026 - 14:52:14 EST


On Fri, 17 Jul 2026 14:03:10 +0100, Fuad Tabba wrote:
> Changes since v4 [1]:
> - Restored the permission-fault and dirty-logging memcache top-ups
> that v4 dropped. Both fix real bugs.
> - Patch 1 uses the anonymous bitfield encoding rather than the
> open-coded mask and helpers. (Marc)
> - Reshaped the permission-fault top-up to stage the full memcache
> under pKVM, not just the mapping object. The object-only form still
> returned -ENOMEM and tripped a WARN under the hypervisor's
> unconditional min-pages check.
> - Re-scoped the dirty-logging top-up to its generic, non-pKVM failure
> mode, now that the permission-fault patch covers pKVM.
> - Added three adjacent fixes found while going through the series, and
> a selftest for the block transitions.
> - Patches 1 and 3 keep Bradley's Signed-off-by from v3; my changes
> to each are noted in a [tabba: ...] line.
>
> [...]

Applied to next, thanks!

[1/7] KVM: arm64: Skip cache maintenance for non-cacheable pKVM mappings
https://git.kernel.org/kvmarm/kvmarm/c/fff4eb33ffa0
[2/7] KVM: arm64: Top up the memcache for pKVM permission faults
https://git.kernel.org/kvmarm/kvmarm/c/6bf0215c565e
[3/7] KVM: arm64: Top up stage-2 memcache for dirty logging faults
https://git.kernel.org/kvmarm/kvmarm/c/56fd1fc526e6
[4/7] KVM: arm64: Skip pKVM stage-2 flush when FWB is enabled
https://git.kernel.org/kvmarm/kvmarm/c/1feb9f6af895
[5/7] KVM: arm64: Don't WARN on pKVM stage-2 map failures
https://git.kernel.org/kvmarm/kvmarm/c/c24322270169
[6/7] KVM: arm64: Don't advertise eager page splitting under pKVM
https://git.kernel.org/kvmarm/kvmarm/c/c6f308b4d341
[7/7] KVM: arm64: selftests: Add stage-2 block transition test
https://git.kernel.org/kvmarm/kvmarm/c/979ae12a2d09

--
Best,
Oliver