Both sides previous revisionPrevious revisionNext revision | Previous revision |
linux:notes:kernel_parameters [2024/09/30 00:58] – [CORSAIR] Sean Rhone | linux:notes:kernel_parameters [2025/09/13 18:08] (current) – Sean Rhone |
---|
| |
* Various kernel options | * Various kernel options |
* https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html | * https://docs.kernel.org/admin-guide/kernel-parameters.html |
* :!: 2024: ''systemd-boot'' does not like typewriter apostrophes '''like this' '', but GRUB handles it fine | * https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt |
| |
| ===== systemd-boot ===== |
| |
| * :!: 2024: ''systemd-boot'' doesn't handle typewriter apostrophes '''like this' '', but GRUB handles it fine ((above kernel params page mentions double-quote usage)) |
| * :!: 2024/05/18: ''systemd-boot'' on [[linux;distros;opensuse_tumbleweed_gnome|oS TW]] doesn't delete old ''initrd''s automatically, doesn't handle typewriter apostrophes, doesn't support ''dracut.conf'' settings, and doesn't seem faster than GRUB |
| |
====== Resources ====== | ====== Resources ====== |
| |
====== Spinesnap ====== | ====== Spinesnap ====== |
| |
| ===== Main ===== |
| |
| * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
| * 2025/07/20 |
| |
| <code>acpi_osi='Linux' reboot='pci' idle='halt' nohz='off' preempt='full' iommu='pt' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' pcie_port_pm='off' ahci.mobile_lpm_policy='1' iwlmvm.power_scheme='1' nvme_core.default_ps_max_latency_us='0' nvme.noacpi='1' nowatchdog modprobe.blacklist='iTCO_wdt' tsc='nowatchdog' snd_hda_intel.power_save='0' usbcore.autosuspend='-1' i915.mitigations='off' i915.enable_fbc='0' i915.enable_psr='0' i915.enable_dc='0' i915.enable_guc='3' i915.guc_log_level='0' i915.nuclear_pageflip='1' rootflags='data=writeback'</code> |
| |
===== General ===== | ===== General ===== |
===== Mitigations ===== | ===== Mitigations ===== |
| |
**** | * :!: 2025/08/08: openSUSE cannot have either ''mitigations'' option set on the text line through YaST ((''mitigations'' gets removed by something else likely related to the CPU mitigations option, and includes the ''i915.'' option)) |
| |
<code>mitigations='off' i915.mitigations='off'</code> | <code>mitigations='off' i915.mitigations='off'</code> |
| |
<code>mem_encrypt='on'</code> | <code>mem_encrypt='on'</code> |
| |
| ===== TPM Integrity ===== |
| |
| * https://www.phoronix.com/news/Linux-TPM-Disable-PCR-Integrity |
| * TODO: Option name (probably ''off'') |
| |
| <code>tpm.disable_pcr_integrity=</code> |
| |
====== AMDGPU ====== | ====== AMDGPU ====== |
| |
cat '/sys/module/amdgpu/parameters/ppfeaturemask' | cat '/sys/module/amdgpu/parameters/ppfeaturemask' |
| |
| ===== Disable PSR ===== |
| |
| * :?: ''0x15'' was seen somewhere for something |
| * 2025/03/04: Untested |
| |
| amdgpu.dcdebugmask=0x10 |
| |
====== NVIDIA ====== | ====== NVIDIA ====== |