Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656072
| From | Sudeep Holla <sudeep.holla@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition |
| Date | 2017-06-02 11:40 +0200 |
| Message-ID | <tNRdM-7Cl-21@gated-at.bofh.it> (permalink) |
| References | <tNwM1-21A-9@gated-at.bofh.it> <tNR46-7yN-17@gated-at.bofh.it> <tNR46-7yN-15@gated-at.bofh.it> |
| Organization | ARM |
On 02/06/17 10:25, Daniel Lezcano wrote:
> On 02/06/2017 11:20, Sudeep Holla wrote:
>>
>>
>> On 01/06/17 12:39, Daniel Lezcano wrote:
>>> Some hardware have clusters with different idle states. The current code does
>>> not support this and fails as it expects all the idle states to be identical.
>>>
>>> Because of this, the Mediatek mtk8173 had to create the same idle state for a
>>> big.Little system and now the Hisilicon 960 is facing the same situation.
>>>
>>> Solve this by simply assuming the multiple driver will be needed for all the
>>> platforms using the ARM generic cpuidle driver which makes sense because of the
>>> different topologies we can support with a single kernel for ARM32 or ARM64.
>>>
>>> Every CPU has its own driver, so every single CPU can specify in the DT the
>>> idle states.
>>>
>>> This simple approach allows to support the future dynamIQ system, current SMP
>>> and HMP.
>>>
>>> It is unoptimal from a memory point of view for a system with a large number of
>>> CPUs but nowadays there is no such system with a cpuidle driver on ARM.
>>>
>>
>> While I agree this may be simple solution, but just not necessary for
>> systems with symmetric idle states especially one with large number of
>> CPUs. I don't like to see 96 CPU Idle driver on say ThunderX. So we
>> *must* have some basic distinction done here.
>>
>> IMO, we can't punish a large SMP systems just because they don't have
>> asymmetric idle states.
>
> Can you point me in the upstream kernel a DTS with 96 cpus and using the
> cpuidle-arm driver ?
>
The bindings are upstream right. Not all DTS are upstream, firmware
generate them especially for large systems.
Check arch/arm64/boot/dts/cavium/thunder{,2}-{88,99}xx.dtsi, it has
supports PSCI and firmware can update DTB to add the idle states.
They are systems with 96 and 128 CPUs.
--
Regards,
Sudeep
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2] ARM: cpuidle: Support asymmetric idle definition Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-01 13:50 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Sudeep Holla <sudeep.holla@arm.com> - 2017-06-02 11:30 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-02 11:30 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Sudeep Holla <sudeep.holla@arm.com> - 2017-06-02 11:40 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-02 12:10 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Sudeep Holla <sudeep.holla@arm.com> - 2017-06-02 12:20 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-02 12:50 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Sudeep Holla <sudeep.holla@arm.com> - 2017-06-02 15:50 +0200
Re: [PATCH V2] ARM: cpuidle: Support asymmetric idle definition Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-06-06 19:30 +0200
csiph-web