Re: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

2019-11-15 Thread Andrew Cooper
019 16:42 >>>> To: xen-devel@lists.xenproject.org >>>> Cc: Juergen Gross ; Sander Eikelenboom >>>> ; Andrew Cooper >>>> Subject: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating >>>> >>>> update_paging_mode() in the

Re: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

2019-11-15 Thread Durrant, Paul
> -Original Message- > From: Jan Beulich > Sent: 15 November 2019 09:29 > To: Durrant, Paul > Cc: xen-devel@lists.xenproject.org; Andrew Cooper > ; Sander Eikelenboom ; > Juergen Gross > Subject: Re: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

Re: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

2019-11-15 Thread Jan Beulich
On 14.11.2019 18:29, Durrant, Paul wrote: >> -Original Message- >> From: Xen-devel On Behalf Of Jan >> Beulich >> Sent: 14 November 2019 16:42 >> To: xen-devel@lists.xenproject.org >> Cc: Juergen Gross ; Sander Eikelenboom >> ; Andrew Cooper

Re: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

2019-11-14 Thread Durrant, Paul
> -Original Message- > From: Xen-devel On Behalf Of Jan > Beulich > Sent: 14 November 2019 16:42 > To: xen-devel@lists.xenproject.org > Cc: Juergen Gross ; Sander Eikelenboom > ; Andrew Cooper > Subject: [Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

[Xen-devel] [PATCH v2 0/2] AMD/IOMMU: re-work mode updating

2019-11-14 Thread Jan Beulich
update_paging_mode() in the AMD IOMMU code expects to be invoked with the PCI devices lock held. The check occurring only when the mode actually needs updating, the violation of this rule by the majority of callers did go unnoticed until per-domain IOMMU setup was changed to do away with on-demand