[Xen-devel] [PATCH v2 4/4] x86/dom0: re-order DMA remapping enabling for PVH Dom0

2017-08-11 Thread Roger Pau Monne
Make sure the reserved regions are setup before enabling the DMA remapping in the IOMMU, by calling dom0_setup_permissions before iommu_hwdom_init. Also, in order to workaround IOMMU issues seen on pre-Haswell Intel hardware, as described in patch "introduce a PVH implementation of iommu_inclusive_

Re: [Xen-devel] [PATCH v2 4/4] x86/dom0: re-order DMA remapping enabling for PVH Dom0

2017-08-22 Thread Jan Beulich
>>> On 11.08.17 at 18:43, wrote: > Make sure the reserved regions are setup before enabling the DMA > remapping in the IOMMU, by calling dom0_setup_permissions before > iommu_hwdom_init. I can't match up this part with ... > --- a/xen/arch/x86/hvm/dom0_build.c > +++ b/xen/arch/x86/hvm/dom0_build

Re: [Xen-devel] [PATCH v2 4/4] x86/dom0: re-order DMA remapping enabling for PVH Dom0

2017-08-22 Thread Roger Pau Monne
On Tue, Aug 22, 2017 at 06:37:15AM -0600, Jan Beulich wrote: > >>> On 11.08.17 at 18:43, wrote: > > Make sure the reserved regions are setup before enabling the DMA > > remapping in the IOMMU, by calling dom0_setup_permissions before > > iommu_hwdom_init. > > I can't match up this part with ... >

Re: [Xen-devel] [PATCH v2 4/4] x86/dom0: re-order DMA remapping enabling for PVH Dom0

2017-08-23 Thread Jan Beulich
>>> On 22.08.17 at 16:05, wrote: > On Tue, Aug 22, 2017 at 06:37:15AM -0600, Jan Beulich wrote: >> >>> On 11.08.17 at 18:43, wrote: >> > Make sure the reserved regions are setup before enabling the DMA >> > remapping in the IOMMU, by calling dom0_setup_permissions before >> > iommu_hwdom_init. >>