Re: [PATCH] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-02-27 Thread Jan Beulich
On 26.02.2023 01:08, Marek Marczykowski-Górecki wrote: > If the scope for IGD's IOMMU contains additional device that doesn't > actually exist, iommu=no-igfx would not disable that IOMMU. In this > particular case (Thinkpad x230) it included > 00:02.1, but there is no such device on this platform.

[PATCH] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-02-25 Thread Marek Marczykowski-Górecki
If the scope for IGD's IOMMU contains additional device that doesn't actually exist, iommu=no-igfx would not disable that IOMMU. In this particular case (Thinkpad x230) it included 00:02.1, but there is no such device on this platform. Consider only existing devices for "gfx only" check. Signed-of