Re: [Xen-devel] [RFC PATCH resend] PVH Dom0 RMRR IOMMU mapping regression fix

2015-09-25 Thread Jan Beulich
>>> On 25.09.15 at 17:18, wrote: > On Fri, Sep 25, 2015 at 12:36:09AM -0600, Jan Beulich wrote: >> >>> On 25.09.15 at 01:53, wrote: >> > --- a/xen/arch/x86/mm/p2m.c >> > +++ b/xen/arch/x86/mm/p2m.c >> > @@ -971,7 +971,17 @@ int set_identity_p2m_entry(struct domain *d, unsigned >> > long gfn, >>

Re: [Xen-devel] [RFC PATCH resend] PVH Dom0 RMRR IOMMU mapping regression fix

2015-09-25 Thread Elena Ufimtseva
On Fri, Sep 25, 2015 at 12:36:09AM -0600, Jan Beulich wrote: > >>> On 25.09.15 at 01:53, wrote: > > Permissions for p2m entry of read-only > > mmio regions are left unchanged as leaving only 'r' cause page faults. I am > > not sure what the reason of it yet, will try to dig it further. > > Yes

Re: [Xen-devel] [RFC PATCH resend] PVH Dom0 RMRR IOMMU mapping regression fix

2015-09-24 Thread Jan Beulich
>>> On 25.09.15 at 01:53, wrote: > Permissions for p2m entry of read-only > mmio regions are left unchanged as leaving only 'r' cause page faults. I am > not sure what the reason of it yet, will try to dig it further. Yes please - imo this absolutely should be changed to just r along with the r

[Xen-devel] [RFC PATCH resend] PVH Dom0 RMRR IOMMU mapping regression fix

2015-09-24 Thread elena . ufimtseva
From: Elena Ufimtseva This patch addresses a regression introduced by commit 5ae03990c120a7b3067a52d9784c9aa72c0705a6 in new set_identity_p2m_entry. RMRRs are not being mapped in IOMMU for PVH Dom0. This causes pages faults and some long 'hang-like' delays during Dom0 PVH boot and device assign