OSDN Git Service

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)
commitcf201bfe8cdc9ba11c4f312945b908ed24c7b7b5
tree99303b455a08cbcdf6d8f45c8f4e1ee0886b901e
parentf9c125b9eb30650356cf582003365b1ecbd7003b
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