]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/P2PDMA: Warn if host bridge not in whitelist
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 10 Jun 2021 16:06:07 +0000 (10:06 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jun 2021 23:01:41 +0000 (18:01 -0500)
commitbd521b33817325f880da8d9dbee4052696d4e1f7
tree99303b455a08cbcdf6d8f45c8f4e1ee0886b901e
parentdaf6563a7351d8be45fc2bf9455f287cb1d9a1b9
PCI/P2PDMA: Warn if host bridge not in whitelist

If the host bridge is not in the whitelist print a warning in the
calc_map_type_and_dist_warn() path detailing the vendor and device IDs that
would need to be added to the whitelist.

Suggested-by: Don Dutile <ddutile@redhat.com>
Link: https://lore.kernel.org/r/20210610160609.28447-5-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/p2pdma.c