Ok, to make it permanent edit /etc/default/grub
and add it to end of the line starting with GRUB_CMDLINE_LINUX_DEFAULT=
, like this (ignore the rest of my personal parameters):
[mbb@mocho-desktop ~]$ cat /etc/default/grub
[...]
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/vgSwap/lvol0 quiet scsi_mod.use_blk_mq=1 zswap.enabled=1 zswap.max_pool_percent=13 zswap.compressor=lz4 zswap.zpool=z3fold nmi_watchdog=0 mitigations=off"
[...]
You can see these are the parameters appearing in the linux
line edited above.
Save your changes and then issue sudo update-grub
to make it permanent.