]> Git Repo - linux.git/commit
x86/umip: Identify the STR and SLDT instructions
authorRicardo Neri <[email protected]>
Tue, 14 Nov 2017 06:29:44 +0000 (22:29 -0800)
committerIngo Molnar <[email protected]>
Tue, 14 Nov 2017 07:38:09 +0000 (08:38 +0100)
commit6e2a3064d6a86094fecc20cd430fd96aaa801687
tree594c64d45e701ee83102b3b7324593492c0c2b84
parent770c77557757873808a474016a3cae4b37690cb2
x86/umip: Identify the STR and SLDT instructions

The STR and SLDT instructions are not emulated by the UMIP code, thus
there's no functionality in the decoder to identify them.

However, a subsequent commit will introduce a warning about the use
of all the instructions that UMIP protect/changes, not only those that
are emulated.

A first step for that is to add the ability to decode/identify them.

Plus, now that STR and SLDT are identified, we need to explicitly avoid
their emulation (i.e., not rely on successful identification). Group
together all the cases that we do not want to emulate: STR, SLDT and user
long mode processes.

Signed-off-by: Ricardo Neri <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi V. Shankar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/1510640985-18412-4-git-send-email-ricardo.neri-calderon@linux.intel.com
[ Rewrote the changelog, fixed ugly col80 artifact. ]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/umip.c
This page took 0.053122 seconds and 4 git commands to generate.