Commit Graph
8 Commits
Author SHA1 Message Date
Rob Gill 2475482a98 variant4 from common.c::cpu_no_spec_store_bypass
Variant 4 - Add function to 'whitelist' the hand-full of CPUs unaffected by speculative store bypass. 

This would allow improved determination of variant 4 status ( #189 ) of immune CPUs while waiting for the 4.17/stable patches to be backported to distro kernels.

Source of cpu list : https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/cpu/common.c#n945)
Modeled after is_cpu_specex_free()
2018-05-25 21:36:29 +10:00
Rob Gill 1c793775ba Merge pull request #5 from speed47/master
merge
2018-05-25 21:29:20 +10:00
Rob Gill 17a3488505 fix(help): add missing references to variants 3a & 4 (#201) 2018-05-24 16:35:57 +02:00
Rob Gill 17b6e182d9 Merge pull request #4 from speed47/master
merge
2018-05-24 11:18:35 +10:00
Rob Gill ea75969eb7 fix(help): Update variant options in usage message (#200) 2018-05-22 15:54:25 +02:00
Rob Gill 65c123f309 Merge pull request #3 from speed47/master
merge
2018-05-22 18:14:24 +10:00
Rob Gill 0230ce23b1 Merge pull request #2 from speed47/master
merge
2018-05-22 14:57:29 +10:00
Rob Gill 7e4899bcb8 ibrs can't be enabled on no ibrs cpu (#195)
* ibrs can't be enabled on no ibrs cpu

If the cpu is identified, and does not support SPEC_CTRL or IBRS, then ibrs can't be enabled, even if supported by the kernel.
Instead of reporting IBRS enabled and active UNKNOWN, report IBRS enabled and active NO.
2018-05-17 15:39:48 +02:00