Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1519154

Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions
Date 2016-11-10 18:10 +0100
Message-ID <sC11n-Cz-9@gated-at.bofh.it> (permalink)
References (1 earlier) <sB7Vg-5Hp-3@gated-at.bofh.it> <sBgFc-2G7-57@gated-at.bofh.it> <sBsGl-2qR-13@gated-at.bofh.it> <sBzya-6Ka-47@gated-at.bofh.it> <sBOdQ-8mp-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/09/2016 07:24 PM, Ricardo Neri wrote:
> On Wed, 2016-11-09 at 03:02 -0800, Andy Lutomirski wrote:
...
>> > What I mean is: why does this need a config option at all?
> I intended this feature to be configurable at build time in case someone
> wants to build a kernel without it; similar to other features such as
> SMAP. Is this not needed? Should Linux be built with this feature always
> enabled?

I think marking these features with their own CONFIG's is a really good
idea.  It helps the tinification effort.  It's also nice for folks that
might want to turn all the Intel features off because they're running on
AMD or something.

We don't necessarily need prompts for *everything*, but I can't imagine
just slapping the code in without #ifdefs of any kind.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2016-11-08 07:20 +0100
  Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions Andy Lutomirski <luto@amacapital.net> - 2016-11-08 16:40 +0100
    Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction  Prevention definitions Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2016-11-09 05:30 +0100
      Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions Andy Lutomirski <luto@amacapital.net> - 2016-11-09 12:50 +0100
        Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction  Prevention definitions Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2016-11-10 04:30 +0100
          Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention  definitions Borislav Petkov <bp@suse.de> - 2016-11-10 10:00 +0100
            Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction  Prevention definitions Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2016-11-11 05:10 +0100
              Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention  definitions Borislav Petkov <bp@suse.de> - 2016-11-11 11:30 +0100
              Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention  definitions Dave Hansen <dave.hansen@linux.intel.com> - 2016-11-11 19:10 +0100
          Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention  definitions Dave Hansen <dave.hansen@linux.intel.com> - 2016-11-10 18:10 +0100

csiph-web