From: Eric Auger <eric.auger@redhat.com>
To: Sebastian Ott <sebott@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, kvm@vger.kernel.org,
kvmarm@lists.linux.dev
Subject: Re: [PATCH v4 0/2] arm: add kvm-psci-version vcpu property
Date: Wed, 21 Jan 2026 10:39:16 +0100 [thread overview]
Message-ID: <5fbdeab4-d8b2-487f-89e6-fb00037e5773@redhat.com> (raw)
In-Reply-To: <20251202160853.22560-1-sebott@redhat.com>
Hi Sebastian,
On 12/2/25 5:08 PM, Sebastian Ott wrote:
> This series adds a vcpu knob to request a specific PSCI version
> from KVM via the KVM_REG_ARM_PSCI_VERSION FW register.
>
> The use case for this is to support migration between host kernels
> that differ in their default (a.k.a. most recent) PSCI version.
>
> Note: in order to support PSCI v0.1 we need to drop vcpu
> initialization with KVM_CAP_ARM_PSCI_0_2 in that case.
> Alternatively we could limit support to versions >=0.2 .
>
> Changes since V3 [3]:
> * changed variable name as requested by Eric
> * added R-B
> Changes since V2 [2]:
> * fix kvm_get_psci_version() when the prop is not specified - thanks Eric!
> * removed the assertion in kvm_get_psci_version() so that this also works
> with a future kernel/psci version
> * added R-B
> Changes since V1 [1]:
> * incorporated feedback from Peter and Eric
>
> [1] https://lore.kernel.org/kvmarm/20250911144923.24259-1-sebott@redhat.com/
> [2] https://lore.kernel.org/kvmarm/20251030165905.73295-1-sebott@redhat.com/
> [3] https://lore.kernel.org/kvmarm/20251112181357.38999-1-sebott@redhat.com/
>
> Sebastian Ott (2):
> target/arm/kvm: add constants for new PSCI versions
> target/arm/kvm: add kvm-psci-version vcpu property
>
> docs/system/arm/cpu-features.rst | 5 +++
> target/arm/cpu.h | 6 +++
> target/arm/kvm-consts.h | 2 +
> target/arm/kvm.c | 64 +++++++++++++++++++++++++++++++-
> 4 files changed, 76 insertions(+), 1 deletion(-)
>
Feel free to add my
Tested-by: Eric Auger <eric.auger@redhat.com>
I was able to migrate from a host featuring "KVM: arm64: Add support for
PSCI v1.2 and v1.3" to an "old" one that doesn't using
,kvm-psci-version=1.1
Thanks
Eric
prev parent reply other threads:[~2026-01-21 9:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 16:08 [PATCH v4 0/2] arm: add kvm-psci-version vcpu property Sebastian Ott
2025-12-02 16:08 ` [PATCH v4 1/2] target/arm/kvm: add constants for new PSCI versions Sebastian Ott
2025-12-18 7:56 ` Stefan Weil
2025-12-02 16:08 ` [PATCH v4 2/2] target/arm/kvm: add kvm-psci-version vcpu property Sebastian Ott
2026-02-06 14:59 ` Peter Maydell
2026-02-11 15:37 ` Sebastian Ott
2026-02-11 15:43 ` Peter Maydell
2026-02-11 16:04 ` Sebastian Ott
2026-02-16 13:30 ` Peter Maydell
2026-02-20 12:12 ` Sebastian Ott
2025-12-18 10:47 ` [PATCH v4 0/2] arm: " Sebastian Ott
2026-01-21 9:39 ` Eric Auger [this message]
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=5fbdeab4-d8b2-487f-89e6-fb00037e5773@redhat.com \
--to=eric.auger@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sebott@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