From: "Jan Beulich" Subject: Re: [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server Date: Tue, 07 Jul 2015 13:53:06 +0100 Message-ID: <559BE7D2020000780008D715@mail.emea.novell.com> References: <1436163912-1506-1-git-send-email-yu.c.zhang@linux.intel.com> <1436163912-1506-2-git-send-email-yu.c.zhang@linux.intel.com> <9AAE0902D5BC7E449B7C8E4E778ABCD02598AEEF@AMSPEX01CL02.citrite.net> <9AAE0902D5BC7E449B7C8E4E778ABCD02598B096@AMSPEX01CL02.citrite.net> <559A826E.1000905@eu.citrix.com> <9AAE0902D5BC7E449B7C8E4E778ABCD02598B222@AMSPEX01CL02.citrite.net> <559B8AD2.4090806@linux.intel.com> <9AAE0902D5BC7E449B7C8E4E778ABCD02598C7B8@AMSPEX01CL02.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD02598C7B8@AMSPEX01CL02.citrite.net> 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: Paul Durrant Cc: Kevin Tian , "Keir (Xen.org)" , AndrewCooper , George Dunlap , "xen-devel@lists.xen.org" , Zhang Yu , "zhiyuan.lv@intel.com" List-Id: xen-devel@lists.xenproject.org >>> On 07.07.15 at 11:23, wrote: > I wonder, would it be sufficient - at this stage - to add a new mapping sub-op > to the HVM op to distinguish mapping of mapping gfns vs. MMIO ranges. That > way we could use the same implementation underneath for now (using the > rb_rangeset, which I think stands on its own merits for MMIO ranges anyway) Which would be (taking into account the good description of the differences between RAM and MMIO pages given by George yesterday [I think])? I continue to not be convinced we need this new rangeset type (the more that it's name seems wrong, since - as said by George - we're unlikely to deal with ranges here). Jan > but allow them to diverge later... perhaps using a new P2T (page-to-type) > table, which I believe may become necessary as Intel reclaims bits for h/w > use and thus squeezes our existing number of supported page types. > > Paul