On Thu, Jan 28, 2021 at 1:22 PM Xu, Bo <b...@akamai.com> wrote: > > Hi, > > I am trying to enable PSI by changing the kernel config: > > CONFIG_PSI_DEFAULT_DISABLED=y > > to CONFIG_PSI_DEFAULT_DISABLED=n > > > > Here are the steps I did: > > Added line GRUB_CMDLINE_LINUX_DEFAULT="psi=1” in file /etc/default/grub > sudo update-grub #this executes grub-mkconfig > reboot > > > > However, after reboot the kernel config is NOT changed. > > ~$ zgrep PSI /proc/config.gz > > CONFIG_PSI=y > > CONFIG_PSI_DEFAULT_DISABLED=y > > > > I notice the file /boot/grub/grub.cfg was NOT changed after execution > update-grub. > > > > Is this a bug of grub-mkconfig ??? > > > > ------------------ > > My linux version: > > > > ~$ uname -r > > 5.4.59-5.4.1.2-amd64-635280dcfe78dc3d
Bo, grub has nothing to do with your current kernel, it's the kernel config option. So in order to enable it, you will need to reconfigure/recompile your kernel. To reconfigure/recompile your kernel, follow your distribution kernel compile docs/practices or use generic ones , like https://kernelnewbies.org/FAQ/KernelCompilation