From: "Jan Beulich" Subject: Re: [PATCH v2 1/2] Resize the MAX_NR_IO_RANGES for ioreq server Date: Tue, 07 Jul 2015 16:27:09 +0100 Message-ID: <559C0BED020000780008DA04@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> <559BE7D2020000780008D715@mail.emea.novell.com> <9AAE0902D5BC7E449B7C8E4E778ABCD02598D2B4@AMSPEX01CL02.citrite.net> <559BF881020000780008D83D@mail.emea.novell.com> <9AAE0902D5BC7E449B7C8E4E778ABCD02598DC12@AMSPEX01CL02.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD02598DC12@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)" , Andrew Cooper , 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 17:12, wrote: > I don't think that the Xan parts of XenGT are that far off. I had a list of > 3 items: > > - 16 byte I/O brokenness, which should be fixed now > - Basic PV-IOMMU implementation, which I think Malcolm should be posting very soon No matter how soon Malcolm would post that, unless it is in a shape to go in without any revisions, it will - afaict - miss 4.6 (freezing at the end of the week). I can't even guarantee that your HVM emulation updates will have gone in by then, but I very much hope so. > - Shadow GTT emulation (which is what we're looking at here) > > I had a chat with George earlier and wondered whether we might approach > things this way: > > - Add a new sub op to HVMOP_[un]map_io_range_to_ioreq_server or a new > HVM_[un]map_gfn_to_ioreq_server > - Make rb_rangeset the default rangeset implementation (since I believe it > can only be an improvement even if it makes no significant difference for > small numbers of ranges) > - Use a common implementation for MMIO ranges and GFN ranges *for now* (which > does mean increasing the limit) to allow us to be functionally complete for > 4.6 > - Follow up (post-4.6) with a different ioreq server redirection > implementation for mmio-dm and mmio-dm-write pages, possibly based on claiming a > range of page types for emulator use, to optimize shadow GTT implementation. > > Does that sound plausible? Yes, except that I think all of this will be post-4.6. Jan