Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-18 Thread Roger Pau Monné
On Tue, Apr 18, 2017 at 02:48:31AM -0600, Jan Beulich wrote: > >>> On 18.04.17 at 09:34, wrote: > > (XEN) Before DMA_GCMD_TE > > ( > > > > The hang seems to happen when writing DMA_GCMD_TE to the global command > > register, which enables the DMA remapping. After that the box is completely > > un

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-18 Thread Jan Beulich
>>> On 18.04.17 at 09:34, wrote: > (XEN) Before DMA_GCMD_TE > ( > > The hang seems to happen when writing DMA_GCMD_TE to the global command > register, which enables the DMA remapping. After that the box is completely > unresponsive, not even the watchdog is working. How sure are you that this i

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-18 Thread Roger Pau Monné
On Tue, Apr 18, 2017 at 03:04:51AM +, Tian, Kevin wrote: > > From: Roger Pau Monné [mailto:roger@citrix.com] > > Sent: Friday, April 14, 2017 11:35 PM > > > > Hello, > > > > Although PVHv2 Dom0 is not yet finished, I've been trying the current code > > on > > different hardware, and found

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Tian, Kevin
> From: Roger Pau Monné [mailto:roger@citrix.com] > Sent: Friday, April 14, 2017 11:35 PM > > Hello, > > Although PVHv2 Dom0 is not yet finished, I've been trying the current code > on > different hardware, and found that with pre-Haswell Intel hardware PVHv2 > Dom0 > completely freezes the b

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Chao Gao
On Mon, Apr 17, 2017 at 01:57:10PM +0100, Roger Pau Monné wrote: >On Mon, Apr 17, 2017 at 01:47:47PM +0800, Chao Gao wrote: >> On Mon, Apr 17, 2017 at 01:21:01PM +0100, Roger Pau Monné wrote: >> >On Mon, Apr 17, 2017 at 01:12:27PM +0800, Chao Gao wrote: >> >[...] >> >> It works. I can test for you

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2017 at 01:47:47PM +0800, Chao Gao wrote: > On Mon, Apr 17, 2017 at 01:21:01PM +0100, Roger Pau Monné wrote: > >On Mon, Apr 17, 2017 at 01:12:27PM +0800, Chao Gao wrote: > >[...] > >> It works. I can test for you when you send out a formal patch. > > > >Thanks for the testing, will

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Chao Gao
On Mon, Apr 17, 2017 at 01:21:01PM +0100, Roger Pau Monné wrote: >On Mon, Apr 17, 2017 at 01:12:27PM +0800, Chao Gao wrote: >[...] >> It works. I can test for you when you send out a formal patch. > >Thanks for the testing, will send formal patch shortly. > >Have you been able to reproduce the IOMM

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2017 at 01:12:27PM +0800, Chao Gao wrote: [...] > It works. I can test for you when you send out a formal patch. Thanks for the testing, will send formal patch shortly. Have you been able to reproduce the IOMMU issue with that, or you just hit the panic at the end of PVH Dom0 buil

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Chao Gao
On Mon, Apr 17, 2017 at 11:38:33AM +0100, Roger Pau Monné wrote: >On Mon, Apr 17, 2017 at 10:49:45AM +0800, Chao Gao wrote: >> On Mon, Apr 17, 2017 at 09:38:54AM +0100, Roger Pau Monné wrote: >> >On Mon, Apr 17, 2017 at 09:03:12AM +0800, Chao Gao wrote: >> >> On Mon, Apr 17, 2017 at 08:47:48AM +010

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2017 at 10:49:45AM +0800, Chao Gao wrote: > On Mon, Apr 17, 2017 at 09:38:54AM +0100, Roger Pau Monné wrote: > >On Mon, Apr 17, 2017 at 09:03:12AM +0800, Chao Gao wrote: > >> On Mon, Apr 17, 2017 at 08:47:48AM +0100, Roger Pau Monné wrote: > >> >On Mon, Apr 17, 2017 at 07:32:45AM +0

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Chao Gao
On Mon, Apr 17, 2017 at 09:38:54AM +0100, Roger Pau Monné wrote: >On Mon, Apr 17, 2017 at 09:03:12AM +0800, Chao Gao wrote: >> On Mon, Apr 17, 2017 at 08:47:48AM +0100, Roger Pau Monné wrote: >> >On Mon, Apr 17, 2017 at 07:32:45AM +0800, Chao Gao wrote: >> >> On Fri, Apr 14, 2017 at 04:34:41PM +010

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2017 at 09:03:12AM +0800, Chao Gao wrote: > On Mon, Apr 17, 2017 at 08:47:48AM +0100, Roger Pau Monné wrote: > >On Mon, Apr 17, 2017 at 07:32:45AM +0800, Chao Gao wrote: > >> On Fri, Apr 14, 2017 at 04:34:41PM +0100, Roger Pau Monné wrote: > >> >Hello, > >> > > >> >Although PVHv2 Do

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Chao Gao
On Mon, Apr 17, 2017 at 08:47:48AM +0100, Roger Pau Monné wrote: >On Mon, Apr 17, 2017 at 07:32:45AM +0800, Chao Gao wrote: >> On Fri, Apr 14, 2017 at 04:34:41PM +0100, Roger Pau Monné wrote: >> >Hello, >> > >> >Although PVHv2 Dom0 is not yet finished, I've been trying the current code >> >on >> >

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2017 at 07:32:45AM +0800, Chao Gao wrote: > On Fri, Apr 14, 2017 at 04:34:41PM +0100, Roger Pau Monné wrote: > >Hello, > > > >Although PVHv2 Dom0 is not yet finished, I've been trying the current code on > >different hardware, and found that with pre-Haswell Intel hardware PVHv2 Dom

Re: [Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-16 Thread Chao Gao
On Fri, Apr 14, 2017 at 04:34:41PM +0100, Roger Pau Monné wrote: >Hello, > >Although PVHv2 Dom0 is not yet finished, I've been trying the current code on >different hardware, and found that with pre-Haswell Intel hardware PVHv2 Dom0 >completely freezes the box when calling iommu_hwdom_init in dom0_

[Xen-devel] PVH Dom0 Intel IOMMU issues

2017-04-14 Thread Roger Pau Monné
Hello, Although PVHv2 Dom0 is not yet finished, I've been trying the current code on different hardware, and found that with pre-Haswell Intel hardware PVHv2 Dom0 completely freezes the box when calling iommu_hwdom_init in dom0_construct_pvh. OTOH the same doesn't happen when using a newer CPU (ie