[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] PVH dom0 creation fails - the system freezes
On Wed, Aug 08, 2018 at 11:44:28AM +0200, Roger Pau Monné wrote: > I just realized that I've dropped a chunk from my series while > rebasing, could you please try again with the following diff applied > on top of my series? > > diff --git a/xen/drivers/passthrough/x86/iommu.c > b/xen/drivers/passthrough/x86/iommu.c > index 6aec43ed1a..6271d8b671 100644 > --- a/xen/drivers/passthrough/x86/iommu.c > +++ b/xen/drivers/passthrough/x86/iommu.c > @@ -209,7 +209,13 @@ void __hwdom_init arch_iommu_hwdom_init(struct domain *d) > if ( !hwdom_iommu_map(d, pfn, max_pfn) ) > continue; > > - rc = iommu_map_page(d, pfn, pfn, IOMMUF_readable|IOMMUF_writable); > + if ( iommu_use_hap_pt(d) ) > + { > + ASSERT(is_hvm_domain(d)); > + rc = set_identity_p2m_entry(d, pfn, p2m_access_rw, 0); > + } > + else > + rc = iommu_map_page(d, pfn, pfn, > IOMMUF_readable|IOMMUF_writable); > if ( rc ) > printk(XENLOG_WARNING " d%d: IOMMU mapping failed: %d\n", > d->domain_id, rc); I've pushed a new version that has this chunk, so it might be easier for you to just fetch and test: git://xenbits.xen.org/people/royger/xen.git iommu_inclusive_v4 Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |