diff mbox series

[v2,4/4] arm64: defconfig: Enable SoC sleep stats driver for Qualcomm

Message ID 1582274986-17490-5-git-send-email-mkshah@codeaurora.org (mailing list archive)
State Superseded
Headers show
Series Introduce SoC sleep stats driver | expand

Commit Message

Maulik Shah Feb. 21, 2020, 8:49 a.m. UTC
Enable SoC sleep stats driver. The driver gives statistics for
various SoC level low power modes.

Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjorn Andersson Feb. 28, 2020, 6:37 a.m. UTC | #1
On Fri 21 Feb 00:49 PST 2020, Maulik Shah wrote:

> Enable SoC sleep stats driver. The driver gives statistics for
> various SoC level low power modes.
> 
> Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 0f21288..c63399d 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -767,6 +767,7 @@ CONFIG_QCOM_SMD_RPM=y
>  CONFIG_QCOM_SMP2P=y
>  CONFIG_QCOM_SMSM=y
>  CONFIG_QCOM_SOCINFO=m
> +CONFIG_QCOM_SOC_SLEEP_STATS=y

Afaict the driver is not crucial to boot the system or to collect the
statics, so you should be able to make this =m.

Regards,
Bjorn

>  CONFIG_ARCH_R8A774A1=y
>  CONFIG_ARCH_R8A774B1=y
>  CONFIG_ARCH_R8A774C0=y
> -- 
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
Maulik Shah March 3, 2020, 7:08 a.m. UTC | #2
On 2/28/2020 12:07 PM, Bjorn Andersson wrote:
> On Fri 21 Feb 00:49 PST 2020, Maulik Shah wrote:
>
>> Enable SoC sleep stats driver. The driver gives statistics for
>> various SoC level low power modes.
>>
>> Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
>> ---
>>   arch/arm64/configs/defconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>> index 0f21288..c63399d 100644
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -767,6 +767,7 @@ CONFIG_QCOM_SMD_RPM=y
>>   CONFIG_QCOM_SMP2P=y
>>   CONFIG_QCOM_SMSM=y
>>   CONFIG_QCOM_SOCINFO=m
>> +CONFIG_QCOM_SOC_SLEEP_STATS=y
> Afaict the driver is not crucial to boot the system or to collect the
> statics, so you should be able to make this =m.
>
> Regards,
> Bjorn
Done. Will update in next revision.

Thanks,
Maulik
>>   CONFIG_ARCH_R8A774A1=y
>>   CONFIG_ARCH_R8A774B1=y
>>   CONFIG_ARCH_R8A774C0=y
>> -- 
>> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
>> of Code Aurora Forum, hosted by The Linux Foundation
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 0f21288..c63399d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -767,6 +767,7 @@  CONFIG_QCOM_SMD_RPM=y
 CONFIG_QCOM_SMP2P=y
 CONFIG_QCOM_SMSM=y
 CONFIG_QCOM_SOCINFO=m
+CONFIG_QCOM_SOC_SLEEP_STATS=y
 CONFIG_ARCH_R8A774A1=y
 CONFIG_ARCH_R8A774B1=y
 CONFIG_ARCH_R8A774C0=y