Skip to content

Commit

Permalink
x86/umip: Print a line in the boot log that UMIP has been enabled
Browse files Browse the repository at this point in the history
Indicate that this feature has been enabled.

Suggested-by: Ingo Molnar <[email protected]>
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-3-git-send-email-ricardo.neri-calderon@linux.intel.com
[ Changelog tweaks. ]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
ricardon authored and Ingo Molnar committed Nov 14, 2017
1 parent 796ebc8 commit 770c775
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ static __always_inline void setup_umip(struct cpuinfo_x86 *c)

cr4_set_bits(X86_CR4_UMIP);

pr_info("x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature\n");

return;

out:
Expand Down

0 comments on commit 770c775

Please sign in to comment.