Re: [Xen-devel] [PATCH v5 2/9] x86/iommu: add IOMMU entries for p2m_mmio_direct pages

2017-01-21 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Saturday, January 21, 2017 2:44 AM > > On 19/01/17 17:29, Roger Pau Monne wrote: > > There's nothing wrong with allowing the domain to perform DMA transfers to > > MMIO areas that it already can access from the CPU, and this allows u

Re: [Xen-devel] [PATCH v5 2/9] x86/iommu: add IOMMU entries for p2m_mmio_direct pages

2017-01-20 Thread Andrew Cooper
On 19/01/17 17:29, Roger Pau Monne wrote: > There's nothing wrong with allowing the domain to perform DMA transfers to > MMIO areas that it already can access from the CPU, and this allows us to > remove the hack in set_identity_p2m_entry for PVH Dom0. > > Signed-off-by: Roger Pau Monné Subject t

Re: [Xen-devel] [PATCH v5 2/9] x86/iommu: add IOMMU entries for p2m_mmio_direct pages

2017-01-20 Thread Roger Pau Monne
On Fri, Jan 20, 2017 at 06:41:06AM +, Tian, Kevin wrote: > > From: Roger Pau Monne [mailto:roger@citrix.com] > > Sent: Friday, January 20, 2017 1:30 AM > > > > There's nothing wrong with allowing the domain to perform DMA transfers to > > MMIO areas that it already can access from the CPU,

Re: [Xen-devel] [PATCH v5 2/9] x86/iommu: add IOMMU entries for p2m_mmio_direct pages

2017-01-19 Thread Tian, Kevin
> From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: Friday, January 20, 2017 1:30 AM > > There's nothing wrong with allowing the domain to perform DMA transfers to > MMIO areas that it already can access from the CPU, and this allows us to > remove the hack in set_identity_p2m_entry for

[Xen-devel] [PATCH v5 2/9] x86/iommu: add IOMMU entries for p2m_mmio_direct pages

2017-01-19 Thread Roger Pau Monne
There's nothing wrong with allowing the domain to perform DMA transfers to MMIO areas that it already can access from the CPU, and this allows us to remove the hack in set_identity_p2m_entry for PVH Dom0. Signed-off-by: Roger Pau Monné --- Cc: Jun Nakajima Cc: Kevin Tian Cc: George Dunlap Cc: