Re: [Xen-devel] [PATCH v5 8/8] x86/iommu: add map-reserved dom0-iommu option to map reserved memory ranges

2018-08-17 Thread Jan Beulich
>>> On 17.08.18 at 13:17, wrote: > On Fri, Aug 17, 2018 at 05:08:08AM -0600, Jan Beulich wrote: >> >>> On 14.08.18 at 15:43, wrote: >> > @@ -185,7 +219,13 @@ void __hwdom_init arch_iommu_hwdom_init(struct domain >> > *d) >> > if ( !hwdom_iommu_map(d, pfn, max_pfn) ) >> >

Re: [Xen-devel] [PATCH v5 8/8] x86/iommu: add map-reserved dom0-iommu option to map reserved memory ranges

2018-08-17 Thread Roger Pau Monné
On Fri, Aug 17, 2018 at 05:08:08AM -0600, Jan Beulich wrote: > >>> On 14.08.18 at 15:43, wrote: > > @@ -185,7 +219,13 @@ void __hwdom_init arch_iommu_hwdom_init(struct domain > > *d) > > if ( !hwdom_iommu_map(d, pfn, max_pfn) ) > > continue; > > > > -rc =

Re: [Xen-devel] [PATCH v5 8/8] x86/iommu: add map-reserved dom0-iommu option to map reserved memory ranges

2018-08-17 Thread Jan Beulich
>>> On 14.08.18 at 15:43, wrote: > @@ -138,13 +139,20 @@ static bool __hwdom_init hwdom_iommu_map(const struct > domain *d, > unsigned long pfn, > unsigned long max_pfn) > { > +unsigned int i; > + > /*

[Xen-devel] [PATCH v5 8/8] x86/iommu: add map-reserved dom0-iommu option to map reserved memory ranges

2018-08-14 Thread Roger Pau Monne
Several people have reported hardware issues (malfunctioning USB controllers) due to iommu page faults on Intel hardware. Those faults are caused by missing RMRR (VTd) entries in the ACPI tables. Those can be worked around on VTd hardware by manually adding RMRR entries on the command line, this