Skip to content

Commit

Permalink
Update kargs
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 committed May 27, 2024
1 parent e5f5980 commit 4906ea3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UTM-Chrony.ign
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"shouldExist": [
"mitigations=auto,nosmt",
"spectre_v2=on",
"spectre_bhi=on",
"spec_store_bypass_disable=on",
"tsx=off",
"kvm.nx_huge_pages=force",
"nosmt=force",
"l1d_flush=on",
"spec_rstack_overflow=safe-ret",
"gather_data_sampling=force",
"reg_file_data_sampling=on",
"random.trust_bootloader=off",
"random.trust_cpu=off",
"intel_iommu=on",
Expand Down
3 changes: 3 additions & 0 deletions UTM-Chrony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,15 @@ kernel_arguments:
should_exist:
- mitigations=auto,nosmt
- spectre_v2=on
- spectre_bhi=on
- spec_store_bypass_disable=on
- tsx=off
- kvm.nx_huge_pages=force
- nosmt=force
- l1d_flush=on
- spec_rstack_overflow=safe-ret
- gather_data_sampling=force
- reg_file_data_sampling=on
- random.trust_bootloader=off
- random.trust_cpu=off
- intel_iommu=on
Expand Down
2 changes: 1 addition & 1 deletion kargs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

# This file is just incase you want to quickly copy-paste the kernel arguments into `rpm-ostree kargs`

mitigations=auto,nosmt spectre_v2=on spec_store_bypass_disable=on tsx=off kvm.nx_huge_pages=force nosmt=force l1d_flush=on spec_rstack_overflow=safe-ret random.trust_bootloader=off random.trust_cpu=off intel_iommu=on amd_iommu=isolation_force efi=disable_early_pci_dma iommu=force iommu.passthrough=0 iommu.strict=1 slab_nomerge init_on_alloc=1 init_on_free=1 pti=on vsyscall=none ia32_emulation=0 page_alloc.shuffle=1 randomize_kstack_offset=on debugfs=off
mitigations=auto,nosmt spectre_v2=on spectre_bhi=on spec_store_bypass_disable=on tsx=off kvm.nx_huge_pages=force nosmt=force l1d_flush=on spec_rstack_overflow=safe-ret gather_data_sampling=force reg_file_data_sampling=on random.trust_bootloader=off random.trust_cpu=off intel_iommu=on amd_iommu=force_isolation efi=disable_early_pci_dma iommu=force iommu.passthrough=0 iommu.strict=1 slab_nomerge init_on_alloc=1 init_on_free=1 pti=on vsyscall=none ia32_emulation=0 page_alloc.shuffle=1 randomize_kstack_offset=on debugfs=off lockdown=confidentiality module.sig_enforce=1 console=tty0 console=ttyS0,115200
3 changes: 3 additions & 0 deletions x86-QEMU-Docker.ign
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"shouldExist": [
"mitigations=auto,nosmt",
"spectre_v2=on",
"spectre_bhi=on",
"spec_store_bypass_disable=on",
"tsx=off",
"kvm.nx_huge_pages=force",
"nosmt=force",
"l1d_flush=on",
"spec_rstack_overflow=safe-ret",
"gather_data_sampling=force",
"reg_file_data_sampling=on",
"random.trust_bootloader=off",
"random.trust_cpu=off",
"intel_iommu=on",
Expand Down
3 changes: 3 additions & 0 deletions x86-QEMU-Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,15 @@ kernel_arguments:
should_exist:
- mitigations=auto,nosmt
- spectre_v2=on
- spectre_bhi=on
- spec_store_bypass_disable=on
- tsx=off
- kvm.nx_huge_pages=force
- nosmt=force
- l1d_flush=on
- spec_rstack_overflow=safe-ret
- gather_data_sampling=force
- reg_file_data_sampling=on
- random.trust_bootloader=off
- random.trust_cpu=off
- intel_iommu=on
Expand Down

0 comments on commit 4906ea3

Please sign in to comment.