Skip to content

PSCI system off and reset for KVM ARM/ARM64

Paolo Bonzini linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 2 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] PSCI system off and reset for KVM ARM/ARM64

Il 18/12/2013 21:38, Christoffer Dall ha scritto:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

So I think we need to:
- Use the new range for PSCI v0.2 (while still supporting v0.1 and the old range)
- Get the kernel and DT bindings into shape
- Merge all of that at the same time

Quoted 6 lines

Don't we also need a way for user space to tell KVM if it should emulate v0.1 or v0.2 of PSCI so we don't break backwards compatibility with tools that spit out a device tree and use guest kernels based on v0.1?

This could be a new feature for KVM_ARM_VCPU_INIT, but perhaps it should be something on the VM level, hmmm.

You can use KVM_ENABLE_CAP. It is currently documented as a VCPU ioctl, but you can reuse it for VMs. However, it is best if you also add a new capability KVM_CAP_VM_ENABLE_CAP. Then rename the old KVM_CAP_ENABLE_CAP to KVM_CAP_VCPU_ENABLE_CAP, while leaving the old name for backwards compatibility.

Paolo