Closed ghost closed 6 years ago
This is because the first kernel you've tested is i686, not x86_64, and the PTI patch is not (yet?) available for i686 upstream (i.e. this is not an OpenSUSE issue, nobody has the patch for 32 bit kernels!)
Thanks for the info. Do you have any idea if patches for 32 bit kernels are planned?
@anchev The latest patchset (and discussion): PTI support for x86_32
Don't miss this important comment from Andy Lutomirski (emphasis mine):
"One thing worth noting is that performance of this whole series is going to be abysmal due to the complete lack of 32-bit PCID. Maybe any kernel built with this option set that runs on a CPU that has the PCID bit set in CPUID should print a big fat warning like "WARNING: you are using 32-bit PTI on a 64-bit PCID-capable CPU. Your performance will increase dramatically if you switch to a 64-bit kernel."
Thanks @knweiss. Well, there is no option for a 32-bit CPU to use a 64-bit kernel anyway, so I was just interested to know if the 32-bit kernels will be patched too. I still can't find a definite yes or no in the links (some of the things explained there are fairly complex to me) but I hope I won't have to trash this old laptop :)
@anchev There is this fix but it's gonna be slow. People running 32-bit kernels on 64-bit capable HW (for whatever reason) should therefore make the switch to a 64-bit kernel to get better performance. This is no option for you if your CPU is 32-bit only.
Closing to tidy up the issues list a bit, feel free to reopen if needed!
Thanks!
The laptop is running openSUSE Tumbleweed, freshly updated a few minutes ago, rebooted and tested with the tool:
On another system (i7-3770) which runs openSUSE Leap 42.3 with kernel 4.4.114-42 I get all the 3 tests
NOT VULNERABLE
:What is the reason for the discrepancy? Isn't newer kernel supposed to be better patch? And should I report anything to opensuse bugzilla?