PCI: Add dma_ranges window list
authorSrinath Mannam <srinath.mannam@broadcom.com>
Fri, 3 May 2019 14:05:32 +0000 (19:35 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 6 May 2019 21:02:47 +0000 (16:02 -0500)
commite80a91ad302b3b66822756afc61f9f9c1658b9c9
tree8bbad2f4880f11f64b83655efd49166c2e405e1a
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
PCI: Add dma_ranges window list

Add a dma_ranges field in PCI host bridge structure to hold resource
entries list of memory regions in sorted order representing memory ranges
that can be accessed through DMA transactions.

Based-on-a-patch-by: Oza Pawandeep <oza.oza@broadcom.com>
Signed-off-by: Srinath Mannam <srinath.mannam@broadcom.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c
include/linux/pci.h