diff options
author | Borislav Petkov <bp@suse.de> | 2015-01-18 12:35:55 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-02-23 13:44:15 +0100 |
commit | 8e65f6e03a90927b8de16c15da976baa6c3fff69 (patch) | |
tree | a4352a7a1b49b2e9256ea8397bcf3d6347d6bc1a /arch/x86/lib | |
parent | x86/smap: Use ALTERNATIVE macro (diff) | |
download | linux-8e65f6e03a90927b8de16c15da976baa6c3fff69.tar.xz linux-8e65f6e03a90927b8de16c15da976baa6c3fff69.zip |
x86/entry_32: Convert X86_INVD_BUG to ALTERNATIVE macro
Booting a 486 kernel on an AMD guest with this patch applied, says:
apply_alternatives: feat: 0*32+25, old: (c160a475, len: 5), repl: (c19557d4, len: 5)
c160a475: alt_insn: 68 10 35 00 c1
c19557d4: rpl_insn: 68 80 39 00 c1
which is:
old insn VA: 0xc160a475, CPU feat: X86_FEATURE_XMM, size: 5
simd_coprocessor_error:
c160a475: 68 10 35 00 c1 push $0xc1003510 <do_general_protection>
repl insn: 0xc19557d4, size: 5
c160a475: 68 80 39 00 c1 push $0xc1003980 <do_simd_coprocessor_error>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions