]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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

index a98126ad9c3aa1175073d25ccd89574b9c5fa690,84ba3058eadaa919b5c0239544859dac3c242c45..a4994aa3acc08e7864ae6ff649f8e6af0e2f9393
  #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;
  };