On 14 May 2014 20:15, Rob Herring <[email protected]> wrote: > On Wed, May 14, 2014 at 12:51 PM, Peter Maydell > <[email protected]> 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
