[PATCH v4 00/10] In-kernel PSCI v0.2 emulation for KVM ARM/ARM64

Christoffer Dall christoffer.dall at linaro.org
Sun Mar 16 23:39:26 EDT 2014

On Thu, Feb 06, 2014 at 05:01:32PM +0530, Anup Patel wrote:
> Currently, KVM ARM/ARM64 only provides in-kernel emulation of Power State
> and Coordination Interface (PSCI) v0.1.
> This patchset aims at providing newer PSCI v0.2 for KVM ARM/ARM64 VCPUs
> such that it does not break current KVM ARM/ARM64 ABI. Also, the patchset
> provides emulation of only few PSCI v0.2 functions such as PSCI_VERSION,
> CPU_ON, and CPU_OFF. Emulation of other PSCI v0.2 functions will be added
> later.

This doesn't seem to be true any longer does it?

> The user space tools (i.e. QEMU or KVMTOOL) will have to explicitly enable
> KVM_ARM_VCPU_PSCI_0_2 feature using KVM_ARM_VCPU_INIT ioctl for providing
> PSCI v0.2 to VCPUs.

Besides the stuff you already added, I think you need to also add
returning ALREADY_ON for the CPU_ON call if the VCPU requested is
already on.


More information about the linux-arm-kernel mailing list