Re: [PATCH] cpuidle: governor: export cpuidle governor functions
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2020-09-22 17:27:45
Also in:
linux-arm-msm
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2020-09-22 17:27:45
Also in:
linux-arm-msm
Hi Lina, On Tue, Sep 22, 2020 at 6:12 PM Lina Iyer [off-list ref] wrote:
Hi Rafael, On Tue, Sep 22 2020 at 10:00 -0600, Rafael J. Wysocki wrote:quoted
Sorry for the delay. On Wed, Sep 9, 2020 at 12:15 AM Lina Iyer [off-list ref] wrote:quoted
Commit 83788c0caed3 ("cpuidle: remove unused exports") removed capability of registering cpuidle governors, which was unused at that time. By exporting the symbol, let's allow platform specific modules to register cpuidle governors and use cpuidle_governor_latency_req() to get the QoS for the CPU.Which platform-specific modules may want to do that and why?We are planning a custom cpuidle governor for QCOM SoCs. With Android, the idea is to make them loadable modules so they can be in a separate partition.
Well, the $subject patch is not applicable without a mainline user requiring this, so it needs to be posted along with that user. Cheers!