Re: x86/umip: Enable User-Mode Instruction Prevention at runtime

From: Dave Jones
Date: Sun Nov 26 2017 - 22:36:25 EST


On Mon, Nov 13, 2017 at 11:44:02PM +0000, Linux Kernel wrote:
> Web: https://git.kernel.org/torvalds/c/aa35f896979d9610bb11df485cf7bb6ca241febb
> Commit: aa35f896979d9610bb11df485cf7bb6ca241febb
> Parent: c6a960bbf6a36572a06bde866d94a7338c7f256a
> Refname: refs/heads/master
> Author: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>
> AuthorDate: Sun Nov 5 18:27:54 2017 -0800
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Wed Nov 8 11:16:23 2017 +0100
>
> x86/umip: Enable User-Mode Instruction Prevention at runtime


> +config X86_INTEL_UMIP
> + def_bool n
> + depends on CPU_SUP_INTEL
> + prompt "Intel User Mode Instruction Prevention" if EXPERT
> + ---help---
> + The User Mode Instruction Prevention (UMIP) is a security
> + feature in newer Intel processors.

Can we start defining which CPU generation features appear in in Kconfigs ?

In six months time, "newer" will mean even less than it does today.

It'd be nice to be able to answer oldconfig without having to look
things up in the SDM.

Dave