cxl/pci: Ignore unknown register block types
authorBen Widawsky <ben.widawsky@intel.com>
Fri, 16 Jul 2021 23:15:46 +0000 (16:15 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 Aug 2021 15:27:02 +0000 (08:27 -0700)
commit1e39db573e4cdf798b899de2b1e72ac9bea08013
treeaef8ea178cd6d924b61b377ba2e1ff55689d8c9c
parent3d135db510240fefd79da46181493d3e3b415f6b
cxl/pci: Ignore unknown register block types

In an effort to explicit avoid supporting vendor specific register
blocks (which can happily be mapped from userspace), entirely skip
probing unknown types. The secondary benefit of this will be revealed
in the future with code simplification.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210716231548.174778-2-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/pci.c