Re: [PATCH v1 1/1] iommu/vt-d: Fix WARN_ON in iommu probe path

2024-04-09 Thread Govindapillai, Vinod
+Jani On Tue, 2024-04-09 at 12:36 +0300, Vinod Govindapillai wrote: > From: Lu Baolu > > Commit 1a75cc710b95 ("iommu/vt-d: Use rbtree to track iommu probed > devices") adds all devices probed by the iommu driver in a rbtree > indexed by the source ID of each device. It assumes that each device

[PATCH v1 1/1] iommu/vt-d: Fix WARN_ON in iommu probe path

2024-04-09 Thread Vinod Govindapillai
From: Lu Baolu Commit 1a75cc710b95 ("iommu/vt-d: Use rbtree to track iommu probed devices") adds all devices probed by the iommu driver in a rbtree indexed by the source ID of each device. It assumes that each device has a unique source ID. This assumption is incorrect and the VT-d spec doesn't