Re: [Xen-devel] [PATCH v5 10/10] AMD/IOMMU: restrict interrupt remapping table sizes

2019-09-18 Thread Jan Beulich
On 18.09.2019 12:45, Andrew Cooper wrote: > On 18/09/2019 09:11, Jan Beulich wrote: >> On 17.09.2019 17:30, Andrew Cooper wrote: >>> On 06/08/2019 14:11, Jan Beulich wrote: There's no point setting up tables with more space than a PCI device can use. For both MSI and MSI-X we can determin

Re: [Xen-devel] [PATCH v5 10/10] AMD/IOMMU: restrict interrupt remapping table sizes

2019-09-18 Thread Andrew Cooper
On 18/09/2019 09:11, Jan Beulich wrote: > On 17.09.2019 17:30, Andrew Cooper wrote: >> On 06/08/2019 14:11, Jan Beulich wrote: >>> There's no point setting up tables with more space than a PCI device can >>> use. For both MSI and MSI-X we can determine how many interrupts could >>> be set up at mos

Re: [Xen-devel] [PATCH v5 10/10] AMD/IOMMU: restrict interrupt remapping table sizes

2019-09-18 Thread Jan Beulich
On 17.09.2019 17:30, Andrew Cooper wrote: > On 06/08/2019 14:11, Jan Beulich wrote: >> There's no point setting up tables with more space than a PCI device can >> use. For both MSI and MSI-X we can determine how many interrupts could >> be set up at most. Tables allocated during ACPI table parsing,

Re: [Xen-devel] [PATCH v5 10/10] AMD/IOMMU: restrict interrupt remapping table sizes

2019-09-17 Thread Andrew Cooper
On 06/08/2019 14:11, Jan Beulich wrote: > There's no point setting up tables with more space than a PCI device can > use. For both MSI and MSI-X we can determine how many interrupts could > be set up at most. Tables allocated during ACPI table parsing, however, > will (for now at least) continue to

[Xen-devel] [PATCH v5 10/10] AMD/IOMMU: restrict interrupt remapping table sizes

2019-08-06 Thread Jan Beulich
There's no point setting up tables with more space than a PCI device can use. For both MSI and MSI-X we can determine how many interrupts could be set up at most. Tables allocated during ACPI table parsing, however, will (for now at least) continue to be set up to have maximum size. Note that unt