cxl/port: Move endpoint HDM Decoder Capability init to port driver
authorDan Williams <dan.j.williams@intel.com>
Wed, 18 May 2022 23:35:11 +0000 (16:35 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 19 May 2022 15:50:41 +0000 (08:50 -0700)
commit5e5f4ad52f33c125af9b91d4c3b7cad59c13772e
tree695cfde246ccc8a50a9150cf414d6b5806ddae1b
parent92804edb11f065aadb3a4f398bed8a846a035cd3
cxl/port: Move endpoint HDM Decoder Capability init to port driver

The responsibility for establishing HDM Decoder Capability based
operation is more closely tied to port enabling than memdev enabling
which is concerned with port enumeration. This later enables reusing
@cxlhdm for probing / controlling "global enable" for the HDM Decoder
Capability. For now, just do the nominal move.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/165291691167.1426646.7936109077255288258.stgit@dwillia2-xfh
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/mem.c
drivers/cxl/port.c