diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-12-21 15:04:11 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-12-22 15:31:53 -0800 |
commit | 86557b7edf77d2a3835136c325c8baa6fe803234 (patch) | |
tree | 133420f397d07418788cb829c3efb7a23f14807e /drivers/cxl/mem.c | |
parent | 7a4f148dd8d518bc1e012aa738b0ed6244959293 (diff) |
cxl: Store QTG IDs and related info to the CXL memory device context
Once the QTG ID _DSM is executed successfully, the QTG ID is retrieved from
the return package. Create a list of entries in the cxl_memdev context and
store the QTG ID as qos_class token and the associated DPA range. This
information can be exposed to user space via sysfs in order to help region
setup for hot-plugged CXL memory devices.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/170319625109.2212653.11872111896220384056.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/mem.c')
0 files changed, 0 insertions, 0 deletions