https://github.com/spandruvada/linux-kernel
解压
Configure the kernel build settings:
$ make mrproper // 清除编译安装的数据
$ cp /boot/config-uname -r
.config
$ yes ‘’ | make oldconfig
Make sure Intel® SST interface driver is enabled:
$ cat .config | grep CONFIG_INTEL_SPEED_SELECT_INTERFACE=m
$ CONFIG_INTEL_SPEED_SELECT_INTERFACE=m
Compile the kernel:
$ make -j getconf _NPROCESSORS_ONLN
rpm-pkg LOCALVERSION=-sst
Install the new kernel:
$ sudo yum localinstall linux-image-5.8.0-sst_5.8.0-sst-1_amd64.rpm
$ sudo yum localinstall linux-headers-5.8.0-sst_5.8.0-sst-1_amd64.rpm
$ cd tools/power/x86/intel-speed-select/
$ make
$ make install