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

2021-01-21 Thread Moritz Fischer
Robin, On Thu, Jan 21, 2021 at 11:15:05PM +, Robin Murphy wrote: > On 2021-01-21 21:17, Moritz Fischer wrote: > > Robin, > > > > On Thu, Jan 21, 2021 at 08:08:42PM +, Robin Murphy wrote: > > > On 2021-01-21 19:16, Moritz Fischer wrote: > > > > Address issue observed on real world system

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

2021-01-21 Thread Robin Murphy
On 2021-01-21 21:17, Moritz Fischer wrote: Robin, On Thu, Jan 21, 2021 at 08:08:42PM +, Robin Murphy wrote: On 2021-01-21 19:16, 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] ACPI/IORT: Do not blindly trust DMA masks from firmware

2021-01-21 Thread Moritz Fischer
Robin, On Thu, Jan 21, 2021 at 08:08:42PM +, Robin Murphy wrote: > On 2021-01-21 19:16, 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

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

2021-01-21 Thread Robin Murphy
On 2021-01-21 19:16, 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' IORT entry for a DMA mask, and use that over the one the device has been

[PATCH] 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' IORT entry for a DMA mask, and use that over the one the device has been configured with earlier. Ideally we want to