[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/7] arm/virt: enable PSCI emulation support for
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 6/7] arm/virt: enable PSCI emulation support for system emulation |
Date: |
Wed, 14 May 2014 22:25:24 +0100 |
On 14 May 2014 20:15, Rob Herring <address@hidden> wrote:
> On Wed, May 14, 2014 at 12:51 PM, Peter Maydell
> <address@hidden> wrote:
>> My suggestion to Pranav was that we abstract away the "which PSCI
>> version?" decision into a field in ARMCPU, in which case we can
>> just have TCG always set it to 0.2. So some of this logic
>> will get a little simpler on rebase.
>
> You can't. You have to support both because you don't know what the
> kernel supports. An old kernel will only support arm,psci.
An old host kernel, or an old guest kernel? The former is fine,
because the KVM CPU init code will just ask for the KVM
capability and fill in the ARMCPU field appropriately.
For the latter, how are you supposed to determine what the
guest kernel can support?
thanks
-- PMM
- Re: [Qemu-devel] [PATCH 3/7] target-arm: add hvc and smc exception emulation handling infrastructure, (continued)
[Qemu-devel] [PATCH 5/7] target-arm: add emulation of PSCI calls for system emulation, Rob Herring, 2014/05/05
[Qemu-devel] [PATCH 7/7] arm/highbank: enable PSCI emulation support, Rob Herring, 2014/05/05
[Qemu-devel] [PATCH 6/7] arm/virt: enable PSCI emulation support for system emulation, Rob Herring, 2014/05/05
[Qemu-devel] [PATCH 4/7] target-arm: support AArch64 for arm_cpu_set_pc, Rob Herring, 2014/05/05