From: Marc Zyngier <maz@kernel.org>
To: Jens Neubert <10jens@web.de>
Cc: kvm@vger.kernel.org, pbonzini@redhat.com
Subject: Re: Bug Report Linux kvm/qemu: Frequent Boot Issues with Windows 11 ARM64 VMs on NVIDIA DGX Spark due to Potential KVM PMU Migration Issues
Date: Mon, 23 Nov 2026 09:39:03 +0000 [thread overview]
Message-ID: <86ld6jzy2w.wl-maz@kernel.org> (raw)
In-Reply-To: <af150d64-feff-4ef0-905a-14ab55b074fa@web.de>
On Mon, 23 Nov 2026 09:07:00 +0000,
Jens Neubert <10jens@web.de> wrote:
>
> Hello,
>
> I am experiencing frequent boot failures when starting Windows 11
> ARM64 VMs on an NVIDIA DGX Spark system with a heterogeneous CPU
> topology (Cortex-A725 and Cortex-X925 clusters).
> The failures can consistently be resolved by pinning the vCPU threads
> to a single CPU cluster (using taskset), which points to a PMU
> migration issue between clusters with different PMU types.
> I suspect a KVM bug where the PMU state (specifically PMCCNTR) is not
> handled correctly when a vCPU thread migrates between physical CPUs
> with different PMU architecture versions.
Not a bug. Actually a feature.
Different implementations have different events, and an event count on
one CPU type doesn't mean the same thing on another. Therefore,
migrating between PMUs is not supposed to work, and KVM makes a point
in honouring the stupidity of the architecture (and of the
implementations that lob two incompatible designs together).
There is a vague plan to allow incompatible PMUs to be used by
limiting them to the cycle counter only, but I haven't looked at the
patches (life is too short for heterogeneous systems).
Pinning threads to a single implementation is the correct approach.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2026-11-23 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <af150d64-feff-4ef0-905a-14ab55b074fa@web.de>
2026-11-23 9:18 ` Bug Report Linux kvm/qemu: Frequent Boot Issues with Windows 11 ARM64 VMs on NVIDIA DGX Spark due to Potential KVM PMU Migration Issues Jens Neubert
2026-11-23 9:39 ` Marc Zyngier [this message]
2026-11-23 9:59 ` Jens Neubert
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=86ld6jzy2w.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=10jens@web.de \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.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