Merge tag 'pci-v5.2-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 22 Jun 2019 16:42:29 +0000 (09:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 22 Jun 2019 16:42:29 +0000 (09:42 -0700)
Pull PCI fix from Bjorn Helgaas:
 "If an IOMMU is present, ignore the P2PDMA whitelist we added for v5.2
  because we don't yet know how to support P2PDMA in that case (Logan
  Gunthorpe)"

* tag 'pci-v5.2-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
  PCI/P2PDMA: Ignore root complex whitelist when an IOMMU is present

1  2 
drivers/pci/p2pdma.c

  #include <linux/percpu-refcount.h>
  #include <linux/random.h>
  #include <linux/seq_buf.h>
+ #include <linux/iommu.h>
  
  struct pci_p2pdma {
 -      struct percpu_ref devmap_ref;
 -      struct completion devmap_ref_done;
        struct gen_pool *pool;
        bool p2pmem_published;
  };