From: "Jan Beulich" Subject: Re: [PATCH v2 07/12] x86/altp2m: add control of suppress_ve. Date: Wed, 24 Jun 2015 15:38:06 +0100 Message-ID: <558ADCEE0200007800088FF7@mail.emea.novell.com> References: <1434999372-3688-1-git-send-email-edmund.h.white@intel.com> <1434999372-3688-8-git-send-email-edmund.h.white@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434999372-3688-8-git-send-email-edmund.h.white@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ed White Cc: Tim Deegan , Ravi Sahita , Wei Liu , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, tlengyel@novetta.com, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 22.06.15 at 20:56, wrote: > --- a/xen/include/asm-x86/p2m.h > +++ b/xen/include/asm-x86/p2m.h > @@ -237,6 +237,19 @@ struct p2m_domain { > p2m_access_t *p2ma, > p2m_query_t q, > unsigned int *page_order); > + int (*set_entry_full)(struct p2m_domain *p2m, > + unsigned long gfn, > + mfn_t mfn, unsigned int page_order, > + p2m_type_t p2mt, > + p2m_access_t p2ma, > + unsigned int sve); > + mfn_t (*get_entry_full)(struct p2m_domain *p2m, > + unsigned long gfn, > + p2m_type_t *p2mt, > + p2m_access_t *p2ma, > + p2m_query_t q, > + unsigned int *page_order, > + unsigned int *sve); I have to admit that I find the _full suffixes here pretty odd. Based on the functionality, they should be _sve. But then it seems questionable how they could be useful to the generic p2m layer anyway, i.e. why there would need to be such hooks in the first place. Jan