<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32GのトピックRe: CPUFREQ did not work with BSP36 image on RDB3 when the related kernel configs enabled</title>
    <link>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1688758#M4154</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;The procedure you followed was correct but there is a need for correction in the last two commands:&lt;/P&gt;
&lt;P&gt;1. need to select the governor from the available governor using the below command:&lt;/P&gt;
&lt;P&gt;echo (governor_name) &amp;gt; scaling_governor&lt;/P&gt;
&lt;P&gt;2. Set scaling frequency from the available frequencies using the below command:&lt;/P&gt;
&lt;P&gt;echo (frequency) &amp;gt; scaling_setspeed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached screenshot for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank s Patel&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 12:37:45 GMT</pubDate>
    <dc:creator>MayanksPatel</dc:creator>
    <dc:date>2023-07-17T12:37:45Z</dc:date>
    <item>
      <title>CPUFREQ did not work with BSP36 image on RDB3 when the related kernel configs enabled</title>
      <link>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1687185#M4117</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently test CPUFreq feature based on SDK BSP36 image and enabled the following kernel configs:&lt;/P&gt;&lt;P&gt;CONFIG_CPU_FREQ=y&lt;BR /&gt;CONFIG_ARM_SCMI_CPUFREQ=y&lt;/P&gt;&lt;P&gt;But, it seems that the cpu frequency still could not be set, and the logs as following:&lt;/P&gt;&lt;P&gt;root@s32g399ardb3:~# cd /sys/devices/system/cpu/cpufreq/policy0&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat cpuinfo_cur_freq&lt;BR /&gt;1300000&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat scaling_available_frequencies&lt;BR /&gt;48148 54166 61904 72222 86666 104000 136842 200000 371428 1300000&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat scaling_governor&lt;BR /&gt;schedutil&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat scaling_available_governors&lt;BR /&gt;performance schedutil&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# echo performance scaling_governor&lt;BR /&gt;performance scaling_governor&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat scaling_available_governors&lt;BR /&gt;performance schedutil&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat scaling_governor&lt;BR /&gt;schedutil&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# echo 371428 scaling_setspeed&lt;BR /&gt;371428 scaling_setspeed&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# cat cpuinfo_cur_freq&lt;BR /&gt;1300000&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# uname -a&lt;BR /&gt;Linux s32g399ardb3 5.15.85-rt55+g9133b22fcbe1 #1 SMP PREEMPT Fri Mar 24 11:06:44 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# zcat /proc/config.gz | grep CONFIG_CPU_FREQ&lt;BR /&gt;CONFIG_CPU_FREQ=y&lt;BR /&gt;CONFIG_CPU_FREQ_GOV_ATTR_SET=y&lt;BR /&gt;# CONFIG_CPU_FREQ_STAT is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set&lt;BR /&gt;CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y&lt;BR /&gt;CONFIG_CPU_FREQ_GOV_PERFORMANCE=y&lt;BR /&gt;# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_GOV_USERSPACE is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set&lt;BR /&gt;# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set&lt;BR /&gt;CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y&lt;BR /&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# zcat /proc/config.gz | grep CONFIG_ARM_SCMI_CPUFREQ&lt;BR /&gt;CONFIG_ARM_SCMI_CPUFREQ=y&lt;BR /&gt;&lt;A href="mailto:root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0" target="_blank"&gt;root@s32g399ardb3:/sys/devices/system/cpu/cpufreq/policy0# &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "scaling_governor" could not be set to&amp;nbsp;performance, and the "scaling_setspeed" could not be set to other values too.&lt;/P&gt;&lt;P&gt;And the test steps I used all followed the "23.4 Dynamic Frequency Scaling" section of "Linux BSP 36.0 User Manual for S32G3 platforms"&lt;/P&gt;&lt;P&gt;Would you please help to confirm the issue and give a fix or workaround for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 06:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1687185#M4117</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2023-07-13T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: CPUFREQ did not work with BSP36 image on RDB3 when the related kernel configs enabled</title>
      <link>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1688758#M4154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;The procedure you followed was correct but there is a need for correction in the last two commands:&lt;/P&gt;
&lt;P&gt;1. need to select the governor from the available governor using the below command:&lt;/P&gt;
&lt;P&gt;echo (governor_name) &amp;gt; scaling_governor&lt;/P&gt;
&lt;P&gt;2. Set scaling frequency from the available frequencies using the below command:&lt;/P&gt;
&lt;P&gt;echo (frequency) &amp;gt; scaling_setspeed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached screenshot for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank s Patel&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1688758#M4154</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-07-17T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: CPUFREQ did not work with BSP36 image on RDB3 when the related kernel configs enabled</title>
      <link>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1692042#M4195</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Now the issue has been fixed, you are right, the command is wrong in my description, and the USERSPACE govner kernel config should be enabled too for the CPUFreq setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/CPUFREQ-did-not-work-with-BSP36-image-on-RDB3-when-the-related/m-p/1692042#M4195</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2023-07-25T08:13:26Z</dc:date>
    </item>
  </channel>
</rss>

