cxl/mem: Demarcate vendor specific capability IDs
authorBen Widawsky <ben.widawsky@intel.com>
Thu, 20 May 2021 20:48:52 +0000 (13:48 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 26 May 2021 18:20:17 +0000 (11:20 -0700)
commitdd2a93a814e7ffbd4d2c3e361f4609c9bd384a96
treeafd4d290b3c076f8def35d91a550935255d779a2
parent199cf8c3feec2947015da84643312790b21531cb
cxl/mem: Demarcate vendor specific capability IDs

Vendor capabilities occupy 0x8000 to 0xFFFF according to CXL 2.0 spec
8.2.8.2.1 CXL Device Capabilities. While they are not defined by the
spec, they are allowed and not "unknown". Call this detail out in the
logs to let users easily distinguish the difference.

This patch is a squash of two earlier patches and take in some minor
suggestions from both Vishal and Dan.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Link: https://lore.kernel.org/r/20210520204852.1070780-1-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core.c