From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865Ab1EKTab (ORCPT ); Wed, 11 May 2011 15:30:31 -0400 Received: from mga01.intel.com ([192.55.52.88]:5862 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754395Ab1EKTa3 (ORCPT ); Wed, 11 May 2011 15:30:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,354,1301900400"; d="scan'208";a="468440" From: "Fenghua Yu" To: "Ingo Molnar" , "Thomas Gleixner" , "H Peter Anvin" , "Asit K Mallick" , "Bruce Schlobohm" Cc: "linux-kernel" , "Fenghua Yu" Subject: [PATCH 0/3] Enable SMEP CPU Feature Date: Wed, 11 May 2011 12:17:57 -0700 Message-Id: <1305141480-843-1-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 1.7.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fenghua Yu Intel new CPU supports SMEP (Supervisor Mode Execution Protection). SMEP prevents kernel from executing code in application. Updated Intel SDM describes this CPU feature. The document will be published soon. Fenghua Yu (3): x86, cpu: Add CPU flags for SMEP x86, cpu: Add SMEP CPU feature in CR4 x86, cpu: Enable/disable SMEP Documentation/kernel-parameters.txt | 4 ++++ arch/x86/include/asm/cpufeature.h | 1 + arch/x86/include/asm/processor-flags.h | 1 + arch/x86/kernel/cpu/common.c | 21 +++++++++++++++++++++ arch/x86/kernel/cpu/scattered.c | 1 + 5 files changed, 28 insertions(+), 0 deletions(-) -- 1.7.2