diff options
author | Dave Jiang <dave.jiang@intel.com> | 2024-02-06 12:03:37 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2024-02-16 23:20:34 -0800 |
commit | 00413c15068276f6e5a50215849a8d4bd812b443 (patch) | |
tree | 9f0f537772ccbd83920085209cfc6b2a77fe5043 /fs/buffer.c | |
parent | cb66b1d60c283bb340a2fc19deff7de8acea74b1 (diff) | |
download | linux-stable-00413c15068276f6e5a50215849a8d4bd812b443.tar.gz linux-stable-00413c15068276f6e5a50215849a8d4bd812b443.tar.bz2 linux-stable-00413c15068276f6e5a50215849a8d4bd812b443.zip |
cxl: Change 'struct cxl_memdev_state' *_perf_list to single 'struct cxl_dpa_perf'
In order to address the issue with being able to expose qos_class sysfs
attributes under 'ram' and 'pmem' sub-directories, the attributes must
be defined as static attributes rather than under driver->dev_groups.
To avoid implementing locking for accessing the 'struct cxl_dpa_perf`
lists, convert the list to a single 'struct cxl_dpa_perf' entry in
preparation to move the attributes to statically defined.
While theoretically a partition may have multiple qos_class via CDAT, this
has not been encountered with testing on available hardware. The code is
simplified for now to not support the complex case until a use case is
needed to support that.
Link: https://lore.kernel.org/linux-cxl/65b200ba228f_2d43c29468@dwillia2-mobl3.amr.corp.intel.com.notmuch/
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240206190431.1810289-2-dave.jiang@intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions