User Tools

Site Tools


linux:notes:kernel_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:kernel_parameters [2024/09/22 20:56] Sean Rhonelinux:notes:kernel_parameters [2025/09/13 18:08] (current) Sean Rhone
Line 2: Line 2:
  
   * 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 ======
Line 33: Line 38:
  
 ====== 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 =====
Line 38: Line 50:
 **** ****
  
-<code>acpi_osi='Linux' reboot='pci' nohz='off' preempt='full' cpuidle.off='1'</code>+<code>acpi_osi='Linux' reboot='pci' nohz='off' preempt='none' cpuidle.off='1'</code>
  
 ===== PCI ===== ===== PCI =====
Line 54: Line 66:
 ===== 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>
Line 95: Line 107:
  
 <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 ======
Line 113: Line 132:
  
   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 ======
Line 161: Line 187:
   * https://github.com/ckb-next/ckb-next/wiki/Troubleshooting#usbhid-quirks   * https://github.com/ckb-next/ckb-next/wiki/Troubleshooting#usbhid-quirks
   * :!: Seemingly only needed with the mouse plugged directly to the motherboard, and not through USB-C docks   * :!: Seemingly only needed with the mouse plugged directly to the motherboard, and not through USB-C docks
 +  * :?: 2024/09/30: Without that quirk, mouse failed immediately after setting ''preempt=none'' from a USB-C dock
  
   usbcore.quirks='1b1c:1b75:bgmn'   usbcore.quirks='1b1c:1b75:bgmn'
  
/srv/www/wiki/data/attic/linux/notes/kernel_parameters.1727052960.txt.gz · Last modified: by Sean Rhone