pti=off
nopti
noibrs
noibpb
spectre_v2=off
nospectre_v2
spec_store_bypass_disable=prctl
spec_store_bypass_disable=off
nospec_store_bypass_disable
l1tf=off
nospec_store_bypass_disable
no_stf_barrier
mds=off
mitigations=off
pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off
mount -t debugfs nodev /sys/kernel/debug
echo 0 > /sys/kernel/debug/x86/pti_enabled
echo 0 > /sys/kernel/debug/x86/retp_enabled
echo 0 > /sys/kernel/debug/x86/ibrs_enabled
cat /sys/kernel/debug/x86/pti_enabled
cat /sys/kernel/debug/x86/retp_enabled
cat /sys/kernel/debug/x86/ibrs_enabled
cat /sys/devices/system/cpu/vulnerabilities/mds
cat /sys/devices/system/cpu/vulnerabilities/l1tf
cat /sys/devices/system/cpu/vulnerabilities/mds
cat /sys/devices/system/cpu/vulnerabilities/meltdown
cat /sys/devices/system/cpu/vulnerabilities/spec_store_bypass
cat /sys/devices/system/cpu/vulnerabilities/spectre_v1
cat /sys/devices/system/cpu/vulnerabilities/spectre_v2