reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/commit/?id=09020cb8f4063731baa98c5f0fd9f1785597c989 git remote add amd-pstate https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git git fetch --no-tags amd-pstate superm1/runtime-pm-screen-on-off git checkout 09020cb8f4063731baa98c5f0fd9f1785597c989 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/x86/