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

Moritz Fischer mdf at kernel.org
Thu Jan 28 12:11:58 EST 2021


Hi Catalin,

On Wed, Jan 27, 2021 at 01:09:36PM +0000, 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.
> > 
> > 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.
> > 
> > [...]
> 
> Applied to arm64 (for-next/fixes), thanks!
> 
> [1/1] ACPI/IORT: Do not blindly trust DMA masks from firmware
>       https://git.kernel.org/arm64/c/a1df829ead58
> 
> -- 
> Catalin
> 

Should we consider this for stable, too? If so I can send an email to
stable@ once it's in Linus' tree, since I'm the one forgetting to CC
stable in the first place :)

It would be nice if at least 5.10 would get this.

Cheers,
Moritz



More information about the linux-arm-kernel mailing list