Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1066339

Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1

From Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1
Date 2021-08-06 15:40 +0200
Message-ID <CJ8eR-lS-1@gated-at.bofh.it> (permalink)
References <CIPvz-61r-1@gated-at.bofh.it> <CIPvz-61r-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

On Thu, Aug 05, 2021 at 05:26:09PM +0000, Diederik de Haas wrote:
> At
> https://salsa.debian.org/raspi-team/image-specs/-/issues/7#note_206349
> it was reported that CPU frequency scaling was enabled for armhf and
> arm64, but not for armel. I (and others) have been able to confirm that.
> 
> So I build my own kernel with the following patch:
> +CONFIG_CLK_RASPBERRYPI=y

Would CONFIG_CLK_RASPBERRYPI=m be enough?

> +CONFIG_CPUFREQ_DT=m
> +CONFIG_CPUFREQ_DT_PLATDEV=y
> +CONFIG_ARM_RASPBERRYPI_CPUFREQ=m

These look reasonable.

> -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
> +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
> -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
> +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> -CONFIG_CPU_FREQ_GOV_ONDEMAND=m
> +CONFIG_CPU_FREQ_GOV_ONDEMAND=y

Hmm, CONFIG_CPU_FREQ_GOV_ONDEMAND=m is already there, so you should be
able to switch to that if you prefer it?!

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1 Diederik de Haas <didi.debian@cknow.org> - 2021-08-05 19:40 +0200
  Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2021-08-06 15:40 +0200
    Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1 Diederik de Haas <didi.debian@cknow.org> - 2021-08-06 16:10 +0200
      Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1 Diederik de Haas <didi.debian@cknow.org> - 2021-08-07 22:40 +0200
  Bug#991921: linux: Please enable CPUFREQ options for RPi 0/0w/1 Diederik de Haas <didi.debian@cknow.org> - 2021-08-08 17:10 +0200

csiph-web