Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-28 Thread Moritz Fischer
Hi Catalin, On Wed, Jan 27, 2021 at 01:09:36PM +, Catalin Marinas wrote: > On Thu, 21 Jan 2021 17:24:19 -0800, Moritz Fischer wrote: > > Address issue observed on real world system with suboptimal IORT table > > where DMA masks of PCI devices would get set to 0 as result. > > > >

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-27 Thread Catalin Marinas
On Thu, 21 Jan 2021 17:24:19 -0800, Moritz Fischer wrote: > Address issue observed on real world system with suboptimal IORT table > where DMA masks of PCI devices would get set to 0 as result. > > iort_dma_setup() would query the root complex'/named component IORT > entry for a DMA mask, and use

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-27 Thread Lorenzo Pieralisi
On Thu, Jan 21, 2021 at 05:24:19PM -0800, Moritz Fischer wrote: > Address issue observed on real world system with suboptimal IORT table > where DMA masks of PCI devices would get set to 0 as result. > > iort_dma_setup() would query the root complex'/named component IORT > entry for a DMA mask,

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-22 Thread Moritz Fischer
On Fri, Jan 22, 2021 at 07:17:59PM +, Robin Murphy wrote: > On 2021-01-22 17:50, Moritz Fischer wrote: > > Hi Robin, > > > > On Fri, Jan 22, 2021 at 02:42:05PM +, Robin Murphy wrote: > > > On 2021-01-22 01:24, Moritz Fischer wrote: > > > > Address issue observed on real world system with

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-22 Thread Robin Murphy
On 2021-01-22 17:50, Moritz Fischer wrote: Hi Robin, On Fri, Jan 22, 2021 at 02:42:05PM +, Robin Murphy wrote: On 2021-01-22 01:24, Moritz Fischer wrote: Address issue observed on real world system with suboptimal IORT table where DMA masks of PCI devices would get set to 0 as result.

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-22 Thread Moritz Fischer
Hi Robin, On Fri, Jan 22, 2021 at 02:42:05PM +, Robin Murphy wrote: > On 2021-01-22 01:24, Moritz Fischer wrote: > > Address issue observed on real world system with suboptimal IORT table > > where DMA masks of PCI devices would get set to 0 as result. > > > > iort_dma_setup() would query

Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-22 Thread Robin Murphy
On 2021-01-22 01:24, Moritz Fischer wrote: Address issue observed on real world system with suboptimal IORT table where DMA masks of PCI devices would get set to 0 as result. iort_dma_setup() would query the root complex'/named component IORT entry for a DMA mask, and use that over the one the

[PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-21 Thread Moritz Fischer
Address issue observed on real world system with suboptimal IORT table where DMA masks of PCI devices would get set to 0 as result. iort_dma_setup() would query the root complex'/named component IORT entry for a DMA mask, and use that over the one the device has been configured with earlier.