On Wed, Aug 12, 2015 at 10:19:04AM +0100, Wei Liu wrote: > On Tue, Aug 11, 2015 at 06:41:28PM +0100, Julien Grall wrote: > > Direct mapped domain has already the memory allocated 1:1, so we are > > directly using the gfn as mfn to map the RAM in the guest. > > > > While we are validating that the page associated to the first mfn belongs to > > the domain, the subsequent MFN are not validated when the extent_order > > is > 0. > > > > This may result to map memory region (MMIO, RAM) which doesn't belong to the > > domain. > > > > Although, only DOM0 on ARM is using a direct memory mapped. So it > > doesn't affect any guest (at least on the upstream version) or even x86. > > > > Signed-off-by: Julien Grall <julien.gr...@citrix.com> > > > > --- > > Cc: Ian Campbell <ian.campb...@citrix.com> > > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > > Cc: Jan Beulich <jbeul...@suse.com> > > Cc: Keir Fraser <k...@xen.org> > > Cc: Tim Deegan <t...@xen.org> > > > > This patch is a candidate for Xen 4.6 and backport to Xen 4.5 (and > > maybe 4.4). > > > > Fine by me in principle for this patch to go in 4.6.
I shall do this in a formal way. Release-acked-by: Wei Liu <wei.l...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel