[RFC] PSCI: Use DT Function ID values only for old versions of spec

Ashwin Chaugule ashwin.chaugule at linaro.org
Wed Mar 19 22:03:22 EDT 2014


Hi Mark,

> On 14 March 2014 05:52, Mark Rutland <mark.rutland at arm.com> wrote:
>>
>> > +     psci_function_id[PSCI_FN_MIGRATE] = PSCI_ID_CPU_MIGRATE;
>> > +     psci_ops.migrate = psci_migrate;
>>
>> It would also be a good idea to hook up AFFINITY_INFO to a cpu_kill
>> callback from the start, to ensure implementors bother to implement it,
>> and such that we can make kexec safe(r).
>>
>> If we rely on it from the start it's more likely that it will actually
>> get implemented, and it will highlight any dodgy PSCI 0.2
>> implementations while there's a chance they can be fixed.
>>
>

Although I sent v1 of this patch, I haven't forgotten about this part.
Had a go at it, but it turned out quite messy for ARM32. I was trying
to get cpu_kill via smp_ops.
I'll revisit this again hopefully tomorrow and see if there's anything better.

Ashwin



More information about the linux-arm-kernel mailing list