Skip to content

Commit 9774a96

Browse files
babumogersuryasaimadhu
authored andcommitted
x86/umip: Make the comments vendor-agnostic
AMD 2nd generation EPYC processors also support the UMIP feature. Make the comments vendor-agnostic. Signed-off-by: Babu Moger <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ricardo Neri <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: "[email protected]" <[email protected]> Link: https://lkml.kernel.org/r/157298913784.17462.12654728938970637305.stgit@naples-babu.amd.com
1 parent b971880 commit 9774a96

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/x86/kernel/umip.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* umip.c Emulation for instruction protected by the Intel User-Mode
3-
* Instruction Prevention feature
2+
* umip.c Emulation for instruction protected by the User-Mode Instruction
3+
* Prevention feature
44
*
55
* Copyright (c) 2017, Intel Corporation.
66
* Ricardo Neri <[email protected]>
@@ -18,10 +18,10 @@
1818

1919
/** DOC: Emulation for User-Mode Instruction Prevention (UMIP)
2020
*
21-
* The feature User-Mode Instruction Prevention present in recent Intel
22-
* processor prevents a group of instructions (SGDT, SIDT, SLDT, SMSW and STR)
23-
* from being executed with CPL > 0. Otherwise, a general protection fault is
24-
* issued.
21+
* User-Mode Instruction Prevention is a security feature present in recent
22+
* x86 processors that, when enabled, prevents a group of instructions (SGDT,
23+
* SIDT, SLDT, SMSW and STR) from being run in user mode by issuing a general
24+
* protection fault if the instruction is executed with CPL > 0.
2525
*
2626
* Rather than relaying to the user space the general protection fault caused by
2727
* the UMIP-protected instructions (in the form of a SIGSEGV signal), it can be

0 commit comments

Comments
 (0)