Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-29 Thread Roger Pau Monne
On Mon, Aug 28, 2017 at 06:14:45AM +, Tian, Kevin wrote: > > From: Jan Beulich [mailto:jbeul...@suse.com] > > Sent: Wednesday, August 23, 2017 4:19 PM > > To: Roger Pau Monne > > Cc: Tian, Kevin ; xen-de...@lists.xenproject.org > > Subject: Re: [Xen-devel] [PATC

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-27 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Wednesday, August 23, 2017 4:19 PM > To: Roger Pau Monne > Cc: Tian, Kevin ; xen-de...@lists.xenproject.org > Subject: Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH > implementation of iommu_inclusive_mapping >

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-27 Thread Tian, Kevin
> From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: Thursday, August 17, 2017 5:39 PM > > > > > > > +void __hwdom_init vtd_set_pvh_hwdom_mapping(struct domain *d) > > > +{ > > > +unsigned long pfn; > > > + > > > +BUG_ON(!is_hardware_domain(d)); > > > + > > > +if ( !iommu_incl

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-23 Thread Jan Beulich
>>> On 22.08.17 at 16:01, wrote: > On Tue, Aug 22, 2017 at 06:31:27AM -0600, Jan Beulich wrote: >> >>> On 11.08.17 at 18:43, wrote: >> > On certain Intel systems, as far as I can tell almost all pre-Haswell ones, >> > trying to boot a PVH Dom0 will freeze the box completely, up to the point >> >

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-22 Thread Roger Pau Monne
On Tue, Aug 22, 2017 at 06:31:27AM -0600, Jan Beulich wrote: > >>> On 11.08.17 at 18:43, wrote: > > On certain Intel systems, as far as I can tell almost all pre-Haswell ones, > > trying to boot a PVH Dom0 will freeze the box completely, up to the point > > that > > not even the watchdog works. T

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-22 Thread Jan Beulich
>>> On 11.08.17 at 18:43, wrote: > On certain Intel systems, as far as I can tell almost all pre-Haswell ones, > trying to boot a PVH Dom0 will freeze the box completely, up to the point that > not even the watchdog works. The freeze happens exactly when enabling the DMA > remapping in the IOMMU,

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-17 Thread Roger Pau Monne
On Thu, Aug 17, 2017 at 03:28:29AM +, Tian, Kevin wrote: > > From: Roger Pau Monne [mailto:roger@citrix.com] > > Sent: Saturday, August 12, 2017 12:43 AM > > > > On certain Intel systems, as far as I can tell almost all pre-Haswell ones, > > trying to boot a PVH Dom0 will freeze the box co

Re: [Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-16 Thread Tian, Kevin
> From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: Saturday, August 12, 2017 12:43 AM > > On certain Intel systems, as far as I can tell almost all pre-Haswell ones, > trying to boot a PVH Dom0 will freeze the box completely, up to the point > that > not even the watchdog works. The fre

[Xen-devel] [PATCH v2 3/4] x86/vtd: introduce a PVH implementation of iommu_inclusive_mapping

2017-08-11 Thread Roger Pau Monne
On certain Intel systems, as far as I can tell almost all pre-Haswell ones, trying to boot a PVH Dom0 will freeze the box completely, up to the point that not even the watchdog works. The freeze happens exactly when enabling the DMA remapping in the IOMMU, the last line seen is: (XEN) [VT-D]iommu_