diff options
author | Rudolf Marek <[email protected]> | 2017-11-28 22:01:06 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-12-06 12:27:13 +0100 |
commit | e3811a3f74bd1ad773667b78323f396166891f3a (patch) | |
tree | 42b6373d2a02fd18eb2594786d9f4dbe20c8c54a /arch/x86/kernel/cpu/microcode/amd.c | |
parent | 55d2d0ad2fb4325f615d1950486fbc5e6fba1769 (diff) |
x86/cpufeatures: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
The latest AMD AMD64 Architecture Programmer's Manual
adds a CPUID feature XSaveErPtr (CPUID_Fn80000008_EBX[2]).
If this feature is set, the FXSAVE, XSAVE, FXSAVEOPT, XSAVEC, XSAVES
/ FXRSTOR, XRSTOR, XRSTORS always save/restore error pointers,
thus making the X86_BUG_FXSAVE_LEAK workaround obsolete on such CPUs.
Signed-off-by: Rudolf Marek <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/amd.c')
0 files changed, 0 insertions, 0 deletions