From da07fc92f942e0e39288300292bc0064daf8cb3b Mon Sep 17 00:00:00 2001 From: Randall Date: Fri, 15 Jul 2022 02:32:43 -0400 Subject: [PATCH] Disabled retbleed mitigations introduced in kernel 5.19 --- chrootInstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index f61a8f5..3378b75 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -36,9 +36,9 @@ fi cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/grub -o /etc/default/grub if [ "$gpu" != 'NVIDIA' ]; then - echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet nowatchdog mem_sleep_default=deep nohz_full=1-"$threadsminusone"\"" >> /etc/default/grub + echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet nowatchdog retbleed=off mem_sleep_default=deep nohz_full=1-"$threadsminusone"\"" >> /etc/default/grub else - echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet nowatchdog mem_sleep_default=deep nohz_full=1-"$threadsminusone" nvidia-drm.modeset=1\"" >> /etc/default/grub + echo "GRUB_CMDLINE_LINUX_DEFAULT=\"loglevel=3 quiet nowatchdog retbleed=off mem_sleep_default=deep nohz_full=1-"$threadsminusone" nvidia-drm.modeset=1\"" >> /etc/default/grub fi grub-mkconfig -o /boot/grub/grub.cfg