Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Durrant, Paul
> -Original Message- > From: Jan Beulich > Sent: 10 December 2019 09:45 > To: Durrant, Paul > Cc: Jürgen Groß ; Tian, Kevin ; > Andrew Cooper ; xen-devel@lists.xenproject.org; > Roger Pau Monné ; Wei Liu > Subject: Re: [PATCH v2] x86 / iommu: set up a scratch page in the > quarantine

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Jan Beulich
On 10.12.2019 10:16, Durrant, Paul wrote: >> -Original Message- >> From: Jürgen Groß >> Sent: 10 December 2019 09:07 >> To: Jan Beulich >> Cc: Tian, Kevin ; Durrant, Paul >> ; Andrew Cooper ; xen- >> de...@lists.xenproject.org; Roger Pau Monné ; Wei >> Liu >> Subject: Re: [PATCH v2] x86

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Durrant, Paul
> -Original Message- > From: Jürgen Groß > Sent: 10 December 2019 09:07 > To: Jan Beulich > Cc: Tian, Kevin ; Durrant, Paul > ; Andrew Cooper ; xen- > de...@lists.xenproject.org; Roger Pau Monné ; Wei > Liu > Subject: Re: [PATCH v2] x86 / iommu: set up a scratch page in the > quarantine

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Jürgen Groß
On 10.12.19 09:57, Jan Beulich wrote: On 10.12.2019 09:12, Jürgen Groß wrote: On 10.12.19 09:05, Jan Beulich wrote: On 10.12.2019 08:16, Tian, Kevin wrote: While the quarantine idea sounds good overall, I'm still not convinced to have it the only way in place just for handling some

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Jan Beulich
On 10.12.2019 09:12, Jürgen Groß wrote: > On 10.12.19 09:05, Jan Beulich wrote: >> On 10.12.2019 08:16, Tian, Kevin wrote: >>> While the quarantine idea sounds good overall, I'm still not convinced >>> to have it the only way in place just for handling some known-buggy >>> device. It kills the

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Durrant, Paul
> -Original Message- > From: Jürgen Groß > Sent: 10 December 2019 08:12 > To: Jan Beulich ; Tian, Kevin ; > Durrant, Paul > Cc: Andrew Cooper ; xen- > de...@lists.xenproject.org; Roger Pau Monné ; Wei > Liu > Subject: Re: [PATCH v2] x86 / iommu: set up a scratch page in the > quarantine

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Jürgen Groß
On 10.12.19 09:05, Jan Beulich wrote: On 10.12.2019 08:16, Tian, Kevin wrote: From: Jan Beulich Sent: Tuesday, December 3, 2019 5:36 PM On 28.11.2019 12:32, Jürgen Groß wrote: On 28.11.19 12:17, Jan Beulich wrote: On 27.11.2019 18:11, Paul Durrant wrote: This patch introduces a new

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-10 Thread Jan Beulich
On 10.12.2019 08:16, Tian, Kevin wrote: >> From: Jan Beulich >> Sent: Tuesday, December 3, 2019 5:36 PM >> >> On 28.11.2019 12:32, Jürgen Groß wrote: >>> On 28.11.19 12:17, Jan Beulich wrote: On 27.11.2019 18:11, Paul Durrant wrote: > This patch introduces a new iommu_op to facilitate a

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-09 Thread Tian, Kevin
> From: Jan Beulich > Sent: Tuesday, December 3, 2019 5:36 PM > > On 28.11.2019 12:32, Jürgen Groß wrote: > > On 28.11.19 12:17, Jan Beulich wrote: > >> On 27.11.2019 18:11, Paul Durrant wrote: > >>> This patch introduces a new iommu_op to facilitate a per- > implementation > >>> quarantine set

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-12-03 Thread Jan Beulich
On 28.11.2019 12:32, Jürgen Groß wrote: > On 28.11.19 12:17, Jan Beulich wrote: >> On 27.11.2019 18:11, Paul Durrant wrote: >>> This patch introduces a new iommu_op to facilitate a per-implementation >>> quarantine set up, and then further code for x86 implementations >>> (amd and vtd) to set up a

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-11-28 Thread Jürgen Groß
On 28.11.19 12:17, Jan Beulich wrote: On 27.11.2019 18:11, Paul Durrant wrote: This patch introduces a new iommu_op to facilitate a per-implementation quarantine set up, and then further code for x86 implementations (amd and vtd) to set up a read-only scratch page to serve as the source for DMA

Re: [Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-11-28 Thread Jan Beulich
On 27.11.2019 18:11, Paul Durrant wrote: > This patch introduces a new iommu_op to facilitate a per-implementation > quarantine set up, and then further code for x86 implementations > (amd and vtd) to set up a read-only scratch page to serve as the source > for DMA reads whilst a device is

[Xen-devel] [PATCH v2] x86 / iommu: set up a scratch page in the quarantine domain

2019-11-27 Thread Paul Durrant
This patch introduces a new iommu_op to facilitate a per-implementation quarantine set up, and then further code for x86 implementations (amd and vtd) to set up a read-only scratch page to serve as the source for DMA reads whilst a device is assigned to dom_io. DMA writes will continue to fault as