All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yang, Wei Y" <wei.y.yang@intel.com>
To: Avi Kivity <avi@redhat.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: [Patch v5 0/4] Enable SMEP feature support for kvm
Date: Mon, 30 May 2011 11:01:03 +0800	[thread overview]
Message-ID: <5D8008F58939784290FAB48F5497519844E92781DD@shsmsx502.ccr.corp.intel.com> (raw)


This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
Protection) in KVM. SMEP prevents kernel from executing code in application.
Updated Intel SDM describes this CPU feature. The document will be 
published soon.

This patchset is based on Fenghua's SMEP patch series, as referred by:
https://lkml.org/lkml/2011/5/17/523

changes since v4:
	Update patch 1/4 comment
	Change PT_USER_MASK to ACC_USER_MASK

changes since v3:
	Add SMEP bit in CR4_RESERVED_BITS while removing cr4_reserved_bits;
	Mask CPUID leaf 7 ebx against host capability word9 in do_cpuid_ent;
 
Changes since v2: 
	add instruction fetch checking when walking guest page table.

---
 arch/x86/include/asm/kvm_host.h |    2 +-
 arch/x86/kvm/paging_tmpl.h      |    9 ++++++++-
 arch/x86/kvm/x86.c              |   22 +++++++++++++++++++---
 3 files changed, 28 insertions(+), 5 deletions(-)



             reply	other threads:[~2011-05-30  3:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30  3:01 Yang, Wei Y [this message]
2011-05-30  8:52 ` [Patch v5 0/4] Enable SMEP feature support for kvm Avi Kivity
2011-05-30  9:08   ` Tian, Kevin
2011-05-30  9:13     ` Avi Kivity
2011-05-30  9:18       ` Tian, Kevin
2011-05-30 10:00         ` Avi Kivity
2011-05-30 10:32           ` Tian, Kevin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5D8008F58939784290FAB48F5497519844E92781DD@shsmsx502.ccr.corp.intel.com \
    --to=wei.y.yang@intel.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.