[PATCH 5/6] iova-reserve-dbg

Chris Wilson chris at chris-wilson.co.uk
Sat Jan 16 11:10:37 UTC 2021


---
 drivers/iommu/dma-iommu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c
index a6bf9a223cce..cbec458680e5 100644
--- a/drivers/iommu/dma-iommu.c
+++ b/drivers/iommu/dma-iommu.c
@@ -235,6 +235,7 @@ static int iova_reserve_pci_windows(struct pci_dev *dev,
 	resource_list_for_each_entry(window, &bridge->dma_ranges) {
 		end = window->res->start - window->offset;
 resv_iova:
+		dev_info(&dev->dev, "reserve_iova %lu:%lu\n", start, end);
 		if (end > start) {
 			lo = iova_pfn(iovad, start);
 			hi = iova_pfn(iovad, end);
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list