cxl: Fix memdev qos_class sysfs attributes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 2 repliesIn review
- v44 patches 4 repliesSuperseded
- v33 patches 11 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
- Only update the perf sysfs groups (Dan)
- Remove unnecessary type cast (Jonathan)
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cxl: Change 'struct cxl_memdev_state' *_perf_list to single 'struct cxl_dpa_perf'drivers/ drivers/ drivers/ +1 more | +34 | 0 replies | |
| 2/4 | cxl: Remove unnecessary type cast in cxl_qos_class_verify()drivers/ | +1 | 0 replies | |
| 3/4 | cxl: Fix sysfs export of qos_class for memdevdrivers/ drivers/ drivers/ +1 more | +66 | 0 replies | |
| 4/4 | cxl/test: Add support for qos_class checkingtools/ tools/ tools/ +1 more | +70 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jonathan Cameron |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/4] cxl: Fix memdev qos_class sysfs attributes
v5:
- Only update the perf sysfs groups (Dan)
- Remove unnecessary type cast (Jonathan)
v4:
- Fix resetting of dpa_perf (Wonjae)
- Change cxl_qos_match() to return bool. (Jonathan)
- Remove unnecessary void * casting. (Jonathan)
- Replace open code with sysfs_update_groups() helper. (Jonathan)
This series provides fixes to the memdev qos_class sysfs attributes. The current code emits duplicate sysfs attribute under the same directory and the ram qos_class clobbers the pmem qos_class. Move the attributes under static definitions and allow the attributes to show up under ram and pmem directory individually.
The series also adds cxl_test support in order to allow CXL CLI add a unit test for qos_class attributes.