Re: [PATCH] target/arm: Report KVM's actual PSCI version to guest in dtb

2022-02-28 Thread Andrew Jones
On Thu, Feb 24, 2022 at 01:46:54PM +, Peter Maydell wrote: > When we're using KVM, the PSCI implementation is provided by the > kernel, but QEMU has to tell the guest about it via the device tree. > Currently we look at the KVM_CAP_ARM_PSCI_0_2 capability to determine > if the kernel is

Re: [PATCH] target/arm: Report KVM's actual PSCI version to guest in dtb

2022-02-24 Thread Richard Henderson
On 2/24/22 03:46, Peter Maydell wrote: When we're using KVM, the PSCI implementation is provided by the kernel, but QEMU has to tell the guest about it via the device tree. Currently we look at the KVM_CAP_ARM_PSCI_0_2 capability to determine if the kernel is providing at least PSCI 0.2, but if

Re: [PATCH] target/arm: Report KVM's actual PSCI version to guest in dtb

2022-02-24 Thread Akihiko Odaki
Reviewed-by: Akihiko Odaki On Thu, Feb 24, 2022 at 10:46 PM Peter Maydell wrote: > > When we're using KVM, the PSCI implementation is provided by the > kernel, but QEMU has to tell the guest about it via the device tree. > Currently we look at the KVM_CAP_ARM_PSCI_0_2 capability to determine >

Re: [PATCH] target/arm: Report KVM's actual PSCI version to guest in dtb

2022-02-24 Thread Marc Zyngier via
On 2022-02-24 13:46, Peter Maydell wrote: When we're using KVM, the PSCI implementation is provided by the kernel, but QEMU has to tell the guest about it via the device tree. Currently we look at the KVM_CAP_ARM_PSCI_0_2 capability to determine if the kernel is providing at least PSCI 0.2, but

[PATCH] target/arm: Report KVM's actual PSCI version to guest in dtb

2022-02-24 Thread Peter Maydell
When we're using KVM, the PSCI implementation is provided by the kernel, but QEMU has to tell the guest about it via the device tree. Currently we look at the KVM_CAP_ARM_PSCI_0_2 capability to determine if the kernel is providing at least PSCI 0.2, but if the kernel provides a newer version than