根据
第11页,linux从4.20开始支持SST-BF
但我在github上找不到相关代码:
答案1
根据 https://github.com/intel/CommsPowerManagement/blob/master/sst_bf.py#L121
获取SST-BF基频
base_filename = "/sys/devices/system/cpu/cpu" + str(core) + "/cpufreq/base_frequency"
linux 4.20 intel pstate源代码:
https://elixir.bootlin.com/linux/v4.20/source/drivers/cpufreq/intel_pstate.c#L739
cpufreq_freq_attr_ro(base_frequency);
这行代码是4.20之后才添加的