diff options
author | Borislav Petkov (AMD) <[email protected]> | 2024-03-24 20:51:35 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-03-25 14:05:24 +0100 |
commit | 29ba89f1895285f06c333546882e0c5ae9a6df23 (patch) | |
tree | 70ad7d85dcdf7babc868045d9e6dd9efdd588c57 /net/lapb/lapb_in.c | |
parent | 63edbaa48a579bb167aa92aa5826888730819fa2 (diff) |
x86/CPU/AMD: Improve the erratum 1386 workaround
Disable XSAVES only on machines which haven't loaded the microcode
revision containing the erratum fix.
This will come in handy when running archaic OSes as guests. OSes whose
brilliant programmers thought that CPUID is overrated and one should not
query it but use features directly, ala shoot first, ask questions
later... but only if you're alive after the shooting.
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Tested-by: "Maciej S. Szmigiero" <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/20240324200525.GBZgCHhYFsBj12PrKv@fat_crate.local
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions