Re: 4.14.0-rc7: cpufreq interface in sysfs removed ?

From: Markus Mayer
Date: Wed Nov 01 2017 - 13:50:00 EST


On 1 November 2017 at 10:06, JÃrg Otte <jrg.otte@xxxxxxxxx> wrote:
> In 4.14.0-rc7-00009-g287683d cpufreq directory under
> /sys/devices/system/cpu/cpufreq
> is empty. Also link /sys/devices/system/cpu/cpu0/cpufreq is missing.

It is looking fine on my system.

# dmesg | grep cpufreq
<6>[ 1.313374] brcmstb-avs-cpufreq f04c4000.avs-cpu-data-mem: registered

# find /sys -name \*cpufreq\*
/sys/devices/system/cpu/cpu3/cpufreq
/sys/devices/system/cpu/cpu1/cpufreq
/sys/devices/system/cpu/cpufreq
/sys/devices/system/cpu/cpu2/cpufreq
/sys/devices/system/cpu/cpu0/cpufreq
/sys/bus/platform/drivers/cpufreq-dt
/sys/bus/platform/drivers/brcmstb-avs-cpufreq
/sys/module/cpufreq

# uname -a
Linux (none) 4.14.0-rc7 #1 SMP Wed Nov 1 10:34:11 PDT 2017 armv7l GNU/Linux

> Is this change intentional?

This sounds more like your cpufreq driver didn't load. It is probably
worth investigating in that direction.

Also, you didn't mention anything about your hardware or your configuration.

> JÃrg