Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756911AbcKKSGs (ORCPT ); Fri, 11 Nov 2016 13:06:48 -0500 Received: from mga04.intel.com ([192.55.52.120]:3770 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756694AbcKKSGr (ORCPT ); Fri, 11 Nov 2016 13:06:47 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,621,1473145200"; d="scan'208";a="1058365573" Subject: Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions To: Ricardo Neri , Borislav Petkov References: <1478585533-19406-1-git-send-email-ricardo.neri-calderon@linux.intel.com> <1478585533-19406-2-git-send-email-ricardo.neri-calderon@linux.intel.com> <1478665516.2533.2.camel@ranerica-desktop> <1478748283.2551.5.camel@ranerica-desktop> <20161110085833.zw6qgd7pshbni656@pd.tnic> <1478837287.2542.4.camel@ranerica-desktop> Cc: Andy Lutomirski , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , X86 ML , "linux-doc@vger.kernel.org" , Andy Lutomirski , Andrew Morton , Brian Gerst , Chen Yucong , Chris Metcalf , Fenghua Yu , Huang Rui , Jiri Slaby , Jonathan Corbet , "Michael S . Tsirkin" , Paul Gortmaker , Peter Zijlstra , "Ravi V . Shankar" , Shuah Khan , Vlastimil Babka From: Dave Hansen Message-ID: <54980dba-9786-39ac-97da-23a679c96d9c@linux.intel.com> Date: Fri, 11 Nov 2016 10:06:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1478837287.2542.4.camel@ranerica-desktop> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 503 Lines: 10 On 11/10/2016 08:08 PM, Ricardo Neri wrote: > Thanks for the suggestions. Perhaps I can include these metrics in my > V2. On th other hand, Dave Hansen gave a good argument on potential > conflicts when, of instance running on an AMD CPU. UMIP is enabled by > setting a bit in CR4. If that bit is not supposed to be set, that could > cause a #GP fault. I just meant that some folks probably appreciate being able to build out all the Intel-specific features. Not that it causes a functional problem.