xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Wei Liu <wei.liu2@citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Tim Deegan <tim@xen.org>, Jan Beulich <JBeulich@suse.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH 0/5] x86: Remove vestigal PV Autotranslate pieces
Date: Mon, 12 Dec 2016 10:43:40 +0000	[thread overview]
Message-ID: <1481539425-9239-1-git-send-email-andrew.cooper3@citrix.com> (raw)

Autotranslate PV domains haven't been able to be built for two releases of
Xen, and noone has noticed.  The shadow emulation code for such domains has
never functioned correctly for guests running in a mode different to Xen.

This isn't as much cleanup as I intended to do, but it turns out that I pulled
a little too hard on a thread, and everything fell to pieces.  This reduced
series has had moderate testing within XenServer, and everything still appears
to be fine.

Toolstack and PVH folk: There is also toolstack side cleanup which can be
done, but the concept of a translated PV guest is also used for PVHv1.  I have
some extra deletion to contribute to whomever rips PVHv1 out of the domain
builder.

Andrew Cooper (5):
  x86/traps: Drop paging_mode_external() handling from the PV pagefault path
  x86/shadow: Tweak some initialisation in sh_page_fault()
  x86/paging: Enforce PG_external == PG_translate == PG_refcounts
  x86/shadow: Drop all emulation for PV vcpus
  x86/shadow: Misc minor cleanup

 xen/arch/x86/mm/paging.c        |  19 ++++---
 xen/arch/x86/mm/shadow/common.c | 112 +++++++---------------------------------
 xen/arch/x86/mm/shadow/multi.c  |  46 ++++-------------
 xen/arch/x86/traps.c            |  16 ++----
 xen/include/asm-x86/paging.h    |   9 +++-
 5 files changed, 55 insertions(+), 147 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2016-12-12 10:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12 10:43 Andrew Cooper [this message]
2016-12-12 10:43 ` [PATCH 1/5] x86/traps: Drop paging_mode_external() handling from the PV pagefault path Andrew Cooper
2016-12-12 11:19   ` Jan Beulich
2016-12-12 11:27   ` Tim Deegan
2016-12-12 11:45     ` Andrew Cooper
2016-12-12 11:57       ` Tim Deegan
2016-12-12 13:05         ` Andrew Cooper
2016-12-12 14:53           ` Tim Deegan
2016-12-12 10:43 ` [PATCH 2/5] x86/shadow: Tweak some initialisation in sh_page_fault() Andrew Cooper
2016-12-12 11:21   ` Jan Beulich
2016-12-12 11:31   ` Tim Deegan
2016-12-12 10:43 ` [PATCH 3/5] x86/paging: Enforce PG_external == PG_translate == PG_refcounts Andrew Cooper
2016-12-12 11:43   ` Tim Deegan
2016-12-12 11:59     ` Andrew Cooper
2016-12-12 12:48       ` Jan Beulich
2016-12-12 10:43 ` [PATCH 4/5] x86/shadow: Drop all emulation for PV vcpus Andrew Cooper
2016-12-12 11:47   ` Tim Deegan
2016-12-12 10:43 ` [PATCH 5/5] x86/shadow: Misc minor cleanup Andrew Cooper
2016-12-12 11:49   ` Tim Deegan

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=1481539425-9239-1-git-send-email-andrew.cooper3@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).